ManifoldGeometryOps.curvature_precompute#

t3toolbox.backend.geometry.ManifoldGeometryOps.curvature_precompute(frame, misfit_gradient, aux, curvature_damping)#
def curvature_precompute(
        self,
        frame:              typ.Tuple,                   # (D, U, L, R)
        misfit_gradient:    typ.Tuple,                   # Pi J^T omega^2 r: the model's ONE misfit transpose
        aux:                typ.Any,                     # self.precompute(frame)
        curvature_damping:  typ.Optional[float],         # RELATIVE to ||X||_HS; None -> DEFAULT_CURVATURE_DAMPING
) -> typ.Optional[ManifoldCurvatureData]:                # None iff the curvature term vanishes here (d = 1)

The per-frame curvature data of the exact Riemannian Hessian H p = Pi J^T omega^2 J Pi p + Pi L^T (K_{A^T omega^2 r} - K_{grad f}) L Pi p: the lift L’s damped factors at eps = curvature_damping * ||X||_HS (fv_lift_factors()), the misfit gradient as a doubled-rank T3 z and its inner-product sweep at the base point (the tangential term K_{grad f}), and the smallest lift singular value (a diagnostic).

None at d = 1: there every slot is at maximal rank, the representable set is open in R^N (flat), and the curvature term is exactly zero, so the work is skipped – a cost shortcut; the formula needs no special case and gives zero there numerically.

Shared (groups): the shared set is parametrized as Phi(T theta_sh), T copying each group’s factor, so its Hessian is the same formula through the TIED lift – one factor direction per group, Bdot_g = M_g^{+eps} [V_i1; ...] against aux’s stacked-S SVD (fv_tied_lift_factors()), its adjoint summing the group’s copies – with misfit_gradient the TIED gradient (what project() with aux returns), so the normal part is the shared manifold’s; hvp’s outer projection ties the result. The smallest lift singular value then reads each group’s spectrum s_g in place of its modes’ own. A zero-padded restart’s new s_g levels filter to exactly 0, so the gated tied channel gets no curvature.

Parameters:
  • frame (t3toolbox.backend.common.typ.Tuple)

  • misfit_gradient (t3toolbox.backend.common.typ.Tuple)

  • aux (t3toolbox.backend.common.typ.Any)

  • curvature_damping (t3toolbox.backend.common.typ.Optional[float])

Return type:

t3toolbox.backend.common.typ.Optional[ManifoldCurvatureData]