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, $\Pi$net, leverages operator splitting for rapid and reliable projections in the forward pass, and the implicit function theorem for backpropagation. We deploy $\Pi$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 $\Pi$net as a GPU-ready package implemented in JAX.
Cite
Text
Grontas et al. "Pinet: Optimizing Hard-Constrained Neural Networks with Orthogonal Projection Layers." International Conference on Learning Representations, 2026.Markdown
[Grontas et al. "Pinet: Optimizing Hard-Constrained Neural Networks with Orthogonal Projection Layers." International Conference on Learning Representations, 2026.](https://mlanthology.org/iclr/2026/grontas2026iclr-pinet/)BibTeX
@inproceedings{grontas2026iclr-pinet,
title = {{Pinet: Optimizing Hard-Constrained Neural Networks with Orthogonal Projection Layers}},
author = {Grontas, Panagiotis D. and Terpin, Antonio and Balta, Efe C. and D'Andrea, Raffaello and Lygeros, John},
booktitle = {International Conference on Learning Representations},
year = {2026},
url = {https://mlanthology.org/iclr/2026/grontas2026iclr-pinet/}
}