Variational Orthogonal Random Features for Online Gaussian Processes

Yuhao Liu, Yuanqing Song, Petar M. DjurićarXiv 2026

TL;DR

Gaussian Processes (GPs) are great at quantifying uncertainty, except they notoriously choke on large datasets. While Random Fourier Features (RFFs) make GPs fast enough for live data streams, randomly picking those features often leaves massive blind spots in your signal spectrum. This paper introduces a clever "repulsive" probability prior—acting like magnets pushing similar frequencies apart—so an online GP can simultaneously keep its features diverse and adapt them on the fly.

What Problem Does This Paper Address?

If you’ve ever used a Gaussian Process, you know the tragic trade-off: you get crystal-clear uncertainty estimates, at the cost of $O(N^3)$ computational scaling. Try feeding a GP millions of streaming data points, and your machine grinds to a halt.

A popular workaround is Random Fourier Features (RFFs). Thanks to Bochner’s theorem, you can approximate a GP's kernel by sampling a finite handful of random frequencies. Suddenly, inference scales linearly with data!

Here’s the catch: if you draw a small number of frequencies independently at random, probability is lumpy. Several frequencies inevitably clump together in the same neighborhood, leaving other parts of the spectrum completely empty. Existing fixes force frequencies to be strictly perpendicular—known as Orthogonal Random Features (ORFs)—which solves the clumping, but freezes the directions in place so they can't adapt to incoming data. Other machine learning methods slap on heuristic "soft orthogonality" penalties during training, which work empirically, even though nobody really had a clean probabilistic reason why.

How do you get spectral features that repel each other to cover the whole spectrum, adapt dynamically to streaming data, and stay grounded in principled Bayesian math?

Methods

The authors introduce Variational Orthogonal Random Feature (VORF) GPs, built on two main pillars:

  1. The Hierarchical Determinantal Point Process (H-DPP) Prior: DPPs are mathematical models famous for modeling repulsion (imagine electrons or mutually avoiding particles). Standard DPPs have a quirk where they favor vectors with huge norms, and frequencies often get tangled up with kernel lengthscales during optimization. What’s new here is a hierarchical design: the authors separate scale (a lengthscale matrix) from direction. In a standardized space, they balance a determinantal "repulsive push" (pushing frequency directions apart) with a Gaussian "pull" toward the origin. The result? Frequencies naturally settle near the unit sphere while staying well-spread.
  2. Two-Stage Online Inference: As data streams in one point at a time, VORF alternates between two steps. First, holding the frequencies fixed, the GP acts like a simple linear model, allowing exact, closed-form recursive Bayesian updates of the regression weights. Second, it nudges the frequencies and lengthscales using stochastic gradient descent on a variational objective (ELBO). Crucially, to avoid an expensive $O(J^3)$ matrix determinant calculation for $J$ features, they take a second-order Taylor approximation—dropping the per-step cost down to $O(J^2)$.

Datasets

The authors test VORF on two fronts (no newly minted benchmarks, just solid standard stress-tests):

  • Four UCI Regression Benchmarks: Concrete ($N = 1,030$), Kin8nm ($N = 8,192$), Powerplant ($N = 9,568$), and Protein ($N = 45,730$) to test feature expressiveness and compare against standard batch variational GPs.
  • US Flights Data 2008 (Airline ArrDelay): A massive chronological data stream of 6.86 million flight records (20 input variables predicting arrival delay in minutes), split 80% for streaming training and 20% for testing.

Key Insights and Ideas

  • Heuristic Penalties Have a Secret Bayesian Identity: Across deep learning, engineers routinely add the Frobenius-norm penalty $\|\Omega^\top\Omega - I\|_F^2$ to keep learned features diverse. The authors prove that this exact penalty falls right out as a second-order approximation of their H-DPP variational bound! What used to be an ad-hoc geometric trick is actually approximate Bayesian inference in disguise.
  • Repulsion Creates a Band-Pass Filter: Standard RBF kernels act like low-pass filters—great for smooth trends, terrible for sudden spikes or localized wiggles. The math shows that the H-DPP prior induces a Maxwell–Boltzmann spectral density on each frequency, which translates in the input space to a Mexican hat (Ricker) wavelet kernel. Because its density hits zero at the origin, it naturally acts as a band-pass filter that catches sharp, localized signal variations.
  • Provable Online Learning: For the recursive weight-updating stage (with fixed features), the authors prove a cumulative static regret bound of $\frac{J+1}{2} \ln T + O(1)$, matching classical optimal parametric rates.

Key Results

Adding probabilistic repulsion prevents features from crowding as you scale up the feature dimension $J$, allowing error to keep dropping where independent sampling plateaus:

Fig. 1. Performance of the i.i.d. RBF, i.i.d. Maxwell, and H-DPP priors on the Concrete data set.
  • Soft Beats Hard Orthogonality: Comparing against fixed orthogonal methods (ORF and SORF) on UCI datasets, VORF achieves the best or tied test RMSE across the board—slashing normalized RMSE by more than 50% on Kin8nm (0.28 vs. 0.61 for ORF and 0.60 for SORF). Letting orthogonal-ish features bend to fit the data matters.
  • Holding Its Own Against Inducing Points: Across the four UCI benchmarks, VORF matches or beats heavyweight inducing-point variational GPs (like SVGP and BSGP) on test RMSE, while remaining competitive on Mean Negative Log-Likelihood (MNLL).
Normalized Test RMSE comparing VORF-GP to Variational GP baselines
  • Crushing the Streaming Benchmark: On the 6.86-million-record flight delay stream (using 100 features/inducing points), VORF-GP reduces normalized test RMSE by ~53% (0.2328 vs. 0.4941) and improves MNLL by 0.44 nats (3.6835 vs. 4.1224) compared to the strongest online GP baseline (OSGPR).

Limitations and Future Work

  • Wall-Clock Overhead: Because VORF actively learns and adapts its spectral frequencies alongside the posterior weights at every step, it takes more wall-clock compute time than simpler streaming baselines like ISSGP and OSGPR.
  • Theoretical Gap: The $\ln T$ regret proof currently assumes the spectral features are fixed; extending that mathematical guarantee to cover the full algorithm while features are actively moving is left for future work.
  • Targeted Frequency Bands: Right now, the lengthscale matrix uses a flat, noninformative prior. Because the standardized frequencies naturally hover at a norm of one, the scale matrix directly dictates physical frequency bands. Next, the authors want to put informative priors on this matrix—for example, locking features onto the alpha band of EEG brainwaves to automatically untangle physiological signals.

Summary updated

BibTeX
@misc{liu2026variational,
  author = {Yuhao Liu and Yuanqing Song and Petar M. Djurić},
  title = {{Variational Orthogonal Random Features for Online Gaussian Processes}},
  year = {2026},
  eprint = {2611.40135},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.40135},
}
Figure