lapanda: A Matrix-Free Differentiable Solver for Nonconvex Constrained Optimization Layers
Abstract
Differentiable optimization brings the structural guarantees of mathematical optimization to network pipelines, allowing them to be trained end-to-end. However, its application remains challenging for nonconvex constrained problems, as existing differentiable solvers often suffer from limited modeling expressiveness due to their reliance on specialized problem structures, while also incurring substantial computation time and memory overhead in both the forward and backward passes. To address these challenges, we propose lapanda, a matrix-free differentiable solver for nonconvex optimization with general constraints. It reformulates the problem to a sequence of augmented Lagrangian subproblems, each handled by a first-order inner solver through a proximal averaged quasi-Newton algorithm with adaptive linesearch, thus enabling efficient forward optimization. We establish local well-posedness of the solution map and convergence of the outer iterations, and further derive a sensitivity alignment between the original problem and the final subproblem in the backward pass, demonstrating that the subproblem sensitivity, which can be computed efficiently in a matrix-free manner, provides a principled approximation to the exact optimizer sensitivity. We evaluate lapanda on nonconvex constrained Rosenbrock benchmarks, imitation learning with several representative constrained optimal control problems, and embedded robotic obstacle-avoidance tasks. Compared with state-of-the-art differentiable solvers, lapanda delivers substantial reductions in computation time and memory footprint while maintaining reliable constraint satisfaction and learning performance.
Create a lesson
Metadata
- Categories
- math.OC, cs.LG, cs.SY, eess.SY
Related papers
Constrained Nonconvex Stochastic Optimization with One Projection
Shared title terminologymath.OCYuyang Deng, Mohammadreza M. Kalan, Eitan J. Neugut et al.
Stochastic Augmented Lagrangian Framework with Second-Order Convergence Guarantees for Nonconvex Expectation-Constrained Optimization
Shared title terminologymath.OCRaghu Bollapragada, Yash Kumar
FLEX-E: a structure-exploiting linear feasibility solver for embedded optimization
Shared title terminologymath.OCAndrea Ghezzi, Jonathan Frey, Anton Pozharskiy et al.
An Adaptive Sampling Interior-Point Trust-Region Method for Derivative-Free Stochastic Optimization with General Constraints
Shared title terminologymath.OCNicole Felice, Sara Shashaani, Lindon Roberts
Intrinsic sharp and smooth augmented Lagrangian methods for constrained optimization on Riemannian manifolds
Shared title terminologymath.OCE. G. Birgin, O. P. Ferreira, G. Haeser et al.
Exact Finite-Dimensional Reduction of Waypoint-Constrained Trajectory Optimization for Feedback-Linearizable Systems
Shared title terminologymath.OCShaohui Yang, Vincent Guillemet, Bassam El Rawas et al.