Saved in:
Bibliographic Details
Main Authors: Ramirez, Juan, Hashemizadeh, Meraj, Lacoste-Julien, Simon
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.20628
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913095959445504
author Ramirez, Juan
Hashemizadeh, Meraj
Lacoste-Julien, Simon
author_facet Ramirez, Juan
Hashemizadeh, Meraj
Lacoste-Julien, Simon
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2505_20628
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Position: Adopt Constraints Over Fixed Penalties in Deep Learning
Ramirez, Juan
Hashemizadeh, Meraj
Lacoste-Julien, Simon
Machine Learning
Optimization and Control
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.
title Position: Adopt Constraints Over Fixed Penalties in Deep Learning
topic Machine Learning
Optimization and Control
url https://arxiv.org/abs/2505.20628