arXiv Machine Learning

DiffSlack: Learning under Nonlinear Inequality Constraints via Learnable Slack Variables

arXiv:2606. 05247v1 Announce Type: new Abstract: Enforcing nonlinear inequality constraints in neural networks remains challenging, especially when the output is subject to many coupled constraints.

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
arXiv Machine Learning
Nov 6

RAYEN: Imposition of Hard Convex Constraints on Neural Networks

RAYEN is a framework that enforces hard convex constraints—linear, quadratic, second‑order cone, and linear matrix inequality—on neural network outputs or latent variables. It guarantees constraint satisfaction during both training and testing for any input and network weights without relying on expensive orthogonal projections, soft constraints, or iterative corrections. The method incurs negligible computational overhead, enabling rapid enforcement of thousands of constraints and significantly speeding up constrained trajectory optimization compared to existing algorithms.

By Jesus Tordesillas, Victor Klemm, Jonathan P. How, Marco Hutter
arXiv AI
Oct 15

Constraint-Aware Influence Estimation in Deep Constrained Learning

The paper introduces the Directional Influence Function (DIF), a new estimator for measuring how training samples affect the solution of constrained learning problems. DIF incorporates constraints directly by formulating optimality conditions as a variational inequality, thereby avoiding the bias seen in classical influence functions. Experiments on constrained linear regression and fairness‑constrained CNNs show that DIF accurately predicts changes in test loss and aligns closely with actual retraining results.

By Xin Wang (Jeff), R. Tyrrell Rockafellar (Jeff), Xuegang (Jeff), Ban
arXiv AI
Jul 7

CARL: Constraint-Aware Reinforcement Learning for Planning with LLMs

arXiv:2607. 04854v1 Announce Type: new Abstract: Despite their strong reasoning capabilities and extensive world knowledge, Large Language Models (LLMs) frequently generate plans that violate task constraints, undermining their reliability in real-world applications.

By Qiuyi Qi, Jinjian Zhang, Mutian Bao, Tian Liang, Guocong Li, Dongnan Liu, Wei Zhou, Jie Liu, Ming Kong, Linjian Mo, Feng Zhang, Qiang Zhu
arXiv Machine Learning
Nov 11

Safe Approximate Nonlinear Model Predictive Control Without Expert Demonstrations

The paper introduces Sequential Approximate MPC (Seq‑AMPC), a label‑free recurrent framework that generates full control sequences for nonlinear model predictive control without requiring expert demonstrations. Seq‑AMPC trains directly on known dynamics using losses for control cost, constraint satisfaction, and a cost‑decrease condition, and incorporates a safety filter with a stage‑cost‑dependent acceptance tolerance to maintain recursive feasibility and asymptotic convergence. Experiments on a quadcopter, chain of masses, obstacle‑avoiding vehicle, and robotic manipulator show that the filtered controller accepts over 97% of neural proposals and achieves closed‑loop costs within 0.3% of traditional NMPC while training in less than 2 GPU hours per policy.

By Mihaela-Larisa Clement, M\'onika Farsang, Johannes Edelmann, Manfred Pl\"ochl, Radu Grosu, Ezio Bartocci, Agnes Poks, Luca Marzari
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
Hugging Face Trending Papers
Jul 6

CARL: Constraint-Aware Reinforcement Learning for Planning with LLMs

Despite their strong reasoning capabilities and extensive world knowledge, Large Language Models (LLMs) frequently generate plans that violate task constraints, undermining their reliability in real-world applications. This deficiency arises from a lack of systematic mechanisms to incorporate constraint information during the generation process.

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
Jun 15

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.

By Ruben Wiedemann, Antoine Jacquier, Lukas Gonon
arXiv AI
Oct 31

AegisFlow: Training-Free Non-Myopic Path-Safe Guided Flow Matching

AegisFlow is a training‑free framework that guides generative models, such as diffusion and flow matching, along safe paths by formulating the problem as a global optimal control task. It incorporates a time‑varying barrier function into the cost functional, enabling non‑myopic enforcement of constraints throughout the entire generative trajectory. Experiments show that AegisFlow outperforms existing methods in text‑guided image manipulation and robotic planning, achieving a better balance between target alignment and constraint satisfaction.

By Kunpeng Liu, Boshi Zhang, Keyou You