Global optimality depends on the allowed rank. A direction that helps when added can still be a poor replacement for the direction already fitted.

Enliang Hu’s When Is a Low-Rank Metric Update Globally Optimal?, first public November 30, gives a fixed-rank gap certificate using a convex supervision minorant. A separate trace-penalized example below makes the distinction exact.

Keep the update rank explicit

Let \(W\) be a symmetric positive semidefinite two-dimensional matrix, with \(\operatorname{rank}W\leq1\). The learned distance metric is \(I+W\), which is full rank. Only the update has a rank budget.

For any finite \(\tau\geq0\), define

\[\begin{aligned} J_\tau(W)&=\operatorname{tr}(CW)-\log\det(I+W)+h_\tau(W),\\ C&=\operatorname{diag}(2/3,5/6),\\ h_\tau(W)&=\frac{\tau}{2}\left(\operatorname{tr}W-\frac12\right)^2. \end{aligned}\]

All logarithms are natural. This quadratic supervision controls total added mass rather than a preferred direction. It is convex and smooth on symmetric matrices.

Every feasible nonzero update can be written as \(W=tv_\theta v_\theta^\top\), where \(t\geq0\) and \(v_\theta=(\cos\theta,\sin\theta)^\top\). The zero matrix is included by \(t=0\). Substitution gives

\[J_\tau(tv_\theta v_\theta^\top) =\underbrace{\frac23t-\log(1+t)+\frac\tau2(t-1/2)^2}_{f_\tau(t)} +\frac{t}{6}\sin^2\theta.\]

The angular term is nonnegative. Also,

\[f_\tau'(1/2)=0,\qquad f_\tau''(t)=\frac1{(1+t)^2}+\tau>0.\]

Thus the unique optimal update is

\[W_*=\operatorname{diag}(1/2,0),\qquad J_\tau(W_*)=\frac13-\log(3/2).\]

An exact nonnegative decomposition proves globality without an angular search. Set \(a=2(1+t)/3>0\). Then

\[J_\tau(tv_\theta v_\theta^\top)-J_\tau(W_*) =a-1-\log a+\frac\tau2(t-1/2)^2+\frac t6\sin^2\theta\geq0.\]

Equality forces \(t=1/2\) and the same one-dimensional subspace as \(e_1\). The factors \(u_*=(1/\sqrt2,0)^\top\) and \(-u_*\) represent the same matrix.

A zero certificate and a negative gradient entry

At this point \(\nabla h_\tau(W_*)=0\), so the effective tangent matrix is \(K_*=C\). The supporting problem retains the same rank budget and minimizes

\[q_C(V)=\operatorname{tr}(CV)-\log\det(I+V).\]

Its lowest-cost direction is \(e_1\). Minimizing \(2t/3-\log(1+t)\) gives \(t=1/2\) again. Consequently the paper’s gap bound specializes to

\[0\leq J_\tau(W_*)-J_{\tau,1}^* \leq\Delta_1(W_*) =q_C(W_*)-\min_{V\succeq0,\ \operatorname{rank}V\leq1}q_C(V)=0,\]

where \(J_{\tau,1}^*\) is the best value at rank at most one.

Nevertheless, the ambient matrix gradient is

\[\nabla J_\tau(W_*) =C-(I+W_*)^{-1} =\operatorname{diag}(0,-1/6).\]

That negative entry tests an additional direction. It does not contradict the zero fixed-rank gap. A rank-preserving rotation has the exact cost

\[J_\tau\!\left(\tfrac12v_\theta v_\theta^\top\right)-J_\tau(W_*) =\frac1{12}\sin^2\theta.\]

Large global curvature, zero curvature along the exchange

The paper’s Theorem 2 certifies a full-column-rank second-order stationary factor when the cutoff eigengap exceeds \(Ls\). Here \(L\) bounds the Frobenius Lipschitz constant of the supervision gradient, and \(s\) is the weakest retained mass.

For this family,

\[\nabla^2h_\tau(W)[H]=\tau\operatorname{tr}(H)I, \qquad L=2\tau.\]

The norm bound is attained by \(H=I/\sqrt2\). At \(W_*\), the eigengap is \(5/6-2/3=1/6\) and \(s=1/2\). The sufficient inequality becomes

\[\frac16>\tau.\]

At \(\tau=1\) it fails, although the exact certificate remains zero. The factor Hessian at \(u_*\) is positive definite:

\[\nabla_u^2 J_\tau(uu^\top)\big\vert_{u=u_*} =\operatorname{diag}(8/9+2\tau,1/3).\]

The global curvature bound is measuring variation in total trace. A rotation preserves trace. In the exchange direction \(E=e_1e_2^\top+e_2e_1^\top\),

\[\nabla^2h_\tau(W_*)[E,E]=\tau(\operatorname{tr}E)^2=0.\]

In fact the penalty is constant along the entire rotation. Increasing \(\tau\) can make the sufficient test arbitrarily conservative while leaving the optimum, its certificate, and every fixed-mass rotation cost unchanged.

An explicit improvement with a larger budget

Now permit rank two and set \(\tau=1\). Keep the first direction and add one eighth in the second:

\[W_+=\operatorname{diag}(1/2,1/8).\]

The linear term increases by \(5/48\). The determinant gains a factor \(9/8\), while the trace penalty increases by \(1/128\). Therefore

\[\begin{aligned} J_1(W_+)-J_1(W_*) &=\frac5{48}-\log(9/8)+\frac1{128}\\ &=\frac{43}{384}-\log(9/8)\\ &\approx-0.005803869<0. \end{aligned}\]

The sign can be proved rationally. Since \(\log(1+x)\geq x-x^2/2\) for \(x\geq0\),

\[\frac{43}{384}-\log(9/8) \leq\frac{43}{384}-\frac{15}{128} =-\frac1{192}<0.\]

This competitor need not be the best rank-two update. It already proves that the extra capacity has value.

The distinction persists for every finite \(\tau\). Adding \(\alpha>0\) in the omitted direction changes the objective by

\[D_\tau(\alpha)=\frac56\alpha-\log(1+\alpha)+\frac\tau2\alpha^2, \qquad D_\tau'(0)=-\frac16.\]

For sufficiently small positive \(\alpha\), that change is negative, even when the trace penalty is very strong.

Research judgment

An optimization stopping rule and a capacity decision should compare different feasible sets. Here a zero rank-one gap settles the first question. The improving rank-two competitor settles the second. Treating either as an answer to both would waste optimization effort or miss useful capacity.

For larger metric updates, I would track the fixed-rank gap and evaluate a separate rank-increase proposal. When curvature bounds are loose, Hessian-vector products along occupied-to-omitted exchanges can reveal whether the large bound concerns relevant directions. The trace family shows exactly why this distinction matters.

This example concerns a deterministic training objective with a specially chosen trace penalty. It does not establish predictive gains, global convergence of an arbitrary solver, or necessity of the theorem’s sufficient condition. A positive gap upper bound alone is inconclusive.

Four panels compare rotating a single metric-update direction with adding a second direction, including the zero rank-one gap, the conservative curvature inequality, and an explicit rank-two improvement.

The comic was created with AI.