Lipschitz-Controlled Metric Projected Optimizer
Implementation & benchmark of arXiv:2608.05574 — Convergence Rates for Variational Inequality Projection Neural Networks with a State-Dependent Metric
Source paper: Convergence Rates for Variational Inequality Projection Neural Networks with a State-Dependent Metric arXiv:2608.05574 ⓘ · analyzed Aug 31, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Replace Euclidean projected gradient descent with a state-dependent SPD preconditioner whose inverse defines the projection metric. Spectrally clip the preconditioner and limit its step-to-step variation, using the paper's convergence conditions to prevent adaptive-metric oscillations while retaining useful curvature scaling.
Formulas
Mathematical statement
The paper defines the variational inequality VI(F,S) as finding x-bar in the closed convex set S such that <F(x-bar), x-x-bar> >= 0 for every x in S. Its Euclidean projected dynamical system is dx/dt = pi(x,-F(x)), where pi is the directional derivative of projection onto S and equals projection onto the tangent cone. Adapt this using an SPD preconditioner A(x), with inverse metric G(x)=A(x)^(-1), and weighted projection P_S^{G(x)}(z)=argmin_{y in S} 1/2 (y-z)^T G(x)(y-z). The relevant assumptions are spectral bounds aI <= A(x) <= bI, strong monotonicity <F(x)-F(y),x-y> >= mu||x-y||^2, operator Lipschitzness ||F(x)-F(y)|| <= L_F||x-y||, and metric Lipschitzness ||A(x)-A(y)||_2 <= L_A||x-y||_2. Under these conditions the paper proves local exponential convergence, and on compact feasible sets an explicit metric-variation bound gives global exponential convergence. It also constructs periodic orbits for a uniformly SPD, twice differentiable non-Hessian metric, demonstrating why eigenvalue and variation controls are necessary.
Implementation notes
1. Integration point: modify the optimizer update for a network trained under a convex constraint set S, such as an L2 parameter ball, nonnegative weights, or simplex-valued mixture/router probabilities. Let theta be the parameter vector, g_t the minibatch gradient, and A_t a diagonal SPD preconditioner. For the MVP, derive A_t from Adam's second-moment estimate but explicitly control it rather than using unconstrained Adam scaling. 2. Pseudocode: compute g_t; update v_t=beta2*v_{t-1}+(1-beta2)*g_t^2; set raw_a_t=sqrt(v_t)+epsilon; clip each coordinate to [a,b]; enforce metric variation with a_t=clip(raw_a_t, a_{t-1}(1-rho), a_{t-1}(1+rho)); form z_t=theta_t-eta*(a_t inverse elementwise)*g_t; set theta_{t+1}=argmin_{y in S} 0.5*sum_i((y_i-z_{t,i})^2/a_{t,i}), the weighted projection. For an L2 ball, solve the single Lagrange multiplier by bisection; for a simplex, use weighted simplex projection. 3. Computed from the mathematics: eigenvalue bounds a,b, the variation cap rho, and the weighted projection. Estimated empirically: strong-monotonicity proxy mu_hat=<g_t-g_{t-1},theta_t-theta_{t-1}>/||theta_t-theta_{t-1}||^2, Lipschitz proxy L_hat=||g_t-g_{t-1}||/||theta_t-theta_{t-1}||, and variation ratio ||A_t-A_{t-1}||/||theta_t-theta_{t-1}||. 4. First experiment: train a small MLP on MNIST with weights constrained to an L2 ball, comparing projected SGD, AdamW plus Euclidean projection, clipped adaptive preconditioning, and unclipped adaptive preconditioning. Match learning-rate tuning and optimizer FLOPs. Sweep rho in {0.01,0.05,0.2}. Success is faster loss descent at equal compute, lower final loss, maintained feasibility, and disappearance of persistent oscillations seen in the unconstrained-metric control. Validate the predicted dynamics separately on a strongly convex quadratic where exponential parameter-distance decay can be measured directly.
Verification
Stage 1 · Toy mechanism gate: Failed ✗
Stage 2 · Mechanism transferred to benchmark: Not tested
Stage 2 · Practical benchmark result: Not run
Methodology: Toy-system gate first; the benchmark stage runs only after a pass. How verification works
Stage 1 — Mechanism check agent confidence 9/10
Built a readable MVP with weighted L2-ball projection, Adam-derived diagonal SPD metrics, spectral clipping, step-to-step variation limiting, toy quadratic sweeps, and a constrained regression comparison. The fixed-metric contraction prediction was confirmed with maximum absolute error 1.23e-5, but the variation certificate became negative for moderate metric variation while trajectories still converged at roughly the same 0.92 ratio; no optimizer win was observed.
- Agent confidence
- 9/10
- Baseline
- Projected SGD final loss 0.0028891; Euclidean projected Adam final loss 0.0029704 and loss at step 50 0.0029704.
- Idea
- Controlled metric with rho values 0.01, 0.05, and 0.20 reached final loss 0.0029704; maximum parameter norm was 0.9990 within radius 1.25. The fixed quadratic contraction error was 1.23e-5, while state-dependent metric sweeps had observed asymptotic ratio about 0.92 despite negative sufficient certificates.
Limitations: The proposed MNIST MLP experiment was reduced to a small deterministic constrained least-squares problem. Only diagonal metrics and an L2 ball were tested; no GPU benchmark, FLOP accounting, periodic-orbit test, repeated random seeds, or broad learning-rate tuning was performed. The variation sweep tested a conservative sufficient certificate rather than directly validating a discrete-time theorem.
How to run: python3 experiment.py
Verdict computed by deterministic test code from paired-seed statistics — not by the language model.
Artifacts
- experiment.py 5.5 KB View Raw
- report.md 1.6 KB View
- results.json 4.4 KB View Raw