sharing#
Shared Tucker factors (SF-T3): the sharing partition, the tied-factors checkers, and the per-frame companion.
validate_sharing canonicalizes a per-mode label spec into the static groups form;
t3_sharing_residual / t3_tucker_factors_shared are the non-enforcing tied-factors
checkers (the safe-mode precondition behind the shared operations); t3_tie_tucker_factors
is the plain per-group mean (drift repair for nearly-tied POINTS – never the metric
projection of a tangent, which is geometry-specific and lives with the shared geometry).
fv_shared_frame_data derives the SharedFrameData companion from an
orthogonal frame – the per-group center cores and the thin SVD of the stacked S factors
that the shared geometry’s projection, retraction, and spectrum diagnostics consume.
A shared T3 is an ordinary Tucker tensor train whose Tucker factors are equal within user-specified groups of modes – the SF-ETT decomposition of Molozhavenko & Rakhuba (2026), “Optimization on the extended tensor-train manifold with shared factors” (Comput. Appl. Math. 45:221), generalized to an arbitrary partition of the modes into sharing groups. The shared-factor format originates with SF-Tucker: Peshekhonov, Arzhantsev & Rakhuba (2024), “Training a Tucker model with shared factors: a Riemannian optimization approach” (AISTATS, PMLR 238).
Classes#
The per-frame companion of the shared geometry: everything the tied projection, |
Functions#
|
Validate a sharing partition and return its canonical |
|
Normalize a |
|
The sharing groups that actually tie anything (two or more modes), in canonical order. |
|
The inverse of |
|
Non-enforcing check of the shared-factors property, per stack element. |
|
True (per stack element) where the Tucker factors are tied within every sharing group. |
|
Tie the Tucker factors exactly, by per-group arithmetic averaging. |
|
The uniform twin of |
|
Derive the shared-geometry companion from an orthogonal frame. |
|
The tied post-pass of the shared MANIFOLD geometry: orthogonally project gauged Tucker |
|
Recover each group's common gauged ambient direction |
|
The tied post-pass of the shared COREWISE geometry: orthogonally project raw core |
|
How far a tangent's coordinates are from the TIED tangent subspace, per stack element. |
|
The uniform twin of |
|
True (per stack element) where the MASKED Tucker factors are tied within every sharing group -- |
|
The uniform twin of |
|
The uniform twin of |
|
The uniform twin of |
|
The uniform twin of |
|
Non-enforcing check that edge weights are COMPATIBLE with a sharing partition, per stack |
|
True (per stack element) where the Tucker weights are equal within every sharing group -- |
|
The uniform twin of |
|
True (per stack element) where the MASKED Tucker weights are equal within every sharing |