Lune

ICML2024Top-tier venue

LPGD: A General Framework for Backpropagation through Embedded Optimization Layers

Anselm Paulus, Georg Martius, Vít Musil

Abstract

Embedding parameterized optimization problems as layers into machine learning architectures serves as a powerful inductive bias. Training such architectures with stochastic gradient descent requires care, as degenerate derivatives of the embedded optimization problem often render the gradients uninformative. We propose Lagrangian Proximal Gradient Descent (LPGD) a flexible framework for training architectures with embedded optimization layers that seamlessly integrates into automatic differentiation libraries. LPGD efficiently computes meaningful replacements of the degenerate optimization layer derivatives by re-running the forward solver oracle on a perturbed input. LPGD captures various previously proposed methods as special cases, while fostering deep links to traditional optimization methods. We theoretically analyze our method and demonstrate on historical and synthetic data that LPGD converges faster than gradient descent even in a differentiable setup.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Learning with Differentiable Pertubed Optimizers cites Differentiation of Blackbox Combinatorial Solvers
  • A Fully First-Order Layer for Differentiable Optimization cites Differentiation Through Black-Box Quadratic Programming Solvers
  • Differentiation of Blackbox Combinatorial Solvers cites Smart Predict-and-Optimize for Hard Combinatorial Optimization Problems
  • SoftJAX & SoftTorch: Empowering Automatic Differentiation Libraries with Informative Gradients cites Differentiation of Blackbox Combinatorial Solvers
  • Differentiation Through Black-Box Quadratic Programming Solvers cites Multiscale Deep Equilibrium Models
  • Differentiation Through Black-Box Quadratic Programming Solvers cites Differentiation of Blackbox Combinatorial Solvers
  • Geometric Algorithms for Neural Combinatorial Optimization with Constraints cites Learning with Differentiable Pertubed Optimizers
  • Geometric Algorithms for Neural Combinatorial Optimization with Constraints cites Differentiation of Blackbox Combinatorial Solvers
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Differentiation Through Black-Box Quadratic Programming SolversConnor W. Magoon, Fengyu Yang, Noam Aigerman, Shahar Z. KovalskyNeurIPS 2025 · 14 citations
  2. Geometric Algorithms for Neural Combinatorial Optimization with ConstraintsNikolaos Karalias, Akbar Rafiey, Yifei Xu, Zhishang Luo et al.NeurIPS 2025 · 4 citations
  3. SoftJAX & SoftTorch: Empowering Automatic Differentiation Libraries with Informative GradientsAnselm Paulus, Andreas René Geist, Vit Musil, Sebastian Hoffmann et al.ICML 2026 · 3 citations
  4. A Fully First-Order Layer for Differentiable OptimizationZihao Zhao, Kai-Chia Mo, Shing-Hei Ho, Brandon Amos et al.ICML 2026 · 1 citation

Builds on20

  1. Differentiation of Blackbox Combinatorial SolversMarin Vlastelica Pogancic, Anselm Paulus, Vít Musil, Georg Martius et al.ICLR 2020 · 341 citations
  2. Multiscale Deep Equilibrium ModelsShaojie Bai, Vladlen Koltun, J. Zico KolterNeurIPS 2020 · 272 citations
  3. Implicit Graph Neural NetworksFangda Gu, Heng Chang, Wenwu Zhu, Somayeh Sojoudi et al.NeurIPS 2020 · 188 citations
  4. Smart Predict-and-Optimize for Hard Combinatorial Optimization ProblemsJayanta Mandi, Emir Demirovic, Peter J. Stuckey, Tias GunsAAAI 2020 · 184 citations
  5. Learning with Differentiable Pertubed OptimizersQuentin Berthet, Mathieu Blondel, Olivier Teboul, Marco Cuturi et al.NeurIPS 2020 · 181 citations

Related papers

  1. Leveraging augmented-Lagrangian techniques for differentiating over infeasible quadratic programs in machine learningAntoine Bambade, Fabian Schramm, Adrien B. Taylor, Justin CarpentierICLR 2024 · 9 citations
  2. Adaptive Proximal Gradient Methods for Structured Neural NetworksJihun Yun, Aurélie C. Lozano, Eunho YangNeurIPS 2021 · 34 citations
  3. Alternating Differentiation for Optimization LayersHaixiang Sun, Ye Shi, Jingya Wang, Hoang Duong Tuan et al.ICLR 2023 · 3 citations
  4. Physarum Powered Differentiable Linear Programming Layers and ApplicationsZihang Meng, Sathya N. Ravi, Vikas SinghAAAI 2021 · 5 citations
  5. ∇-Prox: Differentiable Proximal Algorithm Modeling for Large-Scale OptimizationZeqiang Lai, Kaixuan Wei, Ying Fu, Philipp Härtel et al.SIGGRAPH 2023 · 11 citations
Dusk over the sea between two cliffs drawn in fine vertical lines