mlsanityData to 7 Oct 2026

RAYEN: Imposition of Hard Convex Constraints on Neural Networks

arXiv 2307.08336 ↗First posted 17 Jul 2023cs.LG cs.ROcited by 30

Not on the map. Why?

Abstract (arXiv)

Despite the numerous applications of convex constraints in Robotics, enforcing them within learning-based frameworks remains an open challenge. Existing techniques either fail to guarantee satisfaction at all times, or incur prohibitive computational costs. This paper presents RAYEN, a framework for imposing hard convex constraints on the output or latent variables of a neural network. RAYEN guarantees constraint satisfaction during both training and testing, for any input and any network weights. Unlike prior approaches, RAYEN avoids computationally expensive orthogonal projections, soft constraints, conservative approximations of the feasible set, and slow iterative corrections. RAYEN supports any combination of linear, convex quadratic, second-order cone (SOC), and linear matrix inequality (LMI) constraints, with negligible overhead compared to unconstrained networks. For instance, it imposes 1K quadratic constraints on a 1K-dimensional variable with only 8 ms of overhead compared to a network that does not enforce these constraints. An LMI constraint with 300x300 dense matrices on a 10K-dimensional variable can be guaranteed with only 12 ms additional overhead. When used in neural networks that approximate the solution of constrained trajectory optimization problems, RAYEN runs 20 to 7468 times faster than state-of-the-art algorithms, while guaranteeing constraint satisfaction at all times and achieving a near-optimal cost (<1.5% optimality gap). Finally, we demonstrate RAYEN's ability to enforce actuator constraints on a learned locomotion policy by validating constraint satisfaction in both simulation and real-world experiments on a quadruped robot. The code is available at https://github.com/leggedrobotics/rayen

Key facts. Cited by 30 papers in the map (data through 7 Oct 2026). Builds on 31 of its 96 references that are in the map. First posted on arXiv 17 Jul 2023.

Builds on

31 of 96 references.

References · 31

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2021Convex optimizationcited by 2,479
  4. 2017OptNet: Differentiable Optimization as a Layer in Neural Networkscited by 588
  5. 2020Learning Quadrupedal Locomotion over Challenging Terraincited by 494
  6. 2019Differentiable Convex Optimization Layerscited by 458
  7. 2019Learning agile and dynamic motor skills for legged robotscited by 402
  8. 2019Control Barrier Functions: Theory and Applicationscited by 332
  9. 2021DC3: A learning method for optimization with hard constraintscited by 181
  10. 2018Differentiable MPC for End-to-end Planning and Controlcited by 178
  11. 2019Trivializations for Gradient-Based Optimization on Manifoldscited by 78
  12. 2019Differentiating Through a Cone Programcited by 72
19 more
  1. 2019Eigenvalue and Generalized Eigenvalue Problems: Tutorialcited by 45
  2. 2017Imposing Hard Constraints on Deep Networks: Promises and Limitationscited by 42
  3. 2022Motion Planning around Obstacles with Convex Optimizationcited by 26
  4. 2022Learning to Solve Optimization Problems with Hard Linear Constraintscited by 23
  5. 2020MADER: Trajectory Planner in Multi-Agent and Dynamic Environmentscited by 21
  6. 2023Learning Arm-Assisted Fall Damage Reduction and Recovery for Legged Mobile Manipulatorscited by 20
  7. 2018Convex Relaxations for Pose Graph Optimization with Outlierscited by 19
  8. 2019Feedback MPC for Torque-Controlled Legged Robotscited by 19
  9. 2022POLICE: Provably Optimal Linear Constraint Enforcement for Deep Neural Networkscited by 19
  10. 2020Linearly Constrained Neural Networkscited by 18
  11. 2019Distributed Certifiably Correct Pose-Graph Optimizationcited by 17
  12. 2019PDP: A General Neural Framework for Learning Constraint Satisfaction Solverscited by 14
  13. 2020FASTER: Fast and Safe Trajectory Planner for Navigation in Unknown Environmentscited by 13
  14. 2022Neural network training under semidefinite constraintscited by 11
  15. 2019Teach-Repeat-Replan: A Complete and Robust System for Aggressive Flight in Complex Environmentscited by 8
  16. 2020MINVO Basis: Finding Simplexes with Minimum Volume Enclosing Polynomial Curvescited by 5
  17. 2019A Linearly Constrained Nonparametric Framework for Imitation Learningcited by 3
  18. 2020Generating Large Convex Polytopes Directly on Point Cloudscited by 1
  19. 2020Chance Constraint Robust Control with Control Barrier Functionscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 6; 2025: 10; 2026: 14.

30 papers.

Sort:

By area:

  1. 2024HardNet: Hard-Constrained Neural Networks with Universal Approximation Guaranteescited by 29
  2. 2024CGD: Constraint-Guided Diffusion Policies for UAV Trajectory Planningcited by 21
  3. 2025FSNet: Feasibility-Seeking Neural Network for Constrained Optimization with Guaranteescited by 19
  4. 2025Pinet: Optimizing hard-constrained neural networks with orthogonal projection layerscited by 17
  5. 2025ENFORCE: Nonlinear Constrained Learning with Adaptive-depth Neural Projectioncited by 15
  6. 2024Dual Lagrangian Learning for Conic Optimizationcited by 11
  7. 2025Enforcing Hard Linear Constraints in Deep Learning Models with Decision Rulescited by 10
  8. 2024Learning to Optimize for Mixed-Integer Non-linear Programming with Feasibility Guaranteescited by 8
  9. 2024GLinSAT: The General Linear Satisfiability Neural Network Layer By Accelerated Gradient Descentcited by 7
  10. 2026LMI-Net: Linear Matrix Inequality--Constrained Neural Networks via Differentiable Projection Layerscited by 4
  11. 2026Soft-Radial Projection for Constrained End-to-End Learningcited by 3
  12. 2024Compact Optimality Verification for Optimization Proxiescited by 2
18 more
  1. 2025Tightening optimality gap with confidence through conformal predictioncited by 2
  2. 2025Enforcing convex constraints in Graph Neural Networkscited by 2
  3. 2025ECO: Energy-Constrained Operator Learning for Chaotic Dynamics with Boundedness Guaranteescited by 2
  4. 2026Improving Feasibility via Fast Autoencoder-Based Projectionscited by 2
  5. 2025mPOLICE: Provable Enforcement of Multi-Region Affine Constraints in Deep Neural Networkscited by 1
  6. 2026SnareNet: Flexible Repair Layers for Neural Networks with Hard Constraintscited by 1
  7. 2026Cheap Thrills: Effective Amortized Optimization Using Inexpensive Labelscited by 1
  8. 2026Parametric Nonconvex Optimization via Convex Surrogatescited by 1
  9. 2025Learning to Solve Constrained Bilevel Control Co-Design Problemscited by 0
  10. 2025Self-Certifying Primal-Dual Optimization Proxies for Large-Scale Batch Economic Dispatchcited by 0
  11. 2026Stochastic Dimension Implicit Functional Projections for Global Integral Conservation in High-Dimensional PINNscited by 0
  12. 2026Solving Max-Cut to Global Optimality via Feasibility-Preserving Graph Neural Networkscited by 0
  13. 2026CAffNet: Hard Constraint-Affine Neural Networkscited by 0
  14. 2026DisjunctiveNet: Neural Symbolic Learning via Differentiable Convexified Optimization Layerscited by 0
  15. 2026Embedding Linear Equality Constraints in Probabilistic Neural Networks for Dynamic Modellingcited by 0
  16. 2026CG4AI: A Column Generation Framework for Training AI Models Under Constraintscited by 0
  17. 2026AT-SKM-Net: An Accelerated Trainable Sampling Kaczmarz-Motzkin Framework for Linear Hard-Constraint Feasibility on Dynamic Graphscited by 0
  18. 2026SLP-ProbHard: Probabilistic Hard-Constrained Learning via Structural Latent Parameterizationcited by 0