Your Hypergradient is Skewed: Antithetic Neumann Estimation for Bilevel Optimization
Abstract
Bilevel optimization is a core tool in practical machine learning workflows, including hyperparameter tuning, data reweighting, robust learning, reinforcement learning, and imbalanced classification. Hypergradient computation requires the inverse of the inner Hessian, typically estimated via a truncated Neumann series. While existing analyses focus on bias and variance, we show that the product structure of the Neumann series introduces a third source of error: skewness. We identify that, unlike ordinary gradients, whose asymmetry is suppressed by mini-batch averaging, the Neumann estimator amplifies skewness across factors, with the third-moment error growing, under weak contraction, with truncation depth, inner condition number, and per-factor noise asymmetry. This arises in many practical settings such as corrupted labels, outliers, heterogeneous or class-imbalanced datasets. To address this, we introduce the Antithetic Neumann Estimator (ANE), which pairs each Hessian sample with a mirrored counterpart around a reference Hessian and averages the resulting inverse-Hessian estimates. With an exact reference, the antithetic product retains only even-order noise, eliminating all odd-order perturbation terms; with an approximate reference, the residual odd-order contribution is bounded linearly in the reference error. ANE requires only a modification of the Hessian vector step and combines with existing stochastic or variance-reduced bilevel methods. We instantiate ANE-SGD and ANE-VR, the latter adding recursive variance reduction. Across robust regression, data cleaning, offline reinforcement learning, and imbalanced classification, ANE-based methods improve on stochastic and variance-reduced baselines on every task (20 seeds each), lowering loss by 4 to 25% relative to the best baseline; the largest gains, on robust regression, are a 25% lower test loss and a 54% higher test r-squared.
Create a lesson
Metadata
- Categories
- cs.LG, math.OC
- Comments
- Accepted at NeurIPS 2026
Related papers
Curvature-Equilibrated Policy Optimization for Deep Reinforcement Learning
Shared title terminologycs.LGGang Chen
SOTS: Signature-based Optimal Transport Selection
Shared title terminologycs.LGKhalid Akhmouch, Eric Jauer
Trust-Region Optimization for Performative Prediction without Response Modeling
Shared title terminologycs.LGSiqi Du, Miaolan Xie, Roy Dong
IP-GNO: An Inductive Physics-Informed Graph Neural Operator for Automated Distribution System State Estimation
Shared title terminologycs.LGSakshi Kumar, Chhavi Jhari, Ajay Singh et al.
Low-Rank Tensor Representations for Efficient Multimarginal Optimal Transport
Shared title terminologycs.LGJohann Cl{é}ment-Cottuz, Gilles Gasso, Maxime Berar
Toward a Theoretical Understanding of Transformer Attention: Bayesian Estimation and Predictive Sufficiency
Shared title terminologycs.LGFouad B. Chedid