Scalable Random Wavelet Features: Efficient Non-Stationary Kernel Approximation with Convergence Guarantees

Sawan Kumar, Souvik Chakraborty

Introduction

Gaussian Processes (GPs) are a cornerstone of machine learning, prized for their ability to provide robust uncertainty estimates alongside predictions. However, deploying GPs in real-world scenarios reveals two significant hurdles: scalability and stationarity.

Exact GPs scale cubically ($O(N^3)$) with the number of data points, rendering them computationally intractable for large datasets. To circumvent this, practitioners often rely on scalable approximations like Random Fourier Features (RFF). Unfortunately, RFF relies on Bochner’s Theorem, which assumes the underlying process is stationary—meaning its statistical properties remain constant across the entire input space.

Real-world data is rarely stationary. Audio signals feature sudden bursts of sound, and geospatial data contains abrupt terrain shifts. When standard tools like RFF attempt to model these localized "blips" using global sine waves, they often produce unnatural oscillations (the Gibbs phenomenon) or over-smooth the data. While complex models like Deep GPs can handle non-stationarity, they are computationally demanding and notoriously difficult to tune.

The Random Wavelet Feature (RWF) Framework

To bridge the gap between scalability and expressivity, researchers introduce Random Wavelet Features (RWF). Instead of relying on the global basis of Fourier transforms, RWF utilizes wavelets—mathematical functions that are localized in both space and frequency.

The core innovation is constructing a non-stationary kernel by integrating over a family of wavelet atoms. These atoms are defined by a "mother wavelet" $\psi$, a scale $s$ (which controls frequency), and a shift $t$ (which controls location):

$$\psi_{s,t}(x) = s^{-d/2}\psi\left(\frac{x-t}{s}\right)$$

By randomly sampling these scales and shifts from a distribution $p(s, t)$, RWF creates an explicit, finite-dimensional feature map. This elegant transformation reduces the complex GP inference problem into a straightforward Bayesian linear regression within the wavelet feature space.

Key Technical Contributions

  • Theoretical Guarantees: The framework ensures that the induced kernels are positive definite and that the RWF approximation remains unbiased.
  • Uniform Convergence: Explicit sample complexity bounds demonstrate that the approximation error decreases predictably as more random features are added.
  • Wavelet Selection: The framework is flexible; different mother wavelets (e.g., the Mexican Hat for sharp discontinuities or the Morlet for periodic signals) can be selected based on the specific characteristics of the dataset.

Key Insights: Why Wavelets Work

The success of RWF hinges on two primary advantages over traditional Fourier methods:

  1. Localization: Because wavelets have "compact support" (they are effectively zero outside a small, defined region), RWF can allocate high-frequency features to specific parts of the input space—like a sudden jump—without introducing noise or oscillations into the rest of the model.
  2. Multi-Resolution Modeling: By sampling various scales ($s$), the model simultaneously captures fine-grained local details and broad, long-range trends.

Crucially, RWF achieves this expressivity without sacrificing speed. It maintains the $O(ND^2)$ training complexity of RFF (where $N$ is data points and $D$ is features), unlocking non-stationary modeling for massive datasets.

Empirical Results

The paper evaluates RWF across a diverse set of benchmarks, including a synthetic step function, the TIMIT speech signal dataset, standard UCI regression benchmarks, and a large-scale Protein dataset (45k samples).

Comparison of RWF-GP against baseline models on a synthetic step function.
  • Superior Accuracy on Jumps: On the synthetic step function, RWF achieved an RMSE of 0.071, vastly outperforming RFF (0.246) and Exact GPs (0.190). As seen in the comparison above, while Exact GPs smooth out the edges and RFF introduces severe oscillations, RWF's confidence intervals tightly and accurately track the data discontinuities.
  • Speech Modeling: On the highly non-stationary TIMIT dataset, RWF achieved the lowest error (RMSE 0.42) and the best uncertainty calibration (NLL 0.56) compared to all baselines, including Deep GPs.
  • Scalability and Speed: RWF consistently ranked as the fastest or second-fastest method. For the 45k-sample Protein dataset, RWF trained in just 90 minutes, compared to the 120–140 minutes required by most competitors.

Limitations and Future Work

While RWF presents a powerful new tool for kernel approximation, there are avenues for further refinement:

  • Hyperparameter Sensitivity: Model performance is currently dependent on the manual selection of the mother wavelet and the sampling distribution $p(s, t)$.
  • Adaptive Distributions: Currently, random features are sampled from a fixed distribution. Future work could explore Adaptive RWF, where the distribution of scales and shifts is learned directly from the data during training.
  • Deep Integration: Integrating RWF into Deep GP architectures could yield even more expressive, multi-layer non-stationary models for highly complex domains.

Summary updated

BibTeX
@inproceedings{kumar2026scalable,
  author = {Sawan Kumar and Souvik Chakraborty},
  title = {{Scalable Random Wavelet Features: Efficient Non-Stationary Kernel Approximation with Convergence Guarantees}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=fWhRslwYri},
}
Figure