mlsanityData to 14 Oct 2026

Position: Adopt Constraints Over Fixed Penalties in Deep Learning

arXiv 2505.20628 ↗First posted 27 May 2025cs.LG math.OCcited by 5

Not on the map. Why?

Abstract (arXiv)

Recent efforts to develop trustworthy AI systems have increased interest in learning problems with explicit requirements, or constraints. In deep learning, however, such problems are often handled through fixed weighted-sum penalization: the constraints are added to the task loss with fixed coefficients, and the resulting scalarized objective is minimized. This position paper argues that fixed penalization is often ill-suited for deep learning problems with non-negotiable requirements for several reasons. First, in non-convex settings, the penalized and constrained problems are generally not equivalent, so solving the former need not solve the latter. Second, fixed penalization weakens hard requirements into soft penalties to be traded off against task performance. Third, choosing penalty coefficients to indirectly solve the constrained problem often involves costly trial and error, because changing them alters the penalized objective itself, and hence can mean solving the wrong problem altogether. We therefore argue that, when a deep learning problem specifies non-negotiable requirements, the constrained formulation itself should be the starting point, not the surrogate problem defined by fixed penalization. The appropriate solution strategy should then be chosen based on the problem's structure and scale.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 23 of its 48 references that are in the map. First posted on arXiv 27 May 2025.

Builds on

23 of 48 references.

References · 23

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  2. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  3. 2023Safe RLHF: Safe Reinforcement Learning from Human Feedbackcited by 656
  4. 2017Learning Sparse Neural Networks through L0 Regularizationcited by 583
  5. 2020Responsive Safety in Reinforcement Learning by PID Lagrangian Methodscited by 316
  6. 2017Variational Inference of Disentangled Latent Concepts from Unlabeled Observationscited by 241
  7. 2020Differentiable Causal Discovery from Interventional Datacited by 218
  8. 2018Optimization with Non-Differentiable Constraints with Applications to Fairness, Recall, Churn, and Other Goalscited by 103
  9. 2019Trivializations for Gradient-Based Optimization on Manifoldscited by 79
  10. 2018Training Well-Generalizing Classifiers for Fairness Metrics and Other Data-Dependent Constraintscited by 53
  11. 2021Adversarial Robustness with Semi-Infinite Constrained Learningcited by 39
  12. 2021Direct Behavior Specification via Constrained Reinforcement Learningcited by 31
11 more
  1. 2024HardNet: Hard-Constrained Neural Networks with Universal Approximation Guaranteescited by 31
  2. 2020Sequential Quadratic Optimization for Nonlinear Equality Constrained Stochastic Optimizationcited by 30
  3. 2022Controlled Sparsity via Constrained Optimization or: How I Learned to Stop Tuning Penalties and Love Constraintscited by 25
  4. 2022A Lagrangian Duality Approach to Active Learningcited by 24
  5. 2022Automatic Data Augmentation via Invariance-Constrained Learningcited by 17
  6. 2024On PI Controllers for Updating Lagrange Multipliers in Constrained Optimizationcited by 12
  7. 2025Cooper: A Library for Constrained Optimization in Deep Learningcited by 11
  8. 2023Sequential Quadratic Optimization for Stochastic Optimization with Deterministic Nonlinear Inequality and Equality Constraintscited by 10
  9. 2024Near-Optimal Solutions of Constrained Learning Problemscited by 9
  10. 2023Balancing Act: Constraining Disparate Impact in Sparse Modelscited by 7
  11. 2025Feasible Learningcited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 3.

5 papers.