Abstract: Gaussian processes are an important regression tool with excellent analytic properties which allow for direct integration of derivative observations. However, vanilla GP methods scale cubically in the amount of observations. In this work, we propose a novel approach for scaling GP regression with derivatives based on quadrature Fourier features. We then prove deterministic, non-asymptotic and exponentially fast decaying error bounds which apply for both the approximated kernel as well as the approximated posterior. To furthermore illustrate the practical applicability of our method, we then apply it to ODIN, a recently developed algorithm for ODE parameter inference. In an extensive experiments section, all results are empirically validated, demonstrating the speed, accuracy, and practical applicability of this approach.
Introduction
Gaussian Processes (GPs) are a cornerstone of modern machine learning, prized for their elegant uncertainty quantification and their unique ability to handle derivative observations. Because the derivative of a GP is itself a GP, they are naturally suited for "physics-informed" machine learning, such as inferring parameters of Ordinary Differential Equations (ODEs) from noisy sensor data.
However, standard GP methods are plagued by the "Cubic Curse": computational complexity scales at $O(N^3)$ with the number of observations $N$. For large-scale datasets, such as those generated by high-frequency sensors, this becomes a prohibitive bottleneck. While Random Fourier Features (RFF) are a common remedy for standard GPs, their stochastic nature leads to unpredictable accuracy, particularly when approximating derivatives. This paper introduces SLEIPNIR, a framework that utilizes deterministic Quadrature Fourier Features (QFF) to provide a scalable, provably accurate alternative.
The SLEIPNIR Framework
SLEIPNIR addresses the scalability issue by replacing the full GP kernel with a finite-dimensional feature expansion. Unlike RFF, which relies on random sampling, SLEIPNIR employs Gauss-Hermite Quadrature. This deterministic approach identifies the optimal frequencies for approximating the Radial Basis Function (RBF) kernel, leading to significantly higher precision with fewer features.
The core innovation lies in extending this expansion to derivatives. Since differentiation and integration commute, the authors derived specific feature expansions for the first and second derivatives of the kernel. By representing the kernel through $M$ features, the Woodbury matrix identity can be used to reduce the $O(N^3)$ matrix inversion to $O(NM^2 + M^3)$. This effectively makes the computation linear with respect to the number of data points $N$, as $M$ is typically much smaller than $N$.
Theoretical Guarantees
A major contribution of this work is the derivation of deterministic, non-asymptotic error bounds. The authors prove that the approximation error for both the kernel and the posterior distribution decays exponentially as the number of features $M$ increases. This "exponential accuracy" means that near-perfect fidelity to the original GP can be achieved with a very small computational budget. In practical terms, cutting the error in half requires only a few additional features, rather than a linear or quadratic increase in resources.
Experimental Validation
The researchers integrated SLEIPNIR into ODIN, a state-of-the-art algorithm for ODE parameter inference, creating a scalable variant called ODIN-S. They tested the system across several benchmarks:
- Lorenz System: A chaotic system where SLEIPNIR achieved a 1,000x speedup over standard GPs (13.2 ms vs 10,700 ms per iteration) while maintaining accuracy.
- Quadrocopter: A 12-dimensional ODE system with 15,000 observations. SLEIPNIR solved this complex problem in approximately 80 minutes on a standard laptop—a task previously considered computationally infeasible for GP-based gradient matching.
- Biological Models: Tests on Lotka-Volterra and Protein Transduction models confirmed that SLEIPNIR consistently outperformed random feature methods in terms of convergence speed and reliability.
Conclusion and Future Outlook
SLEIPNIR demonstrates that GP-based gradient matching can scale to tens of thousands of data points without sacrificing mathematical rigor. While currently optimized for the RBF kernel and low-dimensional inputs (like time), the framework provides a foundation for scaling other derivative-based GP applications, such as Bayesian Optimization or probabilistic numerics. Future work may extend these deterministic bounds to broader kernel families like the Matérn class, further expanding the reach of scalable, physics-informed machine learning.
Summary updated