Tikhonov-Minimum-Norm Hypergradients
Source paper: Differentiating Minimal-Norm Solutions to Parametric Optimization Problems arXiv:2608.28899 ⓘ · analyzed Sep 1, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Replace the usual inverse-Hessian implicit hypergradient with the derivative of the minimum-norm inner solution. Compute it as the limit of derivatives of a uniquely solvable Tikhonov-regularized problem, using a decreasing damping parameter and conjugate-gradient solves. This should make bilevel training usable when the inner model is overparameterized or has flat directions.
Formulas
Mathematical statement
The bilevel problem is the outer objective \(\min_{\theta\in\Theta}\mathcal L(x^\star(\theta),\theta)\), where \(x^\star(\theta)\in\arg\min_x f(x,\theta)\). When the solution set is non-singleton, select the canonical solution \(x^\dagger(\theta):=\operatorname*{argmin}_{x\in\arg\min_z f(z,\theta)}\|x\|_2\). For \(\varepsilon>0\), Tikhonov regularization defines the unique damped solution \(x_\varepsilon(\theta):=\arg\min_x[f(x,\theta)+\frac{\varepsilon}{2}\|x\|_2^2]\). If \(H=\nabla^2_{xx}f(x_\varepsilon,\theta)\) and \(B=\nabla^2_{x\theta}f(x_\varepsilon,\theta)\), differentiating the regularized optimality condition gives \((H+\varepsilon I)D_\theta x_\varepsilon=-B\). As \(\varepsilon\downarrow0\), this converges, under the paper's uniform-range and eigenvalue-control assumptions, to the minimum-norm generalized derivative; in the linear fixed-point case the limit is \(D_\theta x^\dagger=-H^+B\), where \(H^+\) is the Moore--Penrose pseudoinverse. For nonsmooth \(f\), replace \(H\) by an admissible generalized Hessian element and use the conservative-Jacobian property: for an absolutely continuous path \(\mu\), \(\frac{d}{dt}F(\mu(t))=V\dot\mu(t)\) for every \(V\in J_F(\mu(t))\), with \(J_F\) locally bounded and having a closed graph.
Implementation notes
(1) Integration point: use this as the backward pass through an inner training or optimization layer. The inner variable \(x\) can be a small model's weights, a feature extractor, a differentiable data-cleaning vector, or learned regularization parameters; \(\theta\) is the outer hyperparameter or data-perturbation vector. Do not differentiate through every inner optimizer step. Instead, solve the inner problem, add a temporary quadratic damping term, and solve one linear system for the vector-Jacobian product needed by the outer loss. (2) Pseudocode: x = inner_solve(f(x, theta)); choose eps = eps0 * decay**outer_step but clamp it to eps_min; define the Hessian-vector product hvp(v) = grad_x(dot(grad_x(f(x,theta)), v)); define A(v) = hvp(v) + eps*v; compute b = grad_x(L_outer(x,theta)); solve A(v) = b with conjugate gradients; return hypergradient g_theta = grad_theta(L_outer(x,theta)) - grad_theta(dot(grad_x(f(x,theta)), stop_gradient(v))). This is the adjoint form of \((H+\varepsilon I)D_\theta x_\varepsilon=-B\). If the inner objective is nonsmooth, use the autodiff generalized-Hessian-vector product produced by the selected subgradient and repeat with several damping values. (3) Computed from the mathematics: the positive-definite damped operator \(H+\varepsilon I\), its stable linear solve, and the continuation limit as damping decreases. Estimated empirically: the damping schedule, CG tolerance, and whether the solution has stabilized; monitor relative changes in \(v_\varepsilon\) for \(\varepsilon,\varepsilon/2\). A practical stopping rule is ||v_eps - v_eps/2|| / (||v_eps||+1e-8) < 0.05. The method assumes the mixed derivative lies in the stable range of the generalized Hessian; detect violations through CG residuals and exploding successive estimates. (4) First experiment: use a two-layer overparameterized MLP on MNIST or CIFAR-10, with the inner objective being training cross-entropy plus a tunable data-weight or weight-decay vector and the outer objective validation cross-entropy. Compare unrolled differentiation, naive damped inverse-Hessian differentiation, and this continuation method at equal outer iterations. Measure validation loss, hypergradient cosine similarity against a long unrolled reference, CG cost, and maximum gradient norm. Success means substantially lower hypergradient variance and no divergence as width increases or weight decay approaches zero, while achieving lower validation loss at the same number of outer updates.
Verification
This idea has not been verified yet.
Verification happens in two stages: Stage 1 — a mechanism check on a toy system confirms the claimed mathematical phenomenon reproduces; Stage 2 — a benchmark implements the idea on a real (small) neural network task and compares it against a tuned baseline over 8 paired seeds with a permutation test.
Artifacts
Artifacts unavailable.