A complete pointwise theory of when the induced metric can convert a non-convex loss into a geodesically convex one. The Riemannian Hessian is (Hess_g L)_ij = (H_ij - C_ij)/(1 + ξ‖∇L‖²_γ), where C_ij = Γ^k_ij(γ)·∇_k L is a curvature correction depending on ∇γ and ∇L but not on H. Three-level hierarchy: (1) constant γ gives C ∝ H — eigenvalue signs are preserved, saddles cannot be fixed; (2) scalar γ = e^s I gives trace-constrained C (tr(C) = 0 in 2D), which can fix asymmetric saddles but not symmetric ones; (3) diagonal γ = diag(e^{s_i}) gives unrestricted C via exponential anisotropy ratios e^{s_i - s_j}, enabling sign-flipping for all N. The diagonal-N theorem is constructively proved via a Gershgorin argument and formally verified in Lean 4 (zero sorry). A universal critical-point obstruction (C ∝ ∇L vanishes at saddles) precludes global geodesic convexity for any function with stationary points, but the geodesic convexity basin around any minimum can be dramatically enlarged beyond the Euclidean convexity basin (demonstrated on the quartic well, four disconnected basins merge into one). The optimal correction has anti-correlation structure (∇s_i with sign opposite to H_ii) which motivates the curvature-aware diagonal variant.
A function is geodesically convex with respect to a Riemannian metric if its Riemannian Hessian is positive semidefinite at every point. A geodesic in this context is the shortest path between two points measured using , equivalently a curve whose tangent vector is parallel-transported along itself. Geodesically convex functions are the Riemannian analogue of convex functions: they have no saddle points and no spurious local minima, and every local minimum is the global minimum. This entry asks when the induced metric from a loss embedding can make a non-convex loss geodesically convex.
The induced metric arising from the loss embedding with ambient metric has the form
where and is a positive-definite matrix field on parameter space. The Riemannian Hessian of with respect to has the closed form
where is the ordinary Euclidean Hessian, , and
is what we call the curvature correction. The full derivation of this formula is in Appendix A, which also defines the Christoffel bracket and Christoffel symbols used throughout. The denominator is strictly positive, so the eigenvalue sign structure of is determined entirely by .
The point of this entry is the structure of . It depends on the spatial derivatives of and on the gradient , but not on . The correction has its own eigenvalue structure, independent of the Hessian. If can be chosen so that cancels the negative eigenvalues of , the function becomes geodesically convex.
The three levels of the hierarchy below correspond to three families of induced-metric optimizers. The fixed variant has constant. The learnable scalar variant has for a single scalar function . The learnable diagonal variant has for independent scale functions. Each level adds degrees of freedom to , and we will see exactly what that unlocks.
Sign convention for . Throughout this entry, parameterises the metric directly: increasing increases the metric weight in direction , and therefore decreases the parameter step in that direction. The learnable diagonal entry parameterises the inverse metric instead (), so its has the opposite sign: increasing in that entry's convention means stronger preconditioning and a larger step in direction . The underlying object (the Newton preconditioner) is the same in both entries; the formulas look opposite because they parameterise opposite things. When transferring a formula across, substitute .
One note on dimension. In neural-network applications, (the number of parameters) is huge, typically in the millions or billions. The two-dimensional examples we use below are pedagogical, because two is the smallest dimension in which a saddle point exists and the algebra is fully transparent. The general- statements appear afterwards.
The Riemannian Hessian is a (0, 2)-tensor and its eigenvalues with respect to are coordinate-independent quantities, so the analysis below is genuinely geometric and not an artifact of coordinate choice.
When is constant, all its derivatives vanish. The full induced metric still has non-zero Christoffel symbols, because the piece depends on , but the calculation in Appendix A gives them in a special form,
Contracting with ,
The correction is proportional to itself. Substituting into the Riemannian Hessian formula,
The Riemannian Hessian equals the Euclidean Hessian multiplied by a positive scalar in . Concretely, if has eigenvalues with eigenvectors , then has the same eigenvectors with eigenvalues . The signs are preserved, the eigenvectors are preserved, and only the magnitudes are uniformly rescaled. A saddle remains a saddle and a bowl remains a bowl. The fixed induced metric provides adaptive curvature damping but zero curvature correction.
The same conclusion holds for the fixed symmetric off-diagonal extension of the ambient metric (constant coupling vectors ; see the off-diagonal metric variant). The Christoffel bracket factorises the same way and the Riemannian Hessian remains a scalar multiple of . The asymmetric case () does not yield a Riemannian metric in the first place and is treated separately in the off-diagonal entry as a non-symmetric preconditioner. The full derivation is in Appendix B.
Set for a single scalar function , the learnable scalar variant. The metric scales every direction by the same factor , but the factor varies in space. This is a conformally flat metric. Its Christoffel symbols are the classical conformal expression,
The derivation in our general framework is given in Appendix A. Contracting with ,
The correction is a symmetric rank-2 outer product (the first two terms) plus a scalar multiple of the identity (the third term).
Take the trace of , that is, sum the diagonal entries. The diagonal of has . Summing over ,
This is direct bookkeeping from the explicit formula for , without further assumption. It is a standard consequence of conformal geometry: the trace of the correction is fixed by the dimension and by the inner product of with the gradient. In two dimensions (), the trace is identically zero, regardless of how cleverly varies in space. The conformal correction is trace-free in two dimensions. The metric can redistribute eigenvalues but cannot change their sum. We refer to this as the trace constraint, with the understanding that it is a hard algebraic identity in and not an inequality.
Consider two two-dimensional examples.
For the asymmetric saddle at , the Euclidean Hessian is with . Since , redistributing the eigenvalues to would give , which is positive definite. Choosing gives exactly , and the Riemannian Hessian is times the positive scalar . Geodesic convexity is achieved.
For the symmetric saddle at , the Euclidean Hessian is with . Since and a real symmetric matrix with zero trace must have at least one non-positive eigenvalue, strict geodesic convexity is impossible for the scalar metric here at any choice of .
So in two dimensions the scalar metric can fix saddles where positive curvature dominates () but cannot fix symmetric or negative-dominant saddles.
For the trace identity becomes , which is no longer identically zero (it vanishes only when ). The hard trace obstruction is gone, and the scalar metric can in principle shift the sum of eigenvalues. The scalar metric is nonetheless still limited in higher dimensions, for a different reason.
The scalar metric has free parameters (the components for ). The condition that be positive definite involves controlling all entries of a symmetric matrix. For , the scalar metric is under-determined: it has fewer knobs than constraints. This is not a proof that it always fails, but it does mean that the scalar class is highly restricted in high dimensions. It can fix specific easy Hessians, those that are a low-rank perturbation away from positive-definite, but not arbitrary ones.
A concrete example. With in , numerically optimizing over the components of using the SDP described in Section 4.4 returns a maximum value of approximately . Geodesic convexity is unattainable here, even though the trace constraint is formally lifted. The full numerical run is in the attached Mathematica notebook.
The general lesson is that the scalar learnable metric works when the Hessian is easy and the negative-eigenvalue subspace has small rank, but it lacks the degrees of freedom to handle arbitrary Hessians in high dimensions.
Since real neural-network applications have in the millions, the two-dimensional-only trace constraint is not directly the binding obstruction in practice. The under-determination is the real practical limitation, and it gets worse with .
The learnable diagonal variant replaces the single scalar with independent scale functions,
Each is its own function of all parameters. The correction now depends on the partial derivatives , one for each pair . Collect these into a matrix,
This is the Jacobian of the vector-valued function . Each column of is the gradient . The diagonal entries describe how the -th scale changes in its own coordinate direction, and the off-diagonal entries for describe cross-coupling between scales and coordinates.
The Christoffel symbols of the diagonal metric, derived in Appendix C, are non-zero in three configurations:
(a) , the "same-index" piece, with no exponential factor.
(b) for , the "cross-index" piece, with exponential anisotropy factor .
(c) and for .
All other components vanish. The factors are the key new ingredient. They did not appear in the conformal (scalar) case because there all were equal, making every .
Compute for the diagonal metric. Expanding using the cases above,
This is a sum of terms with different exponential factors . When all the are equal (the scalar case), every and the sum collapses to the clean identity of Level 1. A sanity-check derivation of this reduction is given in Appendix C. When the are free to differ, the exponential factors are independent positive numbers and no algebraic identity ties the trace to anything specific. The trace can take any real value.
So when we say "the diagonal metric breaks the trace constraint," we do not mean we have violated a real theorem. We mean that the constraint never existed for this metric class. The Level 1 trace identity is an artifact of insisting all be equal, and relaxing that uniformity removes the identity.
Once we move to the diagonal metric, the object we have freedom to choose is the Jacobian . The correction is determined as a linear function of at any fixed (with and the playing the role of constants in this fixed-point analysis). To talk about what is achievable, we need to specify what range of we allow.
Pointwise feasibility versus a global metric field. The analysis in this section and the Gershgorin construction in §4.7 treat as a free matrix at the point under consideration. For to be the Jacobian of an actual on a region, the integrability conditions
(symmetry of the Hessian of each component ) must hold. The constructions below establish pointwise first-jet feasibility: at each separately, there exists a that achieves geodesic convexity. Whether those pointwise 's can be stitched together into a smooth global metric field is a separate (and nontrivial) question that is open and not addressed here. The online learnable-diagonal optimizer in practice uses an EMA-driven that is not required to be the gradient of any global potential; the pointwise feasibility analysis is the relevant theoretical object for its local behaviour.
We impose the Frobenius-norm bound
for a budget . There are three reasons for this choice:
Frobenius is the natural Hilbert-Schmidt norm on . It treats every entry symmetrically and does not single out any coordinate direction.
is the total Dirichlet energy of the vector field . It is the standard "rate of change" measure used in calculus of variations and in regularity theory for vector fields.
The constraint is convex and quadratic. Combined with the concave objective (concave because of an affine matrix function is concave), the result is a convex semidefinite program, solvable by standard interior-point methods. Uniqueness of the optimum is not guaranteed in general (active-set ambiguities at the norm-ball boundary, eigenvalue-multiplicity issues), but the optimal value is unique and the set of optimisers is convex.
Other matrix norms would also work and give qualitatively similar results. The operator norm is the actual Lipschitz constant of ; the bound means a Frobenius bound implies a Lipschitz bound. The and norms would give similar sign-flip-vs-budget pictures with different quantitative thresholds. We picked Frobenius because it is the smoothest, the most rotation-invariant, and the cleanest for SDP.
The budget is not a free knob in deployment. In the online learnable-diagonal optimizer, the metric-learning rate controls how aggressively the metric can change per step. Combined with the parameter learning rate and the rate at which the optimizer moves through parameter space, sets the scale of that the algorithm can produce. Larger allows larger . So the budget stands in for "how much the online rule can move the metric within a single optimization step." The exact quantitative relationship between and depends on the specific rule and on the trajectory, but the qualitative correspondence is direct: doubling roughly doubles the achievable .
Return to at , with and , the case where the scalar metric provably failed. With the diagonal metric, the free variables are the four entries of .
We numerically solve
i.e., the smallest eigenvalue of the actual Riemannian Hessian rather than of the unnormalised . With and at this evaluation point, and the denominator is . Since is linear in and the denominator is constant in , the objective is a concave function of . We use Mathematica's NMinimize with the SDP backend; the notebook is attached as notebooks/sign-flip-sdp.nb.
The numerical results (Riemannian-Hessian eigenvalue, after dividing by ):
| Budget | Max of Riemannian Hessian | Sign flip |
|---|---|---|
| 0 | () | No (matches Level 0) |
| 1.5 | No | |
| 1.6 | Threshold crossed | |
| 2 | Yes | |
| 5 | Yes | |
| 10 | Yes |
At the minimum eigenvalue crosses zero. With the saddle is converted to a comfortable Riemannian bowl. This was impossible for the scalar metric at any budget.

At the optimum, has a characteristic shape: its diagonal entries are anti-correlated with . Concretely, in positive-curvature directions (shrink the metric where the loss curves up) and in negative-curvature directions (grow the metric where the loss curves down). The off-diagonal entries of are small in this two-dimensional example. This anti-correlation is the geometric mechanism that produces non-zero trace in . It also motivates the curvature-aware variant of the learnable diagonal optimizer, which adds a term to the online update rule that drives in this anti-correlated direction.
The same numerical procedure works on every saddle we tested. For the asymmetric saddle , where the scalar metric struggles because , the diagonal still flips signs at moderate . For the monkey saddle , with its position-dependent Hessian, sign-flipping still works. For the Rosenbrock function in regions of negative curvature, sign-flipping is achievable. The corresponding budget tables and optimal values are in notebooks/sign-flip-sdp.nb.
For general dimension, we can give a constructive sign-flip argument. Choose purely diagonal,
The algebra in Appendix C gives two consequences. Each diagonal entry of shifts by . The off-diagonal entries of are unchanged.
By Gershgorin's disc theorem, every eigenvalue of a matrix lies in a disc centred at one of its diagonal entries with radius equal to the corresponding off-diagonal row sum. If , where is the -th off-diagonal row sum, every Gershgorin disc lies strictly in the positive half-plane. Then , and the sign flip is achieved for arbitrary .
This argument is constructive as a pointwise existence statement (see §4.3 on pointwise feasibility versus global metric fields). It shows existence of a sign-flipping at each separately, requiring for every , and degenerating on coordinate axes where some . The pointwise produced by the construction does not in general satisfy the integrability conditions , so it cannot in general be integrated to a global ; the construction proves feasibility of the first jet, not existence of a smooth metric field. The Gershgorin construction has , which grows without bound as any . For an isotropic gradient with , the sum , so the total Frobenius budget scales as , that is overall. The budget blows up when needed directions have small gradient components, which is when sign-flipping is structurally hardest.
The sign-flip results were verified numerically in Mathematica for on diagonal Hessians with random off-diagonal perturbations. The notebook notebooks/sign-flip-sdp.nb contains the full code and the eigenvalue tables.
| Level | Metric | Correction | Trace identity | What it can fix |
|---|---|---|---|---|
| 0 (constant) | constant | Nothing; eigenvalue signs preserved | ||
| 0+ (fixed off-diag, ) | const + fixed symmetric | Nothing (symmetric off-diagonal case only; the asymmetric case adds a non-scalar correction whose general analysis is open, see Appendix B) | ||
| 1 (scalar) | Rank-2 + scalar | , identically zero in 2D | 2D: only saddles with . High-: under-determined | |
| 2 (diagonal) | free entries (the Jacobian ); no algebraic identity | Unrestricted | All saddles in principle, for arbitrary |
Each level strictly contains the previous. Setting all equal in the diagonal case recovers scalar, and setting constant recovers fixed. The hierarchy gives a geometric explanation for the empirical performance ordering of induced-metric variants: the variants with richer curvature-correction capability outperform those without, holding implementation cost constant.
Look again at . Every term contains a factor of for some . At any critical point where , we have , so
regardless of the metric . The proof is one line: kills the contraction, and the denominator equals 1.
Global geodesic convexity is impossible for any loss function with a saddle point. At the saddle, the Riemannian Hessian equals the indefinite Euclidean Hessian, no matter what metric is chosen. This is a fundamental obstruction. The curvature-correction mechanism is most powerful in the bulk and powerless exactly at saddles, where one might most want it to act.
Three things soften the obstruction.
First, optimizers rarely hit exact critical points. Iterates approach saddles asymptotically but generically never land on them, and stochastic noise further prevents it. The obstruction applies to a measure-zero set.
Second, the correction grows linearly with . Near a saddle , , so . The correction weakens as the optimizer approaches the saddle, but the optimizer's velocity decreases in step. What matters is the ratio.
Third, the useful question becomes basin enlargement, not global convexity. The next section makes "the obstruction applies to a measure-zero set" quantitative: the failure region at correction budget is contained in tubes of radius around each non-minimum critical point.
Section 6.1 is a measure-zero negative statement. Its quantitative complement, which characterises how fast the obstruction decays as the optimizer moves away from a saddle, is the main result of this subsection. The failure region of the attainable sign flip shrinks linearly with the correction budget.
Define the attainable geodesic-convexity basin at budget ,
At each critical point of a Morse loss, let
denote the spectral gap and the Gershgorin deficit at . At a minimum, ; at a saddle or maximum, .
Theorem 1ʹ (-excised sign flip). Let be Morse on a bounded open set with finite critical set . Then for every correction budget ,
with the explicit estimate
In particular every as . The bound is sharp on the symmetric saddle in , where and .
The theorem is essentially the Gershgorin construction of Appendix C.2 wired through a Frobenius-budget bookkeeping and a Taylor expansion at the critical point.
Proof. Apply the diagonal-only choice from Appendix C.2. The resulting correction is , so has the same off-diagonals as and diagonal entries . By Gershgorin's disc theorem, whenever , where
is the local Gershgorin deficit. The Frobenius cost of this choice is
so the budget constraint caps . The diagonal construction succeeds when both inequalities can be simultaneously satisfied, equivalently when
This is the budget-translated sign-flip criterion.
Near , change coordinates so with all (Morse). Let , , and . Taylor expansion gives
so . Substituting into (6.3.1) gives the per-direction bound
The directional factor diverges only on the coordinate-axis null-cones (when some ), precisely the directions where the diagonal-only construction needs the cross-term lift. On those directions, replace the divergent self-derivative with a cross-derivative for a donor coordinate with . The lifted construction (Section 4.7 / Appendix C.2 extension) achieves the same shift and the lifted directional factor satisfies the uniform bound
since and . Substituting into (6.3.2) yields .
Three takeaways.
The obstruction is a fence, not a wall. Larger budget shrinks the fence linearly. Doubling halves the failure tube around each saddle. The limit recovers Section 6.1 as a measure-zero residue.
The bound is structural, not directly computable on a real network. The constants and are local to each critical point, and a real network has unknown saddle locations. What the theorem gives is the shape of the failure region (tubes of radius around the critical set), not its absolute size at a specific training run. Restricting to a bounded sublevel set is needed to control the remainder (which absorbs a factor from the Taylor expansion).
The theorem is about attainable basin coverage, not about online tracking. It says a good exists outside the -tube. Whether the EMA-based online estimator finds that in finite time is a separate question that lives in Section 8.1.
The Morse assumption is load-bearing. Degenerate critical points (e.g., the monkey saddle , where so ) make the bound diverge. The right -scaling at a degenerate critical point uses the leading nonzero coefficient of the Taylor expansion of and gives a slower decay than ; that case is not treated here.
Numerical verification on the symmetric saddle, the asymmetric saddle , and the quartic well of Section 7.1 is in notebooks/epsilon-excised-sign-flip.nb. On the symmetric saddle the predicted matches the observed failure radius along the diagonal direction to scan resolution (table reproduced below).
| (predicted) | observed | |
|---|---|---|
Around a strict local minimum with , define two basins:
Near the minimum, , so for any in the budget. In particular is feasible and gives . Therefore for every : any point at which is already positive-definite is in the attainable geodesic-convexity basin. This inclusion is about the attainable geodesic basin under optimal choice of , not about the basin produced by any particular online rule (an online rule may apply in the Euclidean basin and inadvertently push out of positive-definiteness). The interesting region is outside , where has negative eigenvalues but is non-zero. There can compensate.
A vivid example. has four minima at , saddle points at the origin and along the axes, and Hessian . The Euclidean convexity basin around each minimum extends only to . The four basins are disconnected square regions.
With the diagonal learnable metric at correction budget , the geodesic convexity basin extends almost to the axes, covering most of the domain. The four disconnected Euclidean basins merge into a single large basin that nearly fills the plane. Only small pockets of non-convexity remain near the coordinate axes, consistent with the critical-point obstruction.
The metric is redrawing the map. An optimizer using this metric can start much further from the minimum and still see a convex-looking landscape all the way down. The boundary of forms a thin layer around each saddle, with thickness in the correction budget (formalised in Theorem 1ʹ). Larger budgets push the boundary closer to the saddle but never reach it.

The pointwise theory above asks whether at a given the metric can achieve geodesic convexity. An optimizer, however, moves. Three questions extend the theory to trajectories.
At each , the optimal solves
This is the same concave semidefinite program as in Section 4.4. Solutions to smoothly parameterised concave SDPs vary upper-hemicontinuously with the parameters; full smoothness can fail not only at eigenvalue-degeneracy points but also when the active set on the norm-ball boundary switches or the optimum set is non-singleton. Adding a small Tikhonov regulariser to the objective (e.g., ) restores smoothness by making the optimum unique. An exponential moving average (EMA)-smoothed online estimator of can track the underlying to within the smoothing window, but with no guarantee of pointwise tracking through active-set transitions.
At a strict local minimum , the dynamics reduce to standard gradient descent (the denominator factor tends to 1), and the dynamics relax to (the identity metric) under regularisation. The Jacobian of the joint update at is block-triangular, because the off-diagonal blocks vanish ( kills all cross-terms). Eigenvalues of a block-triangular matrix are the eigenvalues of the diagonal blocks. Both blocks contract under standard learning-rate conditions, giving local asymptotic stability of the joint system without any requirement that the metric converge faster than the parameters.
Near a minimum, corrections are unnecessary because already; the metric correctly relaxes to identity and composition is trivially coherent.
In the non-convex bulk, the gradient is large, is strong, regularisation bounds the tracking error, and the denominator damps any aggressive deviation. Corrections compose coherently.
Near a saddle, the gradient is small, the correction weakens by the critical-point obstruction, and the geodesic convexity margin shrinks toward zero. The mechanism hands off to stochastic gradient noise for saddle escape.
The curvature correction is a bulk phenomenon, not a saddle-escape mechanism. It complements stochastic noise rather than replacing it: noise provides the perturbation to leave the saddle's neighbourhood, the metric provides the geometric correction that makes the surrounding bulk look convex.
The loss graph is a submanifold of . As a submanifold it has two kinds of curvature: intrinsic curvature, detectable by inhabitants living on the surface, captured by the Riemann tensor of the induced metric; and extrinsic curvature, describing how the surface bends in the ambient space, captured by the second fundamental form.
For the loss embedding, the second fundamental form is proportional to :
The Hessian of the loss is the shape operator of the loss surface. Via the Gauss equation, the intrinsic Riemann curvature encodes Hessian information through the second fundamental form. In two dimensions, the Gaussian curvature is
Three cases: if the Hessian has same-sign eigenvalues (bowl or dome), if is indefinite (saddle), if is singular. The qualitative structure of the Euclidean Hessian is faithfully reflected in the intrinsic geometry of the loss surface as a submanifold of the ambient space. This is why the framework feels canonical: the induced metric is not an arbitrary preconditioner choice but the natural geometric structure of the loss graph.
The theory above says the diagonal metric can convert saddles into convex bulk when the curvature correction is engaged. The natural way to engage it explicitly is to split the single metric vector into two, decoupling the role that sets the parameter step from the role that drives the correction:
The hope was that both could be pursued at once: saddle escape and geodesic convexity. The probe (saddle and weighted-saddle losses; raw runs in results/saddle/, results/weighted_saddle/, and results/decoupled_metrics_probe.json) showed no benefit. The decoupled variant produced essentially identical trajectories to the escape-only variant, for three reasons.
The fundamental issue is timescale separation: the two drives operate at timescales and . With the correction is a 10% perturbation on the base drive, and the metric clip forces both to the same saturated state. For decoupled metrics to engage, the correction must be comparable in magnitude to the base drive (), or the metric clip must be much larger, or the two metrics must run on genuinely different timescales — none of which were practical in the swept configurations.
This is the honest empirical status of the curvature mechanism. Theoretically the diagonal class flips eigenvalue signs in the bulk (Sections 4-7); at standard hyperparameter scales the correction term is swamped by the gradient-magnitude drive, and the mechanism is practically inactive as an independently controllable knob. It remains consistent with the implicit-sharpness behaviour documented in the learnable diagonal entry §9.2, which is the more durable practical signature of the same geometry.
The general Riemannian Hessian of a scalar function in coordinates is the classical expression
with and . The first term is the Euclidean Hessian; the second is the correction that accounts for the curvature of the coordinate system through the Christoffel symbols , which encode how the basis vectors twist as you move on the manifold. The Christoffel symbols of a metric are themselves built from a quantity we call the Christoffel bracket,
The bracket is a particular symmetric combination of first derivatives of . The full Christoffel symbol is obtained by contracting it with the inverse metric. The bracket is the "raw" object: it captures all the information about how the metric varies in space, and the contraction with is the rescaling needed to make transform correctly as a connection coefficient.
Applying the Riemannian Hessian formula to the induced metric requires computing . The clean factorisation
is not obvious from the formula for . Both the -part and the -part of the metric contribute to the bracket, and they combine through a Sherman-Morrison correction in the inverse metric. The derivation has two steps.
Split as and use ,
Add the first two and subtract the third. The terms reproduce the bracket of alone,
The terms simplify by pairwise cancellation. The term from cancels from , and from cancels from . What survives is . Therefore
The bracket of separates cleanly into a -part and an -part with no cross terms. This is the first non-trivial fact.
The reason this works is the special structure of the -piece of . The term depends on only through , and . So all the derivative terms that arise involve , and the cyclic combination forces them to combine into the simple product . A different non-loss-based embedding could give a more tangled bracket.
The Christoffel symbol of is , and we need its contraction with ,
The inverse metric comes from Sherman-Morrison applied to . This is applicable because is a rank-1 perturbation of :
We will need one intermediate identity. Contracting twice with ,
Now contract (A.1) with piece by piece.
From the -part of (A.1), using (A.3),
From the -part of (A.1), plug (A.2) into ,
The first piece is exactly . In the second piece, , and (twice the definition of , because the factor of is absorbed). Combining,
Adding (A.4) and (A.5),
Substituting into the Riemannian Hessian formula,
The coefficient on simplifies to , giving the boxed result
In the fixed- case, and so , recovering , a positive scalar times the Euclidean Hessian. This is the Level 0 result.
The single factor in the denominator comes from Sherman-Morrison; it is the same scalar that appears in the smooth-clipping update. The numerator splits cleanly because the -bracket has the special form , which is what allows the contraction with to factor through the scalar . The -bracket contributes the new piece that depends on but not on . That is the door to curvature correction.
Some variants of the induced metric add constant off-diagonal coupling vectors to the ambient metric, giving the pullback
with all constant. This appendix carefully computes the bracket and shows that the sign-preservation conclusion holds only in the symmetric subset . In the asymmetric case , an additional non-scalar correction appears, and the Riemannian Hessian is no longer forced to inherit the eigenstructure of .
For the calculation to make sense as a Riemannian construction, must be symmetric. Direct check: , which is nonzero whenever is not parallel to . The bracket-based machinery below applies only when (or, more loosely, when the symmetric part of is used). The non-symmetric case is treated in the off-diagonal metric entry, where it is acknowledged as a non-Riemannian preconditioner rather than a metric.
Bracket derivation for . Using and the constancy of ,
The cyclic sum from the new term is
With , the second term vanishes and the total bracket reduces to
Define . Then for constant the bracket is , the same structure as the rank-one loss embedding with replaced by . Contracting with ,
giving . The Riemannian Hessian is multiplied by a single scalar, so eigenvalue signs are preserved (or globally flipped, exchanging minima and maxima but not turning an indefinite Hessian into a definite one). Fixed off-diagonal couplings with cannot enable sign flips.
The case . When , the ambient metric is not symmetric, so the pullback is not a Riemannian metric and the Riemannian Hessian construction does not apply. The construction in this case should be analysed as a non-symmetric preconditioner (see the off-diagonal entry Section 4 for the honest framing). The bracket calculation above still produces meaningful algebraic content, however: the extra term in the cyclic sum is not of the form " times a vector contracted on ," so the analogue of the contraction in the symmetric case picks up a rank-one piece with . This term has separate row and column structure and is not proportional to . A direct generalisation of "Riemannian Hessian" to this non-Riemannian setting is not available; whether some symmetrised or "preconditioned-Hessian" eigenvalue analysis recovers a useful sign-flip statement here is open.
The factor of that comes out of the cyclic cancellation is the algebraic obstruction in the symmetric case: as long as the bracket has the form " times a vector contracted later," the Riemannian Hessian is forced to inherit the eigenstructure of unchanged. The asymmetric case breaks this factorisation but pays the price of no longer being a Riemannian construction.
For the diagonal metric , the inverse metric is , and the Christoffel bracket of alone has components
Using , so , this expands to
Each term is supported only when specific indices coincide. Combining with , the Christoffel symbols are
Case-by-case:
(i) . All three terms contribute and equal , giving .
(ii) . Only the third term survives; the matches, the others do not. . This is where the exponential anisotropy first appears.
(iii) , . Only the first term survives. .
(iv) , . Only the second term survives. (note the symmetry in the lower indices).
(v) , , . All three terms vanish; the Kronecker deltas do not match. .
Compute using the cases above,
Summing over ,
Sanity check: recover the scalar trace identity. Restrict to for all (the conformal case). Then and every , so
This matches Level 1.
Why no constraint without that restriction. In (C.1) without the conformal restriction, the exponential factors for are independent positive numbers (one for each ordered pair). Combined with the freely chosen (the entries of the Jacobian ), the right-hand side of (C.1) is a linear combination of with arbitrary positive-weighted coefficients. No algebraic identity forces it to vanish or to take a specific form. The trace is unconstrained.
With chosen as and for , every Christoffel symbol that requires off-diagonal vanishes. From case (ii), for . From cases (iii) and (iv), and for , since in this construction.
Only the same-index survives. Therefore
So , and . Each diagonal entry of shifts up by and off-diagonals are unchanged.
By Gershgorin's disc theorem, the eigenvalues of any matrix lie in discs centred at the diagonal entries with radii equal to the off-diagonal row sums. Shifting every disc centre up by while leaving the radii unchanged, for sufficiently large , every disc lies strictly in the positive half-plane. Then every eigenvalue of is strictly positive and geodesic convexity is achieved.
The construction is not minimum-budget; it is a constructive proof of existence. The actual minimum-budget is given by the SDP in Section 4.4.
The Riemannian Hessian transforms as a (0, 2)-tensor under coordinate changes. Its eigenvalues with respect to the metric (that is, the solutions of ) are coordinate-invariant scalars. The sign-flip analysis above is therefore geometrically meaningful, not an artifact of the coordinate basis we used.
A practical implication: even though the diagonal-metric class does single out the coordinate basis (it is diagonal in the parameter coordinates, not in some other basis), the questions it answers (can we achieve geodesic convexity? what is the budget threshold?) are coordinate-invariant. The choice of diagonal metric is a restriction on the class of we are willing to use, not on the geometry of the question. A different metric class would give a different feasibility region; the diagonal class is chosen for its computational tractability ( storage and update cost) rather than for any geometric reason.
Notebooks (notebooks/):
notebooks/derivations.nb: symbolic verification of the Christoffel bracket factorisation, the Sherman-Morrison contraction, the conformal trace identity, the case-by-case Christoffel symbols of the diagonal metric, and the trace formula (C.1) including the sanity-check reduction to Level 1.notebooks/sign-flip-sdp.nb: numerical SDP setup for over . Budget-vs-eigenvalue tables for the symmetric saddle, asymmetric saddle, monkey saddle, and Rosenbrock function. The scalar-failure check. Sign-flip verification on diagonal Hessians with random off-diagonal perturbations for .notebooks/basin-enlargement.nb: computation and visualisation of versus on the quartic well, including the four-basins-merge-into-one figure.notebooks/epsilon-excised-sign-flip.nb: symbolic derivation of Theorem 1ʹ (the budget-translated sign-flip criterion (6.3.1), the Taylor expansion at a Morse critical point, the cross-term lift and the uniform -bound) together with numerical verification of the predicted on the symmetric saddle (matches to scan resolution; sharp), the asymmetric saddle , and the quartic well (failure region forms thin tubes around the 4 saddles and the maximum at the origin). The algebraic core is also formalised in Lean 4 in the project repository (zero sorry, six documented axioms).Scripts (scripts/):
scripts/make_figures.py: reproduces every figure shown in this entry (PDF and PNG written to figures/).