Abstract
Large-scale Quadratic Programming (QP) is a fundamental tool in industrial logistics and scientific computing, yet its computational complexity poses significant challenges for real-time applications. While dimensionality reduction via projection matrices is a common acceleration technique, existing methods often rely on random projections that ignore the specific structure of the problem instances being solved. This paper presents a provable framework for learning data-driven projection matrices. By utilizing a novel analytical approach involving algorithm unrolling and pseudo-dimension bounding, we provide the first rigorous generalization guarantees for convex QPs. Our results demonstrate a theoretical bound that is not only nearly optimal but also tighter than previous state-of-the-art bounds for simpler Linear Programs (LPs).
Introduction
In modern optimization, we frequently encounter problems with millions of variables and constraints. Quadratic Programming (QP) is particularly pervasive, yet its scaling properties often make direct solutions prohibitive. A standard strategy to mitigate this is dimensionality reduction: instead of solving for a high-dimensional variable $x \in \mathbb{R}^n$, we solve for a lower-dimensional $y \in \mathbb{R}^k$ and map it back using a projection matrix $P$ (where $x = Py$).
While random projections offer a general-purpose solution, they fail to exploit the underlying distribution of problems encountered in specific domains. Recent research has explored using machine learning to learn the matrix $P$ from historical data. However, extending these data-driven approaches from Linear Programming to Quadratic Programming has historically been a theoretical challenge. Unlike LPs, where solutions are confined to the vertices of the feasible region, QP solutions can reside anywhere within the region, complicating the proof of reliability for learned projections on unseen data.
Methodology
To establish rigorous guarantees for learned QP projections, this work employs a four-step analytical framework designed to bound the complexity of the learning task.
1. Tikhonov Regularization
The authors first address the potential non-uniqueness of QP solutions by applying Tikhonov regularization. By adding a small perturbation to the objective function, the problem becomes strictly convex, ensuring a unique solution point. This "locks" the mapping from the projection matrix to the optimal value, making it mathematically tractable.
2. The Unrolled Active Set Method
A specialized algorithm (Algorithm 1) is developed to compute the optimal value of the projected QPs. This algorithm is designed to be "unrolled" into a sequence of logical and algebraic operations. This transformation allows the optimization process to be viewed as a structured computational graph rather than a black-box solver.
3. The Goldberg-Jerrum (GJ) Framework
The unrolled algorithm is mapped into the Goldberg-Jerrum framework. This framework treats the optimization process as a series of polynomial operations and conditional statements. By representing the solver in this way, the authors can apply combinatorial geometry tools to analyze the sensitivity of the solution to changes in the projection matrix $P$.
4. Pseudo-dimension Bounding
Finally, the authors calculate the pseudo-dimension of the class of functions represented by the learned projections. The pseudo-dimension measures the complexity of the hypothesis space; a lower bound indicates a lower risk of overfitting. By counting the operations in the GJ framework, the authors derive a bound on the number of training samples required for the learned model to generalize to new, unseen problem instances.
Key Theoretical Insights
Localization and Carathéodory’s Theorem
A pivotal insight in this work is the "localization" of QP solutions. Although solutions can exist anywhere in the feasible region, they are fundamentally tied to a specific "active set" of constraints. By applying Carathéodory’s theorem, the authors demonstrate that the solution is always determined by a small, manageable subset of constraints, allowing for a more efficient complexity analysis.
Tighter Generalization Bounds
The analysis yields a generalization bound of $O(nk \min(m, k \log m))$, where $n$ is the original dimension, $k$ is the reduced dimension, and $m$ is the number of constraints. Remarkably, this bound is strictly tighter than previous state-of-the-art results for Linear Programming, despite the increased complexity of the QP problem class.
Input-Aware Projections
The framework extends beyond static projection matrices. The authors prove guarantees for an "input-aware" setting, where a neural network generates a custom projection matrix $P$ tailored to the specific features of an individual problem instance. This allows for even greater flexibility and performance in dynamic environments.
Results and Discussion
The paper establishes several landmark results for data-driven optimization:
- Generalization Guarantee: It is proven that as the number of training examples $N$ increases, the performance gap between the learned projection on training data and unseen data vanishes at a predictable rate.
- Optimality: The authors establish a lower bound of $\Omega(nk)$, showing that their derived upper bound is nearly optimal.
- Solution Matching: The theory is extended to show that the framework can learn to match the actual optimal solution vector, not just the objective value. This is critical for practical engineering where the specific values of the decision variables are the primary output.
Limitations and Future Directions
While this work provides a robust theoretical foundation, it assumes the problems are convex and the feasible regions are bounded (contained within a sphere of radius $R$). Future research may explore extending these guarantees to non-convex QPs or problems with unbounded directions. Additionally, the "unrolled algorithm" approach holds promise for more complex optimization classes, such as conic programming or mixed-integer programming, where data-driven acceleration could provide significant industrial impact.
Summary updated