On PI Controllers for Updating Lagrange Multipliers in Constrained Optimization

Motahareh Sohrabi, Juan Ramirez, Tianyue H. Zhang, Simon Lacoste-Julien, Jose Gallego-Posada
2/12/2026

No official code found. Best implementation: motahareh-sohrabi/nuPI (6 stars, MIT, last commit 2024-05-17).

Abstract

Constrained optimization offers a powerful framework to prescribe desired behaviors in neural network models. Typically, constrained problems are solved via their min-max Lagrangian formulations, which exhibit unstable oscillatory dynamics when optimized using gradient descent-ascent. The adoption of constrained optimization techniques in the machine learning community is currently limited by the lack of reliable, general-purpose update schemes for the Lagrange multipliers. This paper proposes the $\nu$PI algorithm and contributes an optimization perspective on Lagrange multiplier updates based on PI controllers, extending the work of Stooke, Achiam and Abbeel (2020). We provide theoretical and empirical insights explaining the inability of momentum methods to address the shortcomings of gradient descent-ascent, and contrast this with the empirical success of our proposed $\nu$PI controller. Moreover, we prove that $\nu$PI generalizes popular momentum methods for single-objective minimization. Our experiments demonstrate that $\nu$PI reliably stabilizes the multiplier dynamics and its hyperparameters enjoy robust and predictable behavior.

View on arXivView PDF

Code Implementations(1)

MIT

Official implementation for the ICML 2024 paper "On PI controllers for updating Lagrange multipliers in constrained optimization"

60PythonApr 22, 20242 years agoMIT

Similar Papers

Cite this paper

@article{sohrabi2026controllers,
  title  = {On PI Controllers for Updating Lagrange Multipliers in Constrained Optimization},
  author = {Motahareh Sohrabi and Juan Ramirez and Tianyue H. Zhang and Simon Lacoste-Julien and Jose Gallego-Posada},
  year   = {2026},
  eprint = {2406.04558},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2406.04558},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.04558.svg)](https://codeofpaper.com/paper/2406.04558)

Discussion