Pinet: Optimizing hard-constrained neural networks with orthogonal projection layers
Abstract
We introduce an output layer for neural networks that ensures satisfaction of convex constraints. Our approach, net, leverages operator splitting for rapid and reliable projections in the forward pass, and the implicit function theorem for backpropagation. We deploy net as a feasible-by-design optimization proxy for parametric constrained optimization problems and obtain modest-accuracy solutions faster than traditional solvers when solving a single problem, and significantly faster for a batch of problems. We surpass state-of-the-art learning approaches by orders of magnitude in terms of training time, solution quality, and robustness to hyperparameter tuning, while maintaining similar inference times. Finally, we tackle multi-vehicle motion planning with non-convex trajectory preferences and provide net as a GPU-ready package implemented in JAX.
Cite
@article{arxiv.2508.10480,
title = {Pinet: Optimizing hard-constrained neural networks with orthogonal projection layers},
author = {Panagiotis D. Grontas and Antonio Terpin and Efe C. Balta and Raffaello D'Andrea and John Lygeros},
journal= {arXiv preprint arXiv:2508.10480},
year = {2026}
}
Comments
Accepted for presentation at, and publication in the proceedings of, the Fourteenth International Conference on Learning Representations (ICLR 2026, oral)