mlsanityData to 7 Oct 2026

HardNet++: Nonlinear Constraint Enforcement in Neural Networks

arXiv 2604.19669 ↗First posted 21 Apr 2026cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

Enforcing constraint satisfaction in neural network outputs is critical for safety, reliability, and physical fidelity in many control and decision-making applications. While soft-constrained methods penalize constraint violations during training, they do not guarantee constraint adherence during inference. Other approaches guarantee constraint satisfaction via a projection layer, but often rely on the existence of a tractable projection onto the feasible set, limiting their utility in more general problem settings. Many real-world problems of interest are nonlinear and lack the special structure admitting a tractable projection, motivating the development of methods that can enforce general nonlinear constraints. To this end, we introduce HardNet++, a constraint-satisfaction method that enforces linear and nonlinear equality and inequality constraints. Our approach iteratively adjusts the network output via damped local linearizations of the constraints. Each iteration is differentiable, admitting an end-to-end training framework, where the constraint satisfaction layer is active during training. We show that under certain regularity conditions, this procedure enforces nonlinear constraint satisfaction to arbitrary tolerance. Finally, we demonstrate tight constraint adherence without loss of optimality in a learning-for-optimization context, where we apply this method to a nonlinear model predictive control problem.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 11 of its 19 references that are in the map. First posted on arXiv 21 Apr 2026.

Builds on

11 of 19 references.

References · 11

  1. 2016CVXPY: A Python-Embedded Modeling Language for Convex Optimizationcited by 633
  2. 2016Linear Convergence of Gradient and Proximal-Gradient Methods Under the Polyak-Lojasiewicz Conditioncited by 526
  3. 2021DC3: A learning method for optimization with hard constraintscited by 181
  4. 2024Physics-Informed Neural Networks with Hard Linear Equality Constraintscited by 30
  5. 2024HardNet: Hard-Constrained Neural Networks with Universal Approximation Guaranteescited by 29
  6. 2022POLICE: Provably Optimal Linear Constraint Enforcement for Deep Neural Networkscited by 19
  7. 2025FSNet: Feasibility-Seeking Neural Network for Constrained Optimization with Guaranteescited by 19
  8. 2025Pinet: Optimizing hard-constrained neural networks with orthogonal projection layerscited by 17
  9. 2025ENFORCE: Nonlinear Constrained Learning with Adaptive-depth Neural Projectioncited by 15
  10. 2026LMI-Net: Linear Matrix Inequality--Constrained Neural Networks via Differentiable Projection Layerscited by 4
  11. 2025ECO: Energy-Constrained Operator Learning for Chaotic Dynamics with Boundedness Guaranteescited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.