Memory-Efficient Gradient Unrolling for Large-Scale Bi-level Optimization
Not on the map. Why?
Abstract (arXiv)
Bi-level optimization (BO) has become a fundamental mathematical framework for addressing hierarchical machine learning problems. As deep learning models continue to grow in size, the demand for scalable bi-level optimization solutions has become increasingly critical. Traditional gradient-based bi-level optimization algorithms, due to their inherent characteristics, are ill-suited to meet the demands of large-scale applications. In this paper, we introduce Forward Gradient Unrolling with Forward Fradient, abbreviated as (FG)2U, which achieves an unbiased stochastic approximation of the meta gradient for bi-level optimization. (FG)2U circumvents the memory and approximation issues associated with classical bi-level optimization approaches, and delivers significantly more accurate gradient estimates than existing large-scale bi-level optimization approaches. Additionally, (FG)2U is inherently designed to support parallel computing, enabling it to effectively leverage large-scale distributed computing systems to achieve significant computational efficiency. In practice, (FG)2U and other methods can be strategically placed at different stages of the training process to achieve a more cost-effective two-phase paradigm. Further, (FG)2U is easy to implement within popular deep learning frameworks, and can be conveniently adapted to address more challenging zeroth-order bi-level optimization scenarios. We provide a thorough convergence analysis and a comprehensive practical discussion for (FG)2U, complemented by extensive empirical evaluations, showcasing its superior performance in diverse large-scale bi-level optimization tasks. Code is available at https://github.com/ShenQianli/FG2U.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 53 of its 76 references that are in the map. First posted on arXiv 20 Jun 2024.
Builds on
53 of 76 references.
References · 53
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2021Zero-Shot Text-to-Image Generationcited by 4,288
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2018DARTS: Differentiable Architecture Searchcited by 1,798
- 2016Neural Architecture Search with Reinforcement Learningcited by 1,499
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
- 2018On First-Order Meta-Learning Algorithmscited by 1,018
- 2013An Empirical Investigation of Catastrophic Forgetting in Gradient-Based Neural Networkscited by 722
- 2016Learning to learn by gradient descent by gradient descentcited by 620
38 more
- 2019Meta-Learning with Implicit Gradientscited by 525
- 2020Dataset Condensation with Gradient Matchingcited by 516
- 2018Bilevel Programming for Hyperparameter Optimization and Meta-Learningcited by 405
- 2015Gradient-based Hyperparameter Optimization through Reversible Learningcited by 360
- 2023Fine-Tuning Language Models with Just Forward Passescited by 345
- 2019Optimizing Millions of Hyperparameters by Implicit Differentiationcited by 304
- 2017Empirical Analysis of the Hessian of Over-Parametrized Neural Networkscited by 290
- 2021Physics-informed neural networks with hard constraints for inverse designcited by 280
- 2018Approximation Methods for Bilevel Programmingcited by 236
- 2017Forward and Reverse Gradient-Based Hyperparameter Optimizationcited by 234
- 2021Mind the Gap: Assessing Temporal Generalization in Neural Language Modelscited by 230
- 2013Optimal rates for zero-order convex optimization: the power of two function evaluationscited by 198
- 2018Truncated Back-propagation for Bilevel Optimizationcited by 190
- 2021Towards Continual Knowledge Learning of Language Modelscited by 174
- 2020A Primer on Zeroth-Order Optimization in Signal Processing and Machine Learningcited by 162
- 2016Eigenvalues of the Hessian in Deep Learning: Singularity and Beyondcited by 159
- 2017A Review on Bilevel Optimization: From Classical to Evolutionary Approaches and Applicationscited by 129
- 2023Dataset Distillation: A Comprehensive Reviewcited by 127
- 2022StreamingQA: A Benchmark for Adaptation to New Knowledge over Time in Question Answering Modelscited by 126
- 2020MetaPoison: Practical General-purpose Clean-label Data Poisoningcited by 120
- 2022Privacy for Free: How does Dataset Condensation Help Privacy?cited by 120
- 2024Revisiting Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning: A Benchmarkcited by 114
- 2018Zeroth-Order Stochastic Variance Reduction for Nonconvex Optimizationcited by 111
- 2022BOME! Bilevel Optimization Made Easy: A Simple First-Order Approachcited by 105
- 2023A Fully First-Order Method for Stochastic Bilevel Optimizationcited by 100
- 2023On Penalty-based Bilevel Gradient Descent Methodcited by 87
- 2020A Generic First-Order Algorithmic Framework for Bi-Level Programming Beyond Lower-Level Singletoncited by 79
- 2021Revisiting and Advancing Fast Adversarial Training Through The Lens of Bi-Level Optimizationcited by 76
- 2022Gradients without Backpropagationcited by 73
- 2015Scalable Gradient-Based Tuning of Continuous Regularization Hyperparameterscited by 71
- 2022Scaling Forward Gradient With Local Lossescited by 65
- 2021A Value-Function-based Interior-point Method for Non-convex Bi-level Optimizationcited by 60
- 2022Advancing Model Pruning via Bi-level Optimizationcited by 56
- 2023Meta-Learning Online Adaptation of Language Modelscited by 43
- 2024Online Adaptation of Language Models with a Memory of Amortized Contextscited by 35
- 2022Bi-level Physics-Informed Neural Networks for PDE Constrained Optimization using Broyden's Hypergradientscited by 17
- 2023Making Scalable Meta Learning Practicalcited by 17
- 2020Zeroth-order Deterministic Policy Gradientcited by 9
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2024: 1; 2025: 8; 2026: 2.
11 papers.
- 2024EraseAnything: Enabling Concept Erasure in Rectified Flow Transformerscited by 95
- 2025VisMem: Latent Vision Memory Unlocks Potential of Vision-Language Modelscited by 37
- 2025Revisiting Zeroth-Order Optimization: Minimum-Variance Two-Point Estimators and Directionally Aligned Perturbationscited by 11
- 2025Scalable Meta-Learning via Mixed-Mode Differentiationcited by 4
- 2025On the Optimal Construction of Unbiased Gradient Estimators for Zeroth-Order Optimizationcited by 2
- 2025Memory-Efficient LLM Training by Various-Grained Low-Rank Projection of Gradientscited by 1
- 2025Bridging Constraints and Stochasticity: A Fully First-Order Method for Stochastic Bilevel Optimization with Linear Constraintscited by 1
- 2026Efficient Bilevel Optimization with KFAC-Based Hypergradientscited by 1
- 2025End-to-End Dialog Neural Coreference Resolution: Balancing Efficiency and Accuracy in Large-Scale Systemscited by 0
- 2025Heterogeneous Self-Supervised Acoustic Pre-Training with Local Constraintscited by 0
- 2026Bilevel Optimization of Topology and Hyperparameters (BOTH)cited by 0
- 2026Bilevel Optimization of Topology and Hyperparameters (BOTH)18 Sep 2026
- 2026Efficient Bilevel Optimization with KFAC-Based Hypergradients31 Mar 2026
- 2025VisMem: Latent Vision Memory Unlocks Potential of Vision-Language Models14 Nov 2025
- 2025Bridging Constraints and Stochasticity: A Fully First-Order Method for Stochastic Bilevel Optimization with Linear Constraints13 Nov 2025
- 2025Revisiting Zeroth-Order Optimization: Minimum-Variance Two-Point Estimators and Directionally Aligned Perturbations22 Oct 2025
- 2025On the Optimal Construction of Unbiased Gradient Estimators for Zeroth-Order Optimization22 Oct 2025
- 2025Heterogeneous Self-Supervised Acoustic Pre-Training with Local Constraints27 Aug 2025
- 2025Memory-Efficient LLM Training by Various-Grained Low-Rank Projection of Gradients3 May 2025
- 2025Scalable Meta-Learning via Mixed-Mode Differentiation1 May 2025
- 2025End-to-End Dialog Neural Coreference Resolution: Balancing Efficiency and Accuracy in Large-Scale Systems8 Apr 2025
- 2024EraseAnything: Enabling Concept Erasure in Rectified Flow Transformers29 Dec 2024