Abstract
Many problems in machine learning involve bilevel optimization (BLO), including hyperparameter optimization, meta-learning, and dataset distillation. Bilevel problems consist of two nested sub-problems, called the outer and inner problems, respectively. In practice, often at least one of these sub-problems is overparameterized. In this case, there are many ways to choose among optima that achieve equivalent objective values. Inspired by recent studies of the implicit bias induced by optimization algorithms in single-level optimization, we investigate the implicit bias of gradient-based algorithms for bilevel optimization. We delineate two standard BLO methods—cold-start and warm-start—and show that the converged solution or long-run behavior depends to a large degree on these and other algorithmic choices, such as the hypergradient approximation. We also show that the inner solutions obtained by warm-start BLO can encode a surprising amount of information about the outer objective, even when the outer parameters are low-dimensional. We believe that implicit bias deserves as central a role in the study of bilevel optimization as it has attained in the study of single-level neural net optimization.
Introduction
Bilevel optimization (BLO) serves as the backbone for various sophisticated machine learning tasks, from meta-learning to dataset distillation. These problems are structured hierarchically: an "outer" task is optimized subject to the optimal solution of an "inner" task. While traditional BLO theory assumes a unique solution for the inner problem, modern machine learning models are typically overparameterized. This overparameterization creates a manifold of equivalent optima, raising a critical question: which solution does our optimization algorithm actually select? This paper explores the "implicit bias" of BLO algorithms, demonstrating that the choice of optimization strategy fundamentally dictates the properties of the final solution.
Algorithmic Frameworks: Cold-Start vs. Warm-Start
The researchers categorize gradient-based BLO into two primary strategies:
- Cold-Start BLO: For every update to the outer parameters, the inner optimization is re-initialized (typically to zero) and run to convergence. Theoretically, for quadratic problems, this approach naturally converges to the outer solution with the minimum $L_2$ distance from the initialization.
- Warm-Start BLO: The inner optimization begins from the parameters found in the previous outer iteration. While computationally efficient and common in practice, this method introduces a "memory effect."
The Role of Hypergradient Approximations
Calculating the exact hypergradient—the gradient of the outer objective—is often computationally infeasible. Practitioners instead use approximations like unrolling optimization steps or truncated Neumann series. This study reveals that these approximations are not merely noisy versions of the true gradient; they act as a spectral filter. By prioritizing high-curvature directions of the inner objective and ignoring low-curvature ones, these approximations bias the search toward specific regions of the parameter space, functioning similarly to a damped Hessian inverse or $L_2$ regularization.
Information Leakage and the Memory Effect
A significant discovery of this work is the "information leakage" inherent in warm-start BLO. Because the inner parameters are updated incrementally across outer iterations, they effectively "integrate" information from the entire trajectory of the outer parameters.
In dataset distillation, this means the inner model weights can store information that is not explicitly present in the distilled data itself. This "memory" allows the model to achieve high performance during training that does not transfer when the distilled data is used to train a new model from scratch.
Key Empirical Findings
- Generalization Discrepancy: In MNIST distillation experiments, a model trained via warm-start BLO on a single synthetic image reached 90.8% accuracy. However, when that same synthetic image was used to train a new model using a cold-start approach, the accuracy plummeted to 12.9%. This proves that the performance was driven by information leaked into the warm-started weights, not the quality of the distilled image.
- Accuracy-Norm Tradeoff: Using a novel "Anti-Distillation" regression task, the authors showed that as hypergradient approximations become more exact (increasing the number of terms in the Neumann series), the norm of the outer parameters decreases. This confirms that more accurate approximations lead to "simpler," minimum-norm solutions.
- Performance vs. Transferability: Across MNIST, FashionMNIST, and CIFAR-10, warm-start methods consistently outperformed cold-start in distillation tasks, but the resulting distilled data lacked transferability, highlighting a potential pitfall for researchers using warm-starting to save time.
Conclusion and Future Work
Implicit bias is a defining characteristic of overparameterized bilevel optimization. The choice between warm-start and cold-start, as well as the specific hypergradient approximation used, determines whether a solution generalizes or merely "leaks" information through the optimization trajectory. Future research should investigate how these biases impact other domains like Neural Architecture Search (NAS) and adversarial learning, where overparameterization is prevalent. Understanding these dynamics is crucial for developing BLO algorithms that produce truly transferable and robust solutions.
Summary updated