mlsanityData to 7 Oct 2026

A Fully First-Order Layer for Differentiable Optimization

arXiv 2512.02494 ↗First posted 2 Dec 2025cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

Differentiable optimization layers enable learning systems to make decisions by solving embedded optimization problems. However, computing gradients via implicit differentiation requires solving a linear system with Hessian terms, which is both compute- and memory-intensive. To address this challenge, we propose a novel algorithm that computes the gradient using only first-order information. The key insight is to rewrite the differentiable optimization as a bilevel optimization problem and leverage recent advances in bilevel methods. Specifically, we introduce an active-set Lagrangian hypergradient oracle that avoids Hessian evaluations and provides finite-time, non-asymptotic approximation guarantees. We show that an approximate hypergradient can be computed using only first-order information in tildeO(1) time, leading to an overall complexity of tildeO(δ-1ε-3) for constrained bilevel optimization, which matches the best known rate for non-smooth non-convex optimization. Furthermore, we release an open-source Python library that can be easily adapted from existing solvers. The source code is available at https://github.com/guaguakai/FFOLayer.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 59 of its 81 references that are in the map. First posted on arXiv 2 Dec 2025.

Builds on

59 of 81 references.

References · 59

  1. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
  2. 2017OptNet: Differentiable Optimization as a Layer in Neural Networkscited by 588
  3. 2019Meta-Learning with Implicit Gradientscited by 523
  4. 2019Meta-Learning with Differentiable Convex Optimizationcited by 461
  5. 2019Differentiable Convex Optimization Layerscited by 458
  6. 2018Bilevel Programming for Hyperparameter Optimization and Meta-Learningcited by 403
  7. 2015Gradient-based Hyperparameter Optimization through Reversible Learningcited by 357
  8. 2019Optimizing Millions of Hyperparameters by Implicit Differentiationcited by 303
  9. 2019Lower Bounds for Non-Convex Stochastic Optimizationcited by 303
  10. 2021Recent Advances in Adversarial Training for Adversarial Robustnesscited by 276
  11. 2018Approximation Methods for Bilevel Programmingcited by 231
  12. 2018Melding the Data-Decisions Pipeline: Decision-Focused Learning for Combinatorial Optimizationcited by 220
38 more
  1. 2021Efficient and Modular Implicit Differentiationcited by 199
  2. 2018Differentiable MPC for End-to-end Planning and Controlcited by 178
  3. 2017OSQP: An Operator Splitting Solver for Quadratic Programscited by 156
  4. 2023Decision-Focused Learning: Foundations, State of the Art, Benchmark and Future Opportunitiescited by 129
  5. 2021Provably Faster Algorithms for Bilevel Optimizationcited by 106
  6. 2022BOME! Bilevel Optimization Made Easy: A Simple First-Order Approachcited by 103
  7. 2023A Fully First-Order Method for Stochastic Bilevel Optimizationcited by 97
  8. 2023On Penalty-based Bilevel Gradient Descent Methodcited by 87
  9. 2019A Differentiable Programming System to Bridge Machine Learning and Scientific Computingcited by 81
  10. 2019Differentiating Through a Cone Programcited by 72
  11. 2022Theseus: A Library for Differentiable Nonlinear Optimizationcited by 64
  12. 2021Towards Gradient-based Bilevel Optimization with Non-convex Followers and Beyondcited by 62
  13. 2021A Value-Function-based Interior-point Method for Non-convex Bi-level Optimizationcited by 60
  14. 2023On Penalty Methods for Nonconvex Bilevel Optimization and First-Order Stochastic Approximationcited by 50
  15. 2021CombOptNet: Fit the Right NP-Hard Problem by Learning Integer Programming Constraintscited by 49
  16. 2024Principled Penalty-based Methods for Bilevel Reinforcement Learning and RLHFcited by 41
  17. 2023On Finding Small Hyper-Gradients in Bilevel Optimization: Hardness Results and Improved Analysiscited by 39
  18. 2020Non-convex Min-Max Optimization: Applications, Challenges, and Recent Theoretical Advancescited by 37
  19. 2021Stability and Generalization of Bilevel Programming in Hyperparameter Optimizationcited by 31
  20. 2020Recent Theoretical Advances in Non-Convex Optimizationcited by 30
  21. 2023One-step differentiation of iterative algorithmscited by 28
  22. 2022Non-Convex Bilevel Games with Critical Point Selection Mapscited by 25
  23. 2021Implicit differentiation for fast hyperparameter selection in non-smooth convex learningcited by 22
  24. 2022Alternating Differentiation for Optimization Layerscited by 22
  25. 2024Functional Bilevel Optimization for Machine Learningcited by 20
  26. 2021Efficient differentiable quadratic programming layers: an ADMM approachcited by 19
  27. 2022TorchOpt: An Efficient Library for Differentiable Optimizationcited by 17
  28. 2022Flexible Differentiable Optimization via Model Transformationscited by 16
  29. 2024Moreau Envelope for Nonconvex Bi-Level Optimization: A Single-loop and Hessian-free Solution Strategycited by 15
  30. 2024Overcoming Lower-Level Constraints in Bilevel Optimization: A Novel Approach with Regularized Gap Functionscited by 12
  31. 2024On the Complexity of First-Order Methods in Stochastic Bilevel Optimizationcited by 11
  32. 2024First-Order Methods for Linearly Constrained Bilevel Optimizationcited by 10
  33. 2024Optimal Hessian/Jacobian-Free Nonconvex-PL Bilevel Optimizationcited by 10
  34. 2024Differentiation Through Black-Box Quadratic Programming Solverscited by 10
  35. 2024BPQP: A Differentiable Convex Optimization Framework for Efficient End-to-End Learningcited by 10
  36. 2024A Primal-Dual-Assisted Penalty Approach to Bilevel Optimization with Coupled Constraintscited by 7
  37. 2024SPABA: A Single-Loop and Probabilistic Stochastic Bilevel Algorithm Achieving Optimal Sample Complexitycited by 6
  38. 2024SDPRLayers: Certifiable Backpropagation Through Polynomial Optimization Problems in Roboticscited by 6

50 most cited of 59 All 59 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.