Scaling Multidimensional Gaussian Processes using Projected Additive Approximations
TL;DR
This paper introduces Projected Additive Gaussian Process Regression (PPGPR), a novel method designed to scale Gaussian Processes (GPs) to large, multidimensional datasets. By combining "projection pursuit" with state-space GP techniques, the authors achieve linear $O(N)$ scaling. This provides orders-of-magnitude speedups over traditional GPs while maintaining highly competitive predictive accuracy.
The Computational Wall of Gaussian Processes
Gaussian Processes are a gold standard for Bayesian regression due to their ability to provide robust uncertainty estimates and handle non-parametric data flexibly. However, they suffer from a notorious "computational wall": exact GP regression scales cubically ($O(N^3)$) with the number of data points $N$. Once a dataset reaches roughly 10,000 observations, standard GPs become practically intractable on modern hardware.
While "sparse" GP approximations exist to reduce this complexity to $O(M^2N)$ (where $M$ is a small set of inducing points), these methods often struggle with multidimensional inputs or rely heavily on specific data distributions. The authors identify a critical gap: there is no general-purpose, efficient way to scale GPs for high-dimensional data without sacrificing significant modeling power or making overly restrictive assumptions.
Methods: A Two-Step Evolution
The authors propose a two-step evolution of the standard GP to bypass these computational limits:
- Additive GP Regression via State-Space Models: Instead of computing one massive $D$-dimensional GP, the authors model the output as a sum of $D$ independent 1D GPs (one for each input dimension). To solve this efficiently, they leverage Gauss-Markov Processes. Certain kernels (like the Matérn family) allow a 1D GP to be represented as a State-Space Model (SSM). This mathematical equivalence transforms a global matrix inversion problem into a local filtering problem, allowing the use of Kalman filtering and RTS smoothing to perform inference in $O(N)$ time. They use a "backfitting" algorithm—proven to be equivalent to a Gauss-Seidel linear solver—to ensure the model converges to the exact posterior mean.
- Projected Additive GP (PPGPR): Simple additivity is often too restrictive for complex real-world data, as it ignores interactions between variables. PPGPR relaxes this restriction by projecting the $D$-dimensional input onto $M$ different learned directions (vectors) before passing them into the additive 1D GPs. Inspired by "Projection Pursuit Regression," this allows the model to "rotate" the coordinate system to find the most informative views of the data, capturing joint relationships while maintaining the $O(N)$ computational benefits of the state-space approach.
Key Results and Empirical Performance
The authors evaluated their method on a mix of synthetic datasets (8D and 32D) and well-known real-world benchmarks, including robotic arm datasets (pumadyn), aircraft state data (elevators), and highly nonlinear kinematics data (kin40k).
- Massive Speedups and Linear Scaling: Empirical tests confirmed that PPGPR's runtime grows linearly with dataset size $N$, whereas the Full GP grows cubically. On an 8,000-point dataset, PPGPR achieved speedups of 100x to 500x compared to a Full GP.
- Pareto Efficiency: When plotting the tradeoff between runtime and error (Normalized Mean Squared Error, or NMSE), the PPGPR-Greedy variant consistently sat on the "Pareto frontier." This means it was frequently the fastest algorithm available for a given level of desired accuracy.
- Competitive Accuracy: On several datasets (like
pumadyn8andelevators), PPGPR matched the accuracy of the Full GP and outperformed the popular Sparse Pseudo-input GP (SPGP) method.
Limitations and Future Work
While highly efficient, the approach has a few limitations:
- The Additivity Limit: Although projections help capture interactions, the model is still fundamentally additive. On extremely complex, highly nonlinear datasets where variables interact in non-additive ways (like
kin40k), the Full GP and SPGP still maintained an accuracy edge. - Greedy Optimization: The current implementation uses a greedy approach to add projection directions one by one. The authors suggest that joint optimization of all projections might improve accuracy, though likely at a higher computational cost.
- Kernel Restrictions: The $O(N)$ speedup relies on kernels that can be mapped to state-space models. While this includes the popular Matérn and spline kernels, it excludes others like the exact Squared Exponential (though a good SDE approximation for it exists).
Summary updated