Fast kernel methods: Sobolev, physics-informed, and additive models

Nathan Doumèche, Francis Bach, Gérard Biau, Claire Boyer

Kernel methods are a cornerstone of non-parametric statistics, prized for their flexibility, expressiveness, and solid theoretical foundations. However, they suffer from a well-known "big data" bottleneck: training typically requires inverting an $n \times n$ matrix. This results in an $\mathcal{O}(n^3)$ time complexity and $\mathcal{O}(n^2)$ memory requirement, severely limiting their application on large-scale datasets.

While approximation techniques like Nyström methods or random features can reduce the computational burden to $\mathcal{O}(n^{1.5})$, they introduce additional error terms and complicate theoretical guarantees. In a recent paper, researchers introduce a scalable, exact framework for kernel regression that slashes computational cost to a near-optimal $\mathcal{O}(n \log n)$ complexity, enabling the processing of tens of billions of data points in mere minutes.

A New Framework: Fourier Meets NUFFT

The authors' approach bypasses the traditional kernel matrix entirely by resting on three technical pillars:

  1. Fourier Representation: Instead of working directly with the kernel matrix, the kernels are represented in the Fourier domain. By truncating the Fourier series at a frequency $m$—determined by the expected smoothness of the target function—the problem is transformed into a finite-dimensional regression in frequency space.
  2. Non-Uniform Fast Fourier Transform (NUFFT): Standard Fast Fourier Transforms (FFTs) require data to lie on a regular grid. Because real-world data is typically scattered, the authors employ NUFFT to compute the covariance vector and matrix. This step is the "secret sauce" that achieves the $\mathcal{O}(n \log n)$ complexity.
  3. GPU Acceleration: The framework offloads these heavy computations to GPUs using the cuFINUFFT library. Because the resulting empirical covariance matrix exhibits a multi-level block Toeplitz structure, matrix-vector products during optimization (via Conjugate Gradient) remain exceptionally fast.

Three Instantiations

The researchers successfully instantiated this framework across three distinct settings, all of which achieve minimax convergence rates consistent with classical kernel theory:

  • Sobolev (Matérn) Regression: The standard approach for non-parametric regression.
  • Physics-Informed Kernel Learning (PIKL): A method for incorporating physical constraints, such as partial differential equations (PDEs), as regularizers.
  • Additive Models: A technique that models the target as a sum of univariate functions, effectively bypassing the curse of dimensionality for higher-dimensional data.

Key Insights and Computational Advantages

Beyond raw speed, the Fourier-NUFFT approach yields several fascinating mathematical and practical advantages.

First is the Toeplitz Advantage. In the Fourier domain, the empirical covariance matrix is Hermitian and $d$-level block Toeplitz. This specific structure allows for incredibly efficient matrix-vector multiplications using standard FFTs, drastically accelerating the optimization step.

Second, the authors propose an $L^2$-Fourier variant that penalizes the unweighted $\ell_2$ norm of Fourier coefficients. In practice, this often outperforms standard Sobolev kernels because it is less sensitive to the "explosion" of Sobolev norms for high-frequency components.

Finally, the framework offers hyperparameter grid search for free. The most computationally expensive part of the pipeline—the NUFFT—does not depend on the regularization parameter $\lambda$. Consequently, practitioners can perform a grid search over hundreds of $\lambda$ values with almost no additional computational overhead.

Empirical Triumphs: Scaling to Billions

The paper rigorously tests the scaling limits and theoretical convergence of the algorithms using large-scale synthetic benchmarks. The results demonstrate unprecedented scale for exact kernel methods:

  • Unprecedented Scale: The Sobolev kernel estimator successfully processed $10^{10}$ (ten billion) data points in approximately one minute on a single NVIDIA T4 GPU. For context, conventional exact kernel methods typically struggle to process beyond $10^5$ or $10^6$ points.
  • Near-Linear Scaling: Empirical tests confirmed the $\mathcal{O}(n \log n)$ time complexity, showing a linear relationship between the number of data points and runtime once initial GPU overhead is accounted for.
  • Efficiency in Additive Models: For a 5D additive model with $10^8$ samples, the GPU implementation was 14 times faster than its CPU counterpart. Furthermore, the framework completed a grid search of 300 candidate $\lambda$ values for these $10^8$ samples in under 30 seconds—a task that is computationally prohibitive for existing Generalized Additive Model (GAM) packages like PyGAM.

Limitations and Future Directions

While the theoretical framework is valid in all dimensions $d$, the practical implementation faces a dimensionality constraint. The fast Sobolev regression package relies on the cuFINUFFT library, which currently scales exponentially in $d$ and is limited to $d \leq 3$.

To break this dimension barrier, the authors utilize the additive model formulation, which scales to much higher dimensions by treating each dimension as a separate 1D problem. However, the current additive model package is limited to simple effects and does not yet support interactions between variables.

Future work will likely explore "damped" Fourier structures to mitigate the exponential dependence on dimensionality, as well as investigate alternative NUFFT algorithms that scale more gracefully into high-dimensional spaces. For now, this framework establishes a highly flexible and wildly fast approach, paving the way for the routine application of kernel methods in massive-scale learning tasks.

Summary updated

BibTeX
@inproceedings{doumeche2026fast,
  author = {Nathan Doumèche and Francis Bach and Gérard Biau and Claire Boyer},
  title = {{Fast kernel methods: Sobolev, physics-informed, and additive models}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=QiDicUd6PB},
}
Figure