mlsanityData to 7 Oct 2026

A Penalty Approach for Differentiation Through Black-Box Quadratic Programming Solvers

arXiv 2602.14154 ↗First posted 15 Feb 2026cs.LG math.OCcited by 2

Not on the map. Why?

Abstract (arXiv)

Differentiating through the solution of a quadratic program (QP) is a central problem in differentiable optimization. Most existing approaches differentiate through the Karush--Kuhn--Tucker (KKT) system, but their computational cost and numerical robustness can degrade at scale. To address these limitations, we propose dXPP, a penalty-based differentiation framework that decouples QP solving from differentiation. In the solving step (forward pass), dXPP is solver-agnostic and can leverage any black-box QP solver. In the differentiation step (backward pass), we map the solution to a smooth approximate penalty problem and implicitly differentiate through it, requiring only the solution of a much smaller linear system in the primal variables. This approach bypasses the difficulties inherent in explicit KKT differentiation and significantly improves computational efficiency and robustness. We evaluate dXPP on various tasks, including randomly generated QPs, large-scale sparse projection problems, and a real-world multi-period portfolio optimization task. Empirical results demonstrate that dXPP is competitive with KKT-based differentiation methods and achieves substantial speedups on large-scale problems. Our implementation is open source and available at https://github.com/mmmmmmlinghu/dXPP.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 17 of its 38 references that are in the map. First posted on arXiv 15 Feb 2026.

Builds on

17 of 38 references.

References · 17

  1. 2017OptNet: Differentiable Optimization as a Layer in Neural Networkscited by 588
  2. 2019Differentiable Convex Optimization Layerscited by 458
  3. 2017Smart "Predict, then Optimize"cited by 332
  4. 2021Efficient and Modular Implicit Differentiationcited by 199
  5. 2019Differentiating Through a Cone Programcited by 72
  6. 2022Theseus: A Library for Differentiable Nonlinear Optimizationcited by 64
  7. 2020Reinforcement-Learning based Portfolio Management with Augmented Asset Movement Prediction Statescited by 55
  8. 2022Alternating Differentiation for Optimization Layerscited by 22
  9. 2017Multi-Period Trading via Convex Optimizationcited by 21
  10. 2021Efficient differentiable quadratic programming layers: an ADMM approachcited by 19
  11. 2024Differentiation Through Black-Box Quadratic Programming Solverscited by 10
  12. 2024BPQP: A Differentiable Convex Optimization Framework for Efficient End-to-End Learningcited by 10
5 more
  1. 2023Constrained Optimization via Exact Augmented Lagrangian and Randomized Iterative Sketchingcited by 5
  2. 2023SCQPTH: an efficient differentiable splitting method for convex quadratic programmingcited by 5
  3. 2018Smooth Exact Penalty Functions: A General Approachcited by 2
  4. 2019Implementing a smooth exact penalty function for general constrained nonlinear optimizationcited by 1
  5. 2025The Augmented Lagrangian Methods: Overview and Recent Advancescited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.