Introduction
Solving large-scale Quadratically Constrained Quadratic Programs (QCQPs) is notoriously difficult because standard relaxation methods explode in dimensionality. This paper introduces a clever linearization technique that uses low-discrepancy sampling to approximate quadratic constraints with a set of linear ones, allowing the problem to scale to millions of variables while maintaining strong theoretical convergence guarantees.
The Dimensionality Bottleneck
QCQPs are a fundamental class of optimization problems used in everything from signal processing and computer vision to web-scale recommendation systems. While convex QCQPs are "solvable," they aren't necessarily scalable.
The traditional "gold standard" approaches—Semidefinite Programming (SDP) and Reformulation-Linearization Technique (RLT)—work by lifting the problem into a higher-dimensional space. Specifically, they replace the $n$-dimensional vector $x$ with an $n \times n$ matrix $X = xx^T$. This turns the problem into a linear one but blows up the number of variables from $O(n)$ to $O(n^2)$. For a modern web application handling millions of items (where $n = 10^6$), an $O(n^2)$ approach is computationally impossible. The authors aim to solve these massive problems without leaving the original $n$-dimensional space.
Linearization by Sampling
To avoid the $O(n^2)$ trap, the authors propose a "linearization by sampling" approach. Instead of lifting the variables, they approximate the feasible region (an ellipsoid defined by the quadratic constraint) using a convex polytope (a shape made of flat faces).
This transformation relies on several key steps:
- Tangent Plane Approximation: The single quadratic constraint is replaced with a set of $N$ linear constraints. Geometrically, these act as tangent planes touching the surface of the constraint ellipsoid, effectively boxing it in.
- Low-Discrepancy Sampling: The quality of the approximation depends entirely on where these tangent planes are placed. Uniform random sampling leaves "gaps" in the coverage of the ellipsoid. To ensure the planes cover the space efficiently, the authors use Low-Discrepancy Sequences (specifically $(t, m, n)$-nets). These sequences are mathematically designed to be more evenly spread than purely random points.
- Area-Preserving Mapping: To get these evenly distributed points onto the ellipsoid, they use a multi-step mathematical transformation: mapping points from a unit hypercube to a unit sphere, and then stretching and rotating that sphere into the target ellipsoid.
- Efficient Solving: Once the problem is transformed into a standard Quadratic Program (QP) with $n$ variables and $N$ linear constraints, it can be solved using high-performance, distributed-friendly solvers like ADMM (Alternating Direction Method of Multipliers).
Key Results and Scalability
The paper evaluates the method using synthetic datasets designed to mimic large-scale convex optimization challenges, testing dimensions ($n$) ranging from 5 up to 1,000,000 variables.
- Extreme Scalability: The proposed method successfully solved problems with 1 million variables in approximately 38 minutes.
- Failure of Traditional Methods: Standard SDP and RLT solvers failed to converge within an hour once the dimension $n$ reached just 1,000.
- Accuracy: For smaller dimensions where exact solutions were available (using the
cvxtoolbox in MATLAB), the sampling method produced objective values very close to the truth. - Sampling Efficiency: In head-to-head tests, the Low-Discrepancy Sampling consistently achieved lower relative squared error compared to uniform sampling. The paper also provides a formal proof that as the number of sampled points $N$ goes to infinity, the solution to the approximate problem converges to the true solution.
Limitations and Future Work
While the number of variables stays at $n$, the number of linear constraints $N$ required to maintain high accuracy may need to grow as the dimensionality increases. The exact relationship between $N$ and $n$ for optimal performance remains a subject for further study. Additionally, the convergence rate is influenced by the maximum and minimum eigenvalues of the matrices involved.
Future work will focus on using random matrix theory to provide more probabilistic bounds on these rates, and applying this highly scalable method to real-world production problems, such as newsfeed ranking or kernel learning in semi-supervised settings.
Summary updated