Presented at NeurIPS 2025, this research introduces ADASAP (Approximate Distributed Accelerated Sketch-and-Project), a novel algorithm designed to make Gaussian Process (GP) inference feasible for massive datasets. By integrating randomized linear algebra, Nesterov acceleration, and distributed computing, the authors scale GP inference to over 300 million samples—a milestone previously unreached in the literature.
The Scaling Challenge in Gaussian Processes
Gaussian Processes (GPs) are highly valued in machine learning for providing both predictions and robust uncertainty quantification. However, they suffer from a significant scaling bottleneck. Exact GP inference requires solving a dense linear system $(K + \lambda I)w = y$, where $K$ is an $n \times n$ covariance matrix.
Standard direct solvers, such as Cholesky decomposition, have a computational cost of $O(n^3)$, effectively limiting their use to datasets of approximately 10,000 samples. For larger scales, researchers typically choose between two suboptimal paths:
- Iterative methods (e.g., PCG): These are robust to ill-conditioning (nearly singular matrices) but become prohibitively slow as $n$ approaches $10^6$.
- Stochastic methods (e.g., SDD): These are fast and scalable but highly sensitive to hyperparameters like step size and prone to stagnation on ill-conditioned problems.
ADASAP aims to bridge this gap, providing a solver that is as fast as stochastic methods yet as robust and easy to tune as iterative ones.
The ADASAP Framework
The core of the ADASAP algorithm builds on the "Sketch-and-Project" (SAP) framework, enhanced by several key innovations:
- Sketch-and-Project (SAP): Instead of solving the entire system simultaneously, SAP projects the current solution onto a random "sketch" (a subset or linear combination) of the data.
- Approximate Subspace Preconditioning: Standard SAP requires inverting a $b \times b$ matrix at every step, costing $O(b^3)$. ADASAP replaces this with a randomized Nyström approximation, significantly reducing cost and allowing for much larger block sizes ($b$).
- Nesterov Acceleration: This classic optimization technique is employed to accelerate the convergence of the first-order updates.
- Distributed Computing: The algorithm is designed to parallelize matrix-matrix products across multiple GPUs, achieving near-linear speedup.
- Automatic Tuning: Unlike other stochastic methods requiring manual step-size tuning, ADASAP automatically calculates the optimal step size at each iteration using randomized powering.
Key Results and Performance
The authors evaluated ADASAP on a variety of benchmarks, ranging from standard regression tasks to a massive NYC Taxi dataset containing 331 million samples.
As shown in the experimental results, ADASAP consistently achieves the lowest Root Mean Square Error (RMSE) and Negative Log-Likelihood (NLL) across all benchmark datasets compared to PCG and SDD variants. Notably, on the 331-million-sample taxi dataset, ADASAP was 1.8x faster than the next best method (SDD-10), reaching the target error level in 45% less time.
The convergence dynamics (illustrated above for the houseelec dataset) highlight ADASAP's stability and speed. While methods like PCG and SDD-10 exhibit slower convergence or high variance, ADASAP (blue line) rapidly reaches a low error state and remains stable.
Theoretical Insights
A significant theoretical contribution of the paper is the proof of condition-number-free convergence. The authors demonstrate that SAP-style methods converge rapidly along the "top spectral basis functions"—the most critical directions in the data—regardless of the overall matrix's ill-conditioning. This explains why ADASAP achieves low test error very quickly, even before the total system has fully converged. Furthermore, the theory utilizes Determinantal Point Processes (DPPs) to show that selecting "diverse" data subsets for sketching leads to faster convergence.
Conclusion and Future Work
ADASAP represents a major step forward in scalable GP inference, offering a robust, high-performance alternative to traditional solvers. While the current implementation uses uniform sampling for efficiency, future work may explore bridging the gap with DPP sampling or utilizing lower precision (e.g., float16) to further enhance GPU performance and memory efficiency.
Summary updated