Manuscript Offprint

arXiv:2609.35665

Learned Preconditioning for a Primal-Dual Interior-Point Method

Abhinav Madabhushi, Jialin Liu, Minxin Zhang

ABSTRACT

Interior-point methods (IPMs) are among the most widely used algorithms for constrained optimization, yet their Newton-based search directions require costly second-order information and large linear-system solves. Learning to optimize offers cheaper updates learned from data, but the singular behavior of logarithmic barriers near constraint boundaries makes IPMs highly sensitive to perturbations, complicating both warm starting and learning reliable updates. We introduce pdLIP, an IPM for smooth nonlinear programs that integrates learned preconditioning with pdProj, an all-shifted primal–dual projected-search IPM. A shared coordinate-wise recurrent network predicts a positive diagonal preconditioner that scales the right-hand side of the reduced Newton system for the primal step, and the remaining slack and multiplier directions are recovered analytically. The learned iterations avoid Hessian evaluations and Newton-system solves, using only first-order and coordinate-wise operations amenable to GPU parallelization. Training is self-supervised, with a loss based on a penalty–barrier merit function and the residual of perturbed optimality conditions, requiring neither target directions nor precomputed solutions. Primal and dual shifts mitigate the barrier's sensitivity to perturbations near constraint boundaries, enabling effective warm starting. Across four classes of 200-dimensional convex and nonconvex constrained problems, pdLIP warm starts reduce pdProj refinement iterations by 63–67% compared with cold starts at the same KKT residual tolerance of 10−810^{-8}, with negligible warm-start generation cost relative to the subsequent pdProj solve. Improvements persist on box-constrained QPs with 1000 variables and extend to applications including portfolio optimization, support vector machines, and a nonlinear control example. These results demonstrate that learning only a structured scaling can substantially reduce the subsequent cost of high-accuracy constrained optimization.

1 INTRODUCTION

Learning to optimize offers a way to reduce the cost of constrained optimization by replacing expensive computations in classical algorithms with learned components. For primal–dual interior-point methods (IPMs), a major computational cost lies in obtaining Newton directions, which requires second-order information and linear-system solves. However, learning to approximate Newton solves directly does not necessarily eliminate the cost of constructing the system, including the evaluation of the Hessian (Gao et al., 2024). Logarithmic barriers pose a separate difficulty: their sensitivity to perturbations near constraint boundaries complicates learning reliable updates. These challenges motivate learned updates that avoid Hessian evaluations and Newton-system solves while retaining the analytical structure of a primal–dual IPM.

We introduce pdLIP, a self-supervised primal–dual IPM for smooth nonlinear programs. Rather than learning to solve a Newton system, pdLIP learns only a positive diagonal preconditioner for the primal step. It uses the all-shifted formulation of pdProj (Gill & Zhang, 2024), whose primal and

∗^{*}Corresponding author.

dual shifts mitigate barrier sensitivity near constraint boundaries and facilitate warm starting. The learned iterations generate approximate primal–dual solutions, which pdProj then refines to high accuracy. Our main contributions are:

• Learned preconditioning. We replace solving a reduced KKT system with a learned positive diagonal scaling while recovering the slack and multiplier directions analytically. The learned iterations avoid Hessian evaluations and Newton-system solves, using merely first-order and coordinate-wise operations suited to GPU parallelization.

• Self-supervised training. A shared coordinate-wise recurrent network predicts the scaling, with a parameter count independent of problem dimension. We train it using a loss that combines the shifted penalty–barrier merit function with the residual of perturbed optimality conditions, requiring neither target directions nor precomputed solutions.

• Reduced refinement cost. Across four 200-variable convex and nonconvex benchmark classes, pdLIP warm starts reduce pdProj refinement iterations by 63–67% relative to cold starts at the same KKT residual tolerance of 10−810^{-8}, with negligible warm-start cost relative to refinement. Further experiments show benefits on 1000-variable box-constrained QPs, portfolio optimization, support vector machines, and a nonlinear quadrotor control problem.

References (40)