NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Generic First-Order Algorithmic Framework for Bi-Level Programming Beyond Lower-Level Singleton

Risheng Liu, Pan Mu, Xiaoming Yuan, Shangzhi Zeng, Jin Zhang

Introduction

Bi-Level Programming (BLP) is a powerful mathematical tool for machine learning tasks like meta-learning and hyper-parameter optimization. However, existing gradient-based methods rely on an unrealistic assumption: that the lower-level optimization problem has a single, unique solution. This paper introduces Bi-level Descent Aggregation (BDA), a novel algorithmic framework that drops this restrictive "Lower-Level Singleton" (LLS) assumption by aggregating gradient information from both optimization levels. BDA not only provides rigorous convergence guarantees in non-singleton scenarios but also empirically outperforms existing methods in hyper-parameter tuning and few-shot learning tasks.

The Problem with the Lower-Level Singleton (LLS) Assumption

Many modern machine learning problems are inherently hierarchical and can be framed as Bi-Level Programs (BLPs). For example, in hyper-parameter optimization, the "upper-level" (UL) task is to minimize validation loss by tweaking hyper-parameters, while the "lower-level" (LL) task is to minimize training loss by updating model weights given those hyper-parameters.

To solve BLPs, researchers typically use gradient-based First-Order Methods (FOMs). However, the theoretical guarantees for these existing methods (like Reverse Hyper-Gradient) hinge on the Lower-Level Singleton (LLS) assumption. LLS dictates that for any fixed upper-level variable, the lower-level problem must have exactly one unique optimal solution. In practice, this requires the lower-level objective to be strongly convex—a condition almost never met in complex, real-world deep learning models. If the LLS assumption is violated, standard bi-level FOMs can easily converge to completely incorrect solutions.

Method: Bi-level Descent Aggregation (BDA)

To bypass the restrictive LLS assumption, the authors propose BDA. Instead of treating the lower-level problem in isolation, BDA approaches the BLP from an optimistic bi-level viewpoint. If there are multiple valid solutions to the lower-level problem, the algorithm should actively seek the one that also minimizes the upper-level objective.

To achieve this, BDA modifies the iterative update step for the lower-level variable. Standard methods only use the gradient of the lower-level objective to update the lower-level variable. BDA, however, aggregates the descent directions of both the UL and LL objectives.

  • The Update Rule: At each step, BDA updates the lower-level variable using a weighted combination of the upper-level gradient and the lower-level gradient, controlled by an aggregation parameter $\alpha_k$.
  • Theoretical Recipe: The authors develop a new mathematical proof recipe using variational analysis to rigorously prove that BDA converges to the true optimal solution even when the lower-level problem has multiple solutions.

Key Insights

  • The Danger of LLS: The authors' synthetic counter-example explicitly proves that blindly applying standard bi-level gradient methods to non-strongly convex problems isn't just theoretically unsound—it practically drives the model toward incorrect limiting points.
  • Upper-Level Guidance is Key: When a lower-level problem has multiple optimal solutions (a flat valley in the loss landscape), standard methods wander blindly. By injecting the upper-level gradient into the lower-level update, BDA effectively uses the upper-level objective as a compass to navigate the flat valley toward the globally optimal joint solution.

Results

The authors evaluated BDA on a mix of synthetic and real-world benchmarks, demonstrating its superiority over existing methods.

Synthetic Benchmark: The authors designed a custom 2D mathematical counter-example lacking a unique lower-level solution. BDA successfully converged to the true optimal solution, whereas the baseline Reverse Hyper-Gradient (RHG) method failed entirely, regardless of initialization.

Convergence comparison on the synthetic benchmark showing BDA successfully reaching the optimal solution while RHG fails.

Hyper-parameter Optimization (MNIST): BDA consistently achieved the highest accuracy in a data hyper-cleaning task. With 800 lower-level iterations, BDA reached 90.86% accuracy, outperforming RHG (90.15%) and Truncated-RHG (89.99%).

Meta-Learning (Omniglot & MiniImageNet): On the challenging MiniImageNet 5-way 1-shot task, BDA achieved 49.08% accuracy, beating RHG (48.89%) and T-RHG (47.67%). Furthermore, BDA reached its optimal accuracy much faster, requiring only 2,500 UL iterations compared to RHG's 3,300.

Limitations and Future Work

  • Hyper-parameter Sensitivity: The success of BDA relies on the aggregation parameter $\alpha_k$, which balances the upper and lower-level gradients. While the authors introduce an adaptive decay strategy ($\alpha_k = 0.9/k$) that works well in practice, tuning this schedule for new, highly complex tasks may require empirical effort.
  • Non-Smooth Objectives: The core paper assumes smooth, differentiable objectives. However, the BDA framework is flexible enough to handle non-smooth lower-level objectives (e.g., L1 regularization) by incorporating proximal operation-based iterative modules, which is a promising direction for future applied research.

Summary updated

BibTeX
@inproceedings{liu2020generic,
  author = {Risheng Liu and Pan Mu and Xiaoming Yuan and Shangzhi Zeng and Jin Zhang},
  title = {{A Generic First-Order Algorithmic Framework for Bi-Level Programming Beyond Lower-Level Singleton}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
  url = {https://openreview.net/forum?id=QDXmlUtvDM},
}
Figure