A Differentiable Interior-Point Method in Single Precision
Jon Arrizabalaga, Kevin Tracy, Zac Manchester
NeurIPS page · Open on the map
Category: Optimization & Federated Learning › First-Order Optimization Methods · Type: new method · Keywords: interior-point methods, single precision, differentiable optimization, low-precision arithmetic, implicit function theorem
Areas: Optimization & Algorithms › Optimization Dynamics › Differentiable Optimization
Summary
The paper presents a differentiable interior-point method that uses an alternative complementarity representation to keep linear systems well-conditioned in single precision, enabling reliable solving and differentiation of convex optimization problems at low precision.
Explained to a 5-year-old
Some math problems need to be solved with a special method that finds answers step by step. This method works best when numbers are very precise, but we changed it so it also works with less precise numbers. This change lets the method run on fast computers that use less memory. The new method stays stable and gives correct answers even when the numbers are not super precise. It can now be used in new kinds of learning where computers need to solve problems quickly.
Explained to a 5-year-old, longer
Imagine you have a puzzle where you need to find the best numbers that follow some rules. There is a special way to solve such puzzles that works quickly and reliably. Usually this special way needs very accurate numbers, like using many digits. But computers that are super fast often use fewer digits to save memory and time. The puzzle solver sometimes breaks when the numbers are not very accurate. The researchers looked at why this happens and found a problem with how the solver checks its answers. They came up with a new trick that changes how the solver checks its answers so it stays stable. This trick makes the solver work well even with fewer digits. Because of this, the solver can now be used on fast, low-memory computers. It also lets the solver be used in new kinds of learning where computers need to solve many puzzles. The new method still gives correct answers and can be used to teach computers how to improve themselves. Overall, the improvement makes solving complex puzzles easier and more accessible on modern hardware.
For a technical reader
The paper addresses the numerical instability of interior-point solvers when run in single-precision arithmetic, which limits their use on modern low-precision hardware. By reformulating the complementarity condition, the authors keep the linear systems well-conditioned throughout the optimization, preventing catastrophic errors. This reformulation also preserves differentiability via the implicit function theorem, allowing gradients to be computed efficiently for end-to-end learning pipelines. Experiments compare the new formulation against the standard one on bilevel and end-to-end learning tasks, showing reliable performance in low precision.
Problem
Standard primal-dual interior-point methods become ill-conditioned near the solution, causing failures in low-precision arithmetic and limiting the use of accelerated hardware for machine learning. This prevents interior-point solvers from being reliably used in single precision for constrained convex optimization.
Method
The approach replaces the standard primal-dual complementarity formulation with an alternative representation that bounds the spectrum of the underlying linear systems, ensuring stability in single-precision arithmetic. This allows the solver to compute accurate gradients via the implicit function theorem while avoiding arithmetic exceptions. The method is validated through an ablation study and applied to bilevel and end-to-end learning problems.
Results
The approach successfully solves and differentiates convex optimization problems in single precision where standard methods fail, extending the applicability of interior-point solvers to low-precision hardware.
Contributions
It introduces a low-precision-friendly interior-point formulation that maintains spectral boundedness of linear systems, enabling reliable single-precision optimization and differentiation. The paper also provides empirical evaluations on bilevel and end-to-end learning tasks, demonstrating the practical benefits of the new formulation.
Practical relevance
This allows machine learning practitioners to use robust interior-point solvers on low-precision hardware, reducing memory and computational costs while maintaining accuracy.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction