Manuscript Offprint

arXiv:2610.10428

Derivative Gaussian Processes on a Two-Direction Budget

Hyunseok Seung, Matthias Katzfuss

Abstract

Gradient observations promise more accurate Gaussian process (GP) surrogates, but the cost of incorporating them has long stood in the way of realizing that promise. We propose a derivative GP with a budget of just two directions per observed gradient. One direction focuses on each gradient's direct contribution to target prediction, while the other aggregates its indirect contributions through correlations with the conditioning function values. Within a Vecchia approximation, where each prediction conditions on m nearby inputs in d dimensions, this construction represents their md gradient coordinates using at most 2m directional derivatives, giving O(m3)\mathcal{O}(m^{3}) dense factorization cost per prediction target. For general conditioning sets, we bound the posterior approximation error relative to using full gradients and characterize when the error is small or the approximation is exact. In simulations, our method matches the accuracy of a leading exact gradient-reduction method at equal conditioning set size. Because its cost grows much more slowly with that size, it can use conditioning sets well beyond the memory limit of the exact method, reaching lower prediction error with a small fraction of the time and memory. Notably, our method can exploit gradient observations while requiring less computation time or memory than function-only GP baselines. Code is available at https://github.com/hseung88/lite.

1 INTRODUCTION

Gradient observations can improve the predictive accuracy of Gaussian process (GP) surrogates (Solak et al., 2002; Rasmussen and Williams, 2005), but incorporating full gradients substantially increases the computational and memory costs of inference. Existing scalable derivative GP methods address this problem

Matthias Katzfuss

University of Wisconsin–Madison

through kernel interpolation (Eriksson et al., 2018; Huang, 2026), inducing derivative variables (Padidar et al., 2021), random feature approximations (Hung and Chien, 2021), and structured covariance decompositions (de Roos et al., 2021). Within a Vecchia approximation (Vecchia, 1988; Stein et al., 2004; Datta et al., 2016; Katzfuss and Guinness, 2021), TERA (Seung and Katzfuss, 2026) recently showed that the md gradient coordinates of m conditioning inputs in d dimensions can be replaced by m2m^{2} directional derivatives selected for each prediction target, without changing the target's conditional distribution under a stationary kernel and its gradient noise model. This removes d from the dense linear algebra, but the reduced covariance matrix still requires O(m6)\mathcal{O}(m^{6}) factorization cost and O(m4)\mathcal{O}(m^{4}) memory per target. Since the accuracy of a Vecchia approximation improves with the size of its conditioning sets (Katzfuss and Guinness, 2021; Guinness, 2018), these costs cap the attainable accuracy, and the memory requirement limits how many targets can be processed simultaneously on an accelerator.

A fixed budget of directions per observed gradient would alleviate both limitations, provided the selected directions carry the information needed for accurate prediction. In this paper, we propose LITE for lightweight derivative GP inference with two directional derivatives per observed gradient. The covariance between each gradient and the target identifies a direction toward the target input; conditioning on the function values introduces a correction that aggregates the directions toward the remaining conditioning inputs. These two components of the conditional covariance determine our two directions, which therefore preserve each gradient's conditional covariance with the target. This gives at most 2m directional derivatives per Vecchia conditional, O(m3)\mathcal{O}(m^{3}) factorization cost, and O(m2)\mathcal{O}(m^{2}) covariance storage. For example, with m=150m = 150, TERA's 22,650×22,65022,650 \times 22,650 matrix requires about 4 GB per target, whereas LITE's 450×450450 \times 450 matrix requires under 2 MB in double precision, so thousands of targets can be factorized in one batch on a single GPU. We construct the reduced covariance matrix directly from the selected directions.

The two directions preserve each gradient's conditional covariance with the target, but omitted derivatives can still inform the target through their correlations with the retained ones, so the target posterior is not automatically preserved. We show that the reduction is exact when the conditioning geometry is compound-symmetric, the limiting case of distance concentration in high dimensions, and we express the expected KL divergence from the posterior using full gradients in the same conditioning set exactly through interpretable variance ratios, with a two-sided bound and a necessary and sufficient condition for exact recovery.

We evaluate predictive accuracy in controlled GP simulations and on a molecular dynamics dataset. We also evaluate optimization performance in Bayesian optimization (BO) tasks, including a real-world hyperparameter optimization benchmark. We compare computation time and memory usage with those of derivative and function-only GP baselines. Across regression benchmarks, LITE achieves the lowest runtime and memory usage among all tested baselines. In high-dimensional BO tasks with up to 800 dimensions, it outperforms leading function-only methods while requiring less runtime or memory.

Our contributions are summarized below.

  • We derive two directions per observed gradient from its conditional covariance with the prediction target, giving a Vecchia derivative GP with O(m3)\mathcal{O}(m^{3}) factorization cost and O(m2)\mathcal{O}(m^{2}) covariance memory per target, which enables batched factorization across thousands of targets.

  • We prove that the two directions are exact under compound symmetry and, for general conditioning sets, express the expected KL divergence from the posterior using full gradients exactly, with a two-sided bound and a necessary and sufficient condition for exact recovery.

  • In simulations, LITE matches TERA’s accuracy at equal m and reaches lower error with conditioning sets beyond TERA’s GPU memory limit, using a small fraction of the time and memory. In GP regression and BO, it also outperforms function-only GP baselines with runtime or memory savings.

References (82)