Distributed Gaussian Processes

Marc Peter Deisenroth, Jun Wei NgICML 2015

Introduction

Gaussian Processes (GPs) are considered the "gold standard" for probabilistic nonlinear regression, providing reliable uncertainty estimates without requiring extensive manual parameter tuning. However, they traditionally fail to scale beyond a few thousand data points due to severe computational bottlenecks. This paper introduces the robust Bayesian Committee Machine (rBCM), a distributed framework that breaks massive datasets into manageable chunks for "local experts" and recombines them into a global prediction that is both computationally efficient and statistically robust.

The Scaling Problem

The fatal flaw of standard Gaussian Processes is their computational complexity. Training a GP scales at $O(N^3)$ and predicting at $O(N^2)$, where $N$ is the number of data points. Practically, this limits standard GPs to datasets of about 10,000 points.

While "sparse GP" approximations—which use a small set of "inducing points" to represent the data—can push this limit to around $10^6$ points, they become increasingly difficult to optimize and lose accuracy as the dataset grows further. The authors aim to bridge this gap, creating a model capable of handling tens of millions of data points using distributed computing, entirely bypassing the headaches of inducing point optimization.

The robust Bayesian Committee Machine (rBCM)

To solve the scaling issue, the authors propose the robust Bayesian Committee Machine (rBCM). It builds on the "Product-of-Experts" (PoE) paradigm, where a massive dataset is partitioned among several independent GP models (the "experts").

The core innovations of rBCM include:

  • Hybrid Recombination: It combines the strengths of the Generalized PoE (gPoE) (which uses weights to control expert influence) and the Bayesian Committee Machine (BCM) (which incorporates the GP prior to ensure the model falls back to a sensible default in regions lacking data).
  • Entropy-Based Weighting: Instead of treating all experts equally, the rBCM weights each expert based on the "information gain" it provides—specifically, the difference in differential entropy between its posterior and the prior. This prevents "weak" experts with noisy or insufficient data from corrupting the global prediction.
  • Hierarchical Architecture: The model's formulation is independent of the underlying computational graph. It can be implemented as a shallow star topology or a deep tree, allowing it to scale across heterogeneous hardware, from a single laptop to a massive computing cluster.
Hierarchical architectures for distributed GP computations.

Key Insights and Performance

The authors evaluated the rBCM across synthetic datasets, benchmark kinematics data (Kin40K), and a massive real-world dataset of US flight delays containing nearly 6 million records.

Robustness to "Weak Experts"

Standard committee machines often produce "kinks" or artifacts in their predictions if an expert has too little data. By using entropy-based weighting, rBCM naturally ignores experts that haven't learned enough to be useful. Furthermore, the paper highlights that simply multiplying expert predictions (as in PoE) leads to vanishingly small variances and overconfidence. Dividing by the GP prior (the BCM approach) provides the mathematical correction needed to keep uncertainty estimates realistic.

Comparison of predictive distributions for PoE, gPoE, BCM, and rBCM on synthetic data.

Massive Scaling and Efficiency

Unlike many local expert models that require complex data partitioning (such as KD-trees), rBCM performs remarkably well even with random data assignment. This significantly speeds up the pre-processing phase.

The efficiency gains are substantial:

  • Speed: A GP with a million data points can be trained in less than 30 minutes on a standard laptop—a feat previously reserved for high-performance clusters.
  • Scale: The rBCM successfully scaled to 17 million data points, computing gradients in roughly the same time it takes a standard GP to handle just 16,000 points (~230 seconds).
  • Accuracy: On the 5-million-point Airline Delay dataset, rBCM achieved an RMSE of 35.5, outperforming complex variational methods like SVIGP (33.0 on a smaller subset) while being much simpler to implement and parallelize. On the Kin40K dataset, rBCM consistently outperformed the "Subset-of-Data" (SOD) baseline and other committee models.

Limitations and Future Work

While highly scalable, the rBCM approach has a few limitations:

  • Shared Hyperparameters: In the current implementation, all experts share the same kernel hyperparameters. While this provides a form of "automatic regularization," it might struggle with highly non-stationary data where different regions of the input space require different length-scales.
  • Communication Overhead: While deeper computational trees reduce the bottleneck at the central node, they increase total communication traffic. Finding the optimal tree depth for specific hardware remains an ongoing engineering challenge.
  • Data Partitioning: Although random assignment works well in practice, the authors acknowledge that more sophisticated data clustering might further improve predictive performance, albeit at a higher pre-processing cost.

Summary updated

BibTeX
@inproceedings{deisenroth2015distributed,
  author = {Marc Peter Deisenroth and Jun Wei Ng},
  title = {{Distributed Gaussian Processes}},
  booktitle = {International Conference on Machine Learning},
  year = {2015},
  url = {https://openreview.net/forum?id=ByZ_Jib_bH},
}
Figure