Rank-One Proximal Quasi-Newton Optimizer
Implementation & benchmark of arXiv:2608.25557 — A Decomposed Bilevel Search for Variable-Metric Proximal Gradient Methods
Source paper: A Decomposed Bilevel Search for Variable-Metric Proximal Gradient Methods arXiv:2608.25557 ⓘ · analyzed Aug 29, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Replace the diagonal preconditioner of a proximal-gradient or Adam-like optimizer with a positive diagonal-plus-rank-one metric. The resulting proximal update can be computed using only the existing diagonal-metric proximal operator plus a one-dimensional monotone root solve, allowing low-rank curvature information without forming or factorizing a dense Hessian.
Formulas
Mathematical statement
The paper factors a variable metric as $X=D+uv^{\top}$ and uses the induced inverse metric $B^{-1}=XX^{\top}$, recovering zero-memory DFP/BFGS-type Broyden metrics. For an implementable symmetric rank-one adaptation, let $M=D+\rho aa^{\top}$, where $D=\operatorname{diag}(d_1,\ldots,d_d)$ with $d_i>0$, $a\in\mathbb{R}^d$, and $\rho\geq0$. Given a proximal-gradient point $z$ and convex regularizer $h$, define the diagonal-metric proximal map $P_D(w)=\arg\min_x h(x)+\tfrac12\|x-w\|_D^2$, where $\|r\|_D^2=r^{\top}Dr$. The rank-one metric proximal point $x^+=\arg\min_x h(x)+\tfrac12(x-z)^{\top}M(x-z)$ satisfies $x^+=P_D(z-D^{-1}a q)$ for a scalar $q$ solving the residual equation $r(q)=q-\rho a^{\top}(P_D(z-D^{-1}a q)-z)=0$. This follows from the optimality inclusion $0\in\partial h(x^+)+D(x^+-z)+a q$, with $q=\rho a^{\top}(x^+-z)$. For convex $h$ and $\rho\geq0$, the residual is monotone, so safeguarded bisection or secant iteration is stable. The metric inverse needed for the gradient step is available from Sherman-Morrison: $M^{-1}=D^{-1}-\frac{\rho D^{-1}aa^{\top}D^{-1}}{1+\rho a^{\top}D^{-1}a}$.
Implementation notes
Integrate this into a proximal-gradient optimizer for a neural network with parameter vector $\theta$. Use the smooth loss $f(\theta)$, regularizer $h(\theta)$, diagonal metric $D=\operatorname{diag}(d)$, rank-one direction $a$, and nonnegative rank coefficient $\rho$. At iteration $t$, compute $g=\nabla f(\theta_t)$ and form the preconditioned gradient point $z=\theta_t-M^{-1}g$, using the Sherman-Morrison formula above. Then solve the proximal update: (1) initialize $q$ from the previous iteration's root; (2) evaluate $x(q)=P_D(z-D^{-1}a q)$ with the existing diagonal proximal kernel; (3) evaluate $r(q)=q-\rho a^\top(x(q)-z)$; (4) bracket a sign change by expanding an interval around the warm start; (5) run 5--20 bisection or safeguarded secant steps; and (6) set $\theta_{t+1}=x(q)$. For group lasso, implement the diagonal proximal map blockwise; for an arbitrary structured penalty, call its ordinary diagonal-metric proximal routine. Estimate $d_i$ from Adam's second-moment accumulator or RMSProp, clipped to $[d_{\min},d_{\max}]$. Obtain $a$ from recent curvature, for example $s=\theta_t-\theta_{t-1}$ and $y=g_t-g_{t-1}$ with $a=y/(\|y\|_2+\varepsilon)$; choose $\rho=\max(0,(s^\top y)/(s^\top s+\varepsilon)-\bar d)$ and clip it to preserve conditioning. The exact mathematical components are the residual solve and Sherman-Morrison inverse; the diagonal estimator, clipping, and rank-one refresh frequency are empirical. First test a 2-layer MLP on MNIST or CIFAR-10 with group-lasso or synthetic block sparsity, comparing diagonal proximal gradient, AdamW, and an L-BFGS-style baseline at equal forward/backward FLOPs. Record loss decrease per step, wall-clock time, validation accuracy, number of proximal evaluations, and residual $|r(q)|$. Success means faster loss descent or stronger structured sparsity at equal compute without divergence; target 10--20% fewer iterations than the diagonal method with less than 10% proximal overhead.
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 rank-one proximal-gradient optimizer with Sherman–Morrison preconditioning, exact diagonal-metric group-lasso proximal evaluation, safeguarded bisection for the rank-one residual, and a synthetic block-sparse regression benchmark. The math check was successful: root residual 1.87e-16, direct proximal-solution max error 1.35e-7, and Sherman–Morrison identity error 3.33e-15. In the benchmark the idea reached objective 7.19 versus baseline 11.16, but required 8.26 s versus 0.77 s and selected the same 10 active groups; therefore the lower objective was not an efficiency or sparsity win.
- Agent confidence
- 9/10
- Baseline
- final objective 11.1612; objective at step 30 10.8749; 0.766 s; 10 active groups; no rank-one root solves
- Idea
- final objective 7.1905; objective at step 30 4.1682; 8.255 s; 10 active groups; mean root residual 3.74e-4, max 8.60e-4
Limitations: Only a small synthetic convex group-sparse regression problem was tested, not an MLP, MNIST, AdamW, L-BFGS, equal-FLOP neural-network training, or multiple random seeds. The benchmark's rank-one method used repeated exact scalar solves, so its computational overhead was not optimized.
How to run: python3 run_experiment.py
Verdict computed by deterministic test code from paired-seed statistics — not by the language model.
Artifacts
- report.md 1.4 KB View
- results.json 0.9 KB View Raw
- run_experiment.py 6.0 KB View Raw