Abstract
Inference for Gaussian Process (GP) models with non-Gaussian noises is computationally expensive when dealing with large datasets. Many recent inference methods approximate the posterior distribution with a simpler distribution defined on a small number of inducing points. However, the inference is accurate only when data points have strong correlation with these inducing points. In this paper, we consider the inference problem in a different direction: GP function values in the posterior are mostly correlated in short distance. We construct a variational distribution such that the inference for a data point considers only its neighborhood. With this construction, the variational lower bound is highly decomposable, allowing for stochastic optimization with very small batches. We then train Graph Convolutional Networks (GCNs) as a reusable model to identify variational parameters for each data point. Model reuse greatly reduces the number of parameters and the number of iterations needed in optimization. The proposed method significantly speeds up the inference and often gets more accurate results than previous methods.
Introduction
Gaussian Processes (GPs) are a gold standard for non-parametric Bayesian modeling due to their ability to provide well-calibrated uncertainty estimates. However, they suffer from a significant "big data" problem: standard inference scales at $O(N^3)$, rendering them unusable for large datasets.
The current state-of-the-art solution involves "inducing points"—a small set of $M$ points that act as a summary of the entire dataset. While effective for scaling, this approach has two major flaws. First, it assumes data points are strongly correlated with these global inducing points, which is often not the case in complex spatial or temporal data. Second, it effectively turns a non-parametric model into a semi-parametric one, where the model's flexibility is capped by the number of inducing points. This paper proposes a localized approach that preserves the non-parametric nature of GPs while achieving superior scalability.
Methodology
The authors introduce two main innovations to overcome the limitations of inducing-point methods:
1. Localized Variational Distribution (NPVI)
Instead of relying on a global covariance matrix, the authors construct a variational distribution $q(f)$ where each data point only considers its $K$ nearest neighbors. This is represented by a sparse lower triangular matrix $L$. Because the dependencies are localized, the Evidence Lower Bound (ELBO) becomes highly decomposable. This structure enables stochastic optimization with very small mini-batches, significantly reducing the computational overhead per iteration.
2. Amortized Inference with GCNs (NPVI-NN)
To further accelerate convergence, the authors employ Graph Convolutional Networks (GCNs) to act as a "reusable inference engine." In standard variational inference, parameters must be optimized for every data point, which scales with $N$. In contrast, the GCNs take local observations and prior correlations as input and directly predict the optimal variational parameters. This "model reuse" drastically reduces the number of parameters to optimize and allows the model to generalize across different parts of the dataset.
Experimental Results
The proposed methods were evaluated on diverse tasks, including predicting bird abundance (eBird data), spatial modeling of satellite imagery (NightLight data), and a massive flight delay regression task involving 5.9 million records.
Speed and Convergence
NPVI-NN demonstrated dramatic speedups compared to state-of-the-art sparse GP methods like SVGP and Deep GPs (DGP). On the NightLight dataset, NPVI-NN converged within the first training epoch, while competing methods required significantly more time to reach inferior results.
Qualitative Accuracy
A key insight of this work is that neglecting weak, long-distance correlations in the posterior does not just save time—it often leads to better results. By focusing on local structures, the model captures fine-grained details that inducing-point methods tend to smooth over. This is particularly evident in spatial tasks where local variations are critical.
Discussion and Conclusion
While the localized approach offers significant advantages, it relies on effective neighborhood selection. The choice of $K$ and the distance metric are important factors, and pre-calculating neighbors using k-d trees introduces a one-time $O(N \log N)$ cost. Additionally, while local information is sufficient for many kernels, the method may require adaptation for kernels designed specifically to capture long-range periodicities.
In summary, this work provides a compelling alternative to the inducing-point paradigm. By localized inference and amortizing the cost via GCNs, NPVI and NPVI-NN prove that for Gaussian Processes, thinking locally can lead to global improvements in both performance and scalability.
Summary updated