Abstract
Convex Quadratic Programming (QP) is fundamental to numerous engineering and financial applications. While first-order methods (FOMs) offer scalability for large-scale QPs, they often suffer from slow convergence. This paper presents PDQP-net, a deep unrolling framework that transforms the iterative steps of the Primal-Dual Hybrid Gradient (PDQP) algorithm into neural network layers. Unlike traditional "Learning to Optimize" (L2O) methods that rely on expensive supervised labels, PDQP-net utilizes a KKT-informed unsupervised loss function. This approach directly minimizes primal-dual residuals, enabling the network to predict high-quality warm-start solutions. Our framework achieves up to a 45% reduction in solving time and demonstrates superior generalization across diverse problem distributions.
Introduction
Convex Quadratic Programming (QP) serves as a cornerstone for modern optimization tasks, ranging from support vector machines (SVMs) to robot control and portfolio management. Traditional solvers, such as interior-point or simplex methods, often struggle with massive problem instances due to the high computational cost of matrix factorizations.
First-order methods (FOMs) like PDQP provide a "matrix-free" alternative that scales more effectively. However, these methods typically require thousands of iterations to reach convergence. Recent efforts in "Learning to Optimize" (L2O) have attempted to bridge this gap using neural networks. Yet, supervised L2O faces significant hurdles: the high cost of generating training data using slow solvers and the "sensitivity gap," where small Euclidean errors in predicted variables lead to large objective value discrepancies.
Methodology: PDQP-net and Unsupervised Learning
To address these challenges, the authors propose two primary innovations:
1. Deep Unrolling with PDQP-net
PDQP-net is constructed by "unrolling" the iterative updates of the PDQP algorithm into a sequence of neural network layers. This architecture preserves the algorithmic structure of the optimizer while allowing for learnable parameters. To enhance expressivity, the framework employs channel expansion, treating variables as matrices to capture complex dependencies while remaining agnostic to the input problem size.
2. KKT-Informed Unsupervised Loss
Rather than training against ground-truth solutions, PDQP-net is trained to minimize the Karush-Kuhn-Tucker (KKT) residuals. The loss function targets three critical components:
- Primal Feasibility: Ensuring the solution adheres to constraints.
- Dual Feasibility/Stationarity: Ensuring the Lagrangian gradient is zero.
- Primal-Dual Gap: Minimizing the difference between primal and dual objectives.
By optimizing these mathematical conditions directly, the network learns the underlying structure of the optimization problem without requiring pre-calculated labels.
Theoretical Insights
The effectiveness of PDQP-net is supported by two key theoretical findings:
- Quadratic Sensitivity: The authors demonstrate that in QPs, the primal-dual gap is extremely sensitive to small perturbations in the primal variable $x$ due to the quadratic term $x^\top Qx$. This explains why supervised learning, which typically minimizes Euclidean distance, often fails to produce mathematically accurate solutions.
- Alignment Theory: Theorem 3.1 guarantees that a PDQP-net of polynomial size can exactly replicate the behavior of the original PDQP algorithm, providing a solid foundation for its learning capabilities.
Experimental Results
The framework was evaluated on standard benchmarks (QPLIB), large-scale synthetic datasets (SYN), and out-of-distribution instances (Maros–Mészáros).
Performance and Speedup
The primary goal of PDQP-net is to provide a "near-perfect" starting point for traditional solvers. When the PDQP solver is warm-started with the network's prediction, it achieves significant performance gains. As shown in the results table, the framework consistently reduces solving time by 30% to 45%.
Unsupervised vs. Supervised Learning
The unsupervised KKT-based approach proved far more effective than supervised learning. Residuals produced by the unsupervised model were approximately 1,000 times smaller than those from its supervised counterpart. This confirms that minimizing KKT conditions is a more robust objective for optimization tasks than simple label matching.
Generalization and Efficiency
PDQP-net demonstrated strong generalization, providing 14% to 31% acceleration even on out-of-distribution Maros–Mészáros instances. Furthermore, the inference time required for the network to generate a prediction is negligible, typically accounting for less than 1% of the total solving time.
Conclusion and Future Work
PDQP-net offers a scalable and efficient way to accelerate QP solving through unsupervised deep unrolling. While it shows remarkable success on large-scale problems, some overhead is observed on very small instances. Future research may explore extending this framework to non-convex quadratic programs or mixed-integer programming (MIP), where the benefits of high-quality warm-starts could be even more pronounced.
Summary updated