Soft-Radial Projection for Constrained End-to-End Learning
Philipp J. Schneider, Daniel Kuhn
TL;DR
This work tackles the gradient-saturation problem of enforcing hard convex constraints in end-to-end learning by introducing Soft-Radial Projection, a differentiable radial map that sends unconstrained predictions into the interior of a convex feasible set. It provides rigorous guarantees: a homeomorphism with invertible Jacobian a.e., equivalence of constrained and unconstrained optimal values, and preservation of universal approximation. The approach yields superior convergence and solution quality compared to projection- and optimization-based baselines in tasks like portfolio optimization and ride-sharing, while avoiding iterative solvers. Practically, it enables safe, constraint-satisfying predictions in safety-critical systems without sacrificing gradient flow or expressivity.
Abstract
Integrating hard constraints into deep learning is essential for safety-critical systems. Yet existing constructive layers that project predictions onto constraint boundaries face a fundamental bottleneck: gradient saturation. By collapsing exterior points onto lower-dimensional surfaces, standard orthogonal projections induce rank-deficient Jacobians, which nullify gradients orthogonal to active constraints and hinder optimization. We introduce Soft-Radial Projection, a differentiable reparameterization layer that circumvents this issue through a radial mapping from Euclidean space into the interior of the feasible set. This construction guarantees strict feasibility while preserving a full-rank Jacobian almost everywhere, thereby preventing the optimization stalls typical of boundary-based methods. We theoretically prove that the architecture retains the universal approximation property and empirically show improved convergence behavior and solution quality over state-of-the-art optimization- and projection-based baselines.
