Introduction
Bi-level optimization (BLO) is a cornerstone of modern machine learning, underpinning tasks such as hyper-parameter tuning, neural architecture search, and meta-learning. These problems are structured as nested optimization tasks: an "outer" upper-level (UL) task depends on the solution of an "inner" lower-level (LL) task. Traditionally, gradient-based methods for BLO have relied heavily on the Lower-Level Singleton (LLS) assumption, which posits that the LL problem has a unique solution for any given UL variable.
However, in deep learning, the LLS condition is frequently violated. When multiple LL solutions exist, standard methods often fail to converge to a point that optimizes the UL objective effectively. This paper introduces Bi-level Descent Aggregation (BDA), a modular framework designed to solve BLO problems without the restrictive LLS assumption by aggregating descent information from both levels.
Methodology: Bi-level Descent Aggregation (BDA)
The core innovation of BDA is its approach to updating the LL variable. Instead of solely minimizing the LL objective, BDA incorporates descent directions from both the UL and LL objectives.
The BDA Algorithm
The update rule for the LL variable ($y$) uses a weighted combination of the UL gradient ($\nabla_y F$) and the LL gradient ($\nabla_y f$). This allows the algorithm to navigate the set of LL minimizers to find the one that best serves the UL objective—an "optimistic" viewpoint of BLO.
As shown in the algorithm above, the LL update (lines 5-8) aggregates $d^F_k$ and $d^f_k$. This modular structure allows for different iterative solvers to be used for the LL update, provided they satisfy specific convergence properties. To mitigate the memory overhead of unrolling many LL iterations, the authors also propose a "one-stage" variant (O-BDA) using finite difference approximations.
Theoretical Advancements
A major contribution of this work is a unified theoretical framework that provides a "proof recipe" for analyzing various gradient-based BLO methods. Unlike previous "one-off" proofs, this framework allows for convergence analysis even when the LLS condition is absent.
The table highlights that while existing GBMs often require LLS or specific UL strong convexity, BDA provides global and local convergence results under much broader conditions, including cases without LLS or UL strong convexity.
Experimental Evaluation
The authors evaluated BDA across diverse benchmarks to demonstrate its robustness and performance.
- Synthetic Counter-Example: On a high-dimensional problem designed to fail under the LLS assumption, BDA successfully converged to the true optimum while standard methods like Reverse Hypergradient (RHG) failed.
- Data Hyper-cleaning: On MNIST and Fashion MNIST datasets, BDA (and O-BDA) outperformed existing methods like IHG and T-RHG in identifying corrupted labels, achieving higher test accuracy and F1-scores.
- Few-shot Meta-learning: BDA consistently outperformed established baselines like MAML, Meta-SGD, and Reptile on Omniglot and MiniImageNet. For instance, on 40-way 5-shot learning on Omniglot, BDA reached 97.12% accuracy, compared to MAML's 94.46%.
- Efficiency: On MiniImageNet, BDA reached target accuracy approximately 25% faster than RHG in terms of iterations.
Conclusion
The BDA framework represents a significant advancement in bi-level optimization by breaking the dependence on the LLS assumption. By explicitly aggregating UL and LL descent information, BDA provides a more robust and theoretically grounded approach for complex machine learning tasks. While multi-step LL iterations remain memory-intensive, the proposed one-stage approximation and the unified theoretical framework offer a promising path forward for large-scale non-convex optimization.
Summary updated