Abstract
Bi-Level Optimization (BLO) is a critical framework for modern machine learning tasks like hyperparameter optimization and meta-learning, yet it remains computationally expensive due to its nested structure. This paper introduces BAGDC (Bilevel Alternating Gradient with Dual Correction), a framework that replaces costly nested iterations with a streamlined alternating gradient approach. By incorporating a "dual correction" variable derived from KKT conditions, BAGDC provides the first unified convergence guarantees for a one-step bilevel algorithm, achieving speedups of over 10x while maintaining theoretical correctness.
Introduction: The Efficiency Bottleneck in BLO
Bi-Level Optimization involves an Upper-Level (UL) task that depends on the solution of a Lower-Level (LL) task. Standard Gradient-based BLO (GBLO) methods are notoriously slow because they require solving the LL problem to high accuracy at every UL step. While "naive" one-step accelerations exist, they often converge to mathematically incorrect solutions. The core challenge addressed here is achieving extreme speed without sacrificing convergence or theoretical rigor.
The BAGDC Framework
The authors reformulate BLO as a single-level optimization problem with equality constraints by replacing the LL minimization requirement with its first-order optimality condition.
The key innovation is the introduction of a dual multiplier ($v$), which acts as a correction term. Instead of differentiating through a long path of LL iterations, BAGDC updates $v$ alongside the UL and LL variables in an alternating fashion.
The algorithm uses an aggregation function $\psi_\mu$—a weighted combination of UL and LL objectives—to guide the search, ensuring the method remains "self-governed" and naturally moves toward a KKT stationary point.
Theoretical Insights: Avoiding the "One-Step" Trap
A major contribution of this work is identifying the "One-Step Trap." The authors demonstrate through a synthetic counter-example that simply taking one gradient step in the lower level (a common heuristic) can lead to points that are not even stationary points of the original problem. BAGDC avoids this by using the dual correction variable to decouple the updates, allowing the UL variable to move immediately and accurately.
Experimental Results and Scalability
BAGDC was evaluated on tasks including data hyper-cleaning (Fashion-MNIST) and few-shot learning (DoubleMNIST).
Massive Speedups and High-Dimensional Scaling
In the data hyper-cleaning task, BAGDC reached target accuracy in 2.92 seconds, significantly outperforming standard methods like RHG (41.47s) and Conjugate Gradient (19.72s). Furthermore, BAGDC demonstrates superior scalability. Under a fixed time limit, it can solve problems with dimensions in the tens of thousands, whereas traditional nested methods are limited by the computational cost of Hessian-vector products.
Conclusion
BAGDC represents a significant step forward in making Bi-Level Optimization practical for large-scale AI. By bridging the gap between one-step heuristics and rigorous nested methods through KKT-based dual correction, it offers a fast, scalable, and theoretically sound alternative. Future work may address the non-monotonic nature of its convergence and explore applications in tri-level optimization.
Summary updated