Bezier Gaussian Processes for Tall and Wide Data

Martin Jørgensen, Michael A. Osborne

Gaussian Processes (GPs) are renowned for providing robust uncertainty estimates, but they are infamous for scaling poorly as datasets grow in size and dimensionality. This paper introduces Bézier Gaussian Processes, a novel approach leveraging Bézier surfaces and a unique "buttress" graph structure to achieve linear scaling in both the number of observations and input dimensions. By entirely avoiding matrix inversions and determinants, this method allows GPs to handle massive, high-dimensional datasets that were previously computationally intractable.

The "Tall and Wide" Problem

Standard Gaussian Processes suffer from two primary scaling bottlenecks:

  1. The "Tall" Problem: Computational cost grows cubically ($O(n^3)$) with the number of data points ($n$). While "sparse" methods using inducing points have mitigated this, they eventually hit a second wall.
  2. The "Wide" Problem: In high-dimensional spaces ($d$), an exponential number of inducing points is required to effectively "fill" the space. This manifestation of the curse of dimensionality means existing grid-based or sparse methods either run out of memory or fail to provide good predictive performance due to insufficient "summarizing variables."

The authors seek a method that remains "space-filling" in high dimensions without incurring exponential computational costs.

Bézier Surfaces and the Variance Fix

To tackle these challenges, the authors propose a kernel based on Bézier surfaces, which are constructed using Bernstein polynomials. Instead of a standard Radial Basis Function (RBF) kernel, the GP is represented as a weighted sum of Bernstein polynomials. This allows the model to be space-filling, ensuring every observation has a neighboring basis function.

However, a naive Bernstein basis causes the model's variance to collapse in the center of the domain. To counteract this, the authors introduce an "inverse squared Bernstein adjusted prior." This adjustment ensures the prior variance remains uniform across the input space, allowing it to behave more like a traditional stationary kernel.

Bernstein polynomials and the effect of the variance adjustment.

The Bézier Buttress

A $d$-dimensional Bézier surface theoretically requires an exponential number of control points. To bypass this, the authors introduce the Bézier Buttress. This is a source-to-sink graph structure where control points are parameterized as products of weights along paths.

The Bézier Buttress graph structure.

Because of this buttress structure, calculating the mean and variance becomes a sequence of matrix multiplications—essentially a "forward pass" similar to a neural network. This completely eliminates the need for expensive matrix inversions or determinant calculations.

Key Insights and Results

  • Linear Scaling: The most significant breakthrough is that by using the buttress structure, the computational complexity becomes $O(nrd\nu^2)$ (where $r$ is the number of permutations and $\nu$ is polynomial order). Crucially, this scales linearly in both $n$ and $d$.
  • Amortized Inference: Instead of performing inference directly on an exponential number of control points, the model infers the weights of the buttress. This amortized inference makes the "wide" problem tractable.
  • Handling Non-Commutativity: Because matrix multiplication order matters, the authors use an ensemble of different dimension permutations ($r$) to prevent the model from being biased by the arbitrary ordering of input features.
  • Empirical Success: The model was evaluated on massive "tall and wide" datasets. On the YearMSD dataset ($n \approx 463k$, $d=90$), the Bézier GP performed competitively with 2-layered Deep GPs. Impressively, on the Slice dataset ($d=385$), the model successfully managed an implicit $6^{385}$ control points—a number impossible to store directly, yet handled efficiently via the buttress.

Limitations

While powerful, the Bézier GP has a few limitations. The kernel is currently restricted to a predefined "box" in the input space (e.g., inputs scaled to $[0, 1]$) and does not naturally extrapolate outside this range. Additionally, in regimes with a low ratio of data points to dimensions ($n/d$), the model can overfit the control points. Finally, further research is needed to optimize hyperparameter tuning, such as intelligently selecting dimension permutations rather than relying on random ones.

Summary updated

BibTeX
@inproceedings{jrgensen2022bezier,
  author = {Martin Jørgensen and Michael A. Osborne},
  title = {{Bezier Gaussian Processes for Tall and Wide Data}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=hOfvMBQz7a},
}
Figure