arXiv Machine Learning

Neural Slack Variables for Shape Constraints

arXiv:2606. 13803v1 Announce Type: new Abstract: Enforcing functional inequality constraints such as monotonicity and convexity in neural networks is a fundamental challenge in many industrial and scientific applications.

arXiv Machine Learning
Nov 5

Optimality-Informed Neural Networks for Solving Parametric Optimization Problems

The paper introduces Optimality-Informed Neural Networks (OptINNs) for learning mappings from parameters to optimal solutions and dual variables in parametric nonlinear constrained optimization problems. OptINNs use a KKT-residual loss and problem-specific output activations to enforce feasibility and optimality, reducing data needs and improving accuracy over quadratic-penalty baselines. Experiments on low- to high-dimensional problems show that OptINNs achieve comparable or better primal accuracy, lower constraint violations, and accurate dual predictions.

By Matthias K. Hoffmann, Amine Othmane, Kathrin Fla{\ss}kamp
arXiv Machine Learning
Oct 3

HUANet: Hard-Constrained Unrolled ADMM for Constrained Convex Optimization

HUANet is a deep neural network architecture that unrolls the Alternating Direction Method of Multipliers (ADMM) into a trainable model for accelerating parametric constrained convex optimization. It embeds a hard‑constrained neural network in each ADMM iteration, using a differentiable correction stage to enforce affine equalities of the primal subproblem. The method also incorporates first‑order optimality conditions into a self‑supervised training loss, and numerical experiments on benchmark problems and a control application demonstrate its effectiveness in speeding up constrained convex optimization.

By Trinh Tran, Binh Nguyen, Truong X. Nghiem
arXiv Machine Learning
Oct 28

Position: Adopt Constraints Over Fixed Penalties in Deep Learning

The paper argues against using fixed weighted-sum penalties to enforce constraints in deep learning, citing three main issues: non-equivalence of penalized and constrained problems in non-convex settings, difficulty in selecting appropriate penalty coefficients, and the softening of hard requirements. It contends that these problems can lead to non-compliance and relaxed constraints. The authors recommend directly solving the constrained problem when non-negotiable requirements are present.

By Juan Ramirez, Meraj Hashemizadeh, Simon Lacoste-Julien
arXiv AI
Aug 28

CG4AI: A Column Generation Framework for Training AI Models Under Constraints

CG4AI is a column generation framework that trains AI models while enforcing linear constraints on their outputs. It constructs a convex combination of models, using a master linear program to set mixture weights and a pricing subproblem to generate new models guided by dual variables, focusing on the most violated constraints. The method is applied to MNIST digit classification—demonstrating constraint learning, adversarial robustness, error correction, and output relabeling—and to multi‑commodity flow routing, achieving feasible predictors with higher accuracy than single‑model baselines.

By Youcef Magnouche, Abderrahmane Driouch, S\'ebastien Martin, Pierre Bauguion
arXiv Machine Learning
Sep 23

CAffNet: Hard Constraint-Affine Neural Networks

arXiv:2605.24437v2 Announce Type: replace Abstract: We present a novel framework for embedding hard constraint satisfaction into neural network (NN) architectures, specifically feedforward neural net...

By Yang Zhao, Jungeun Lee, Jeong hwan Jeon, Sze Zheng Yong
arXiv Machine Learning
Oct 28

Constraint Learning by Optimizing over Trained Neural Networks: A Pragmatic Tutorial

The article "Constraint Learning by Optimizing over Trained Neural Networks: A Pragmatic Tutorial" discusses the emerging paradigm of embedding trained machine learning models, particularly neural networks, into optimization problems. It explains how constraints can be learned from data or objectives approximated to simplify models, while addressing challenges of size and speed. The tutorial offers practical guidance and demonstrates benefits through a case study that shows smaller, sparser networks can improve efficiency.

By Jiaxiao Fang, Thiago Serra
arXiv Machine Learning
Nov 5

ENFORCE: Nonlinear Constrained Learning with Adaptive-depth Neural Projection

ENFORCE is a neural network architecture that enforces nonlinear equality and inequality constraints on predictions using an adaptive projection module (AdaNP). It guarantees predictions satisfy constraints within a specified tolerance ε, and exactly in affine-in-y cases, while maintaining stable gradient propagation and local convergence under standard regularity conditions. The method is evaluated on function fitting, engineering case studies, and scalable optimization benchmarks, demonstrating constraint satisfaction and tractable computational complexity.

By Giacomo Lastrucci, Artur M. Schweidtmann