Gaussian Processes (GPs) are the gold standard for uncertainty quantification in small-data regimes, providing a principled way to reason about distributions over functions. However, their power is entirely gated by the covariance kernel $k(x, x')$, which encodes the model's prior assumptions about the data—its smoothness, periodicity, and noise.
For decades, selecting this kernel has been described as a "black art" or "dark art" by researchers like David Duvenaud and Gustavo Malkomes. If a practitioner chooses a standard Radial Basis Function (RBF) kernel for data that is actually periodic, the model will fail to extrapolate. This reliance on human intuition creates a bottleneck in fields ranging from robotics to drug discovery. A growing body of research seeks to automate this process, transforming kernel selection from a manual engineering task into a differentiable or search-based optimization problem.
The Grammar of Kernels
The most intuitive path toward automation treats kernels as a language. Because kernels are closed under addition and multiplication, they can be combined to form complex "sentences" that describe intricate data patterns.
David Duvenaud, James Robert Lloyd, and Roger B. Grosse pioneered Structure Discovery in Nonparametric Regression through Compositional Kernel Search. Their approach uses a greedy search over a compositional grammar (e.g., $Linear \times Periodic + WhiteNoise$) to find the structure that best explains the data. This allows the model to "discover" that a dataset has a linear trend with seasonal cycles without a human ever specifying those features. More recent work by Anh Tong and Jaesik Choi has scaled this idea using shrinkage priors, allowing the model to automatically prune unnecessary kernel components and focus on the most interpretable structures.
Learning in the Frequency Domain
While compositional search works well for interpretable patterns, it can be computationally expensive. An alternative is to learn the kernel's "shape" directly in the frequency domain.
Bochner’s Theorem states that any stationary kernel is the Fourier transform of a positive finite measure. Leveraging this, Andrew Gordon Wilson and Ryan Prescott Adams introduced Spectral Mixture (SM) kernels. By modeling the spectral density as a mixture of Gaussians, the GP can learn virtually any stationary covariance structure through standard hyperparameter optimization. This allows the model to adapt to the specific "frequencies" of the data, outperforming fixed kernels in long-range extrapolation. Jake R. Gardner later extended this to Spectral Delta kernels for molecular energy surfaces, proving that learning the spectral representation is often more effective than hand-tuning deep neural networks.
Differentiable and Deep Kernel Learning
To handle high-dimensional data like images or complex vehicle dynamics, researchers have moved toward "Deep Kernel Learning" (DKL). The intuition here is to use a Deep Neural Network (DNN) as a feature extractor that transforms raw input into a lower-dimensional latent space, which is then fed into a simple GP kernel.
Shengyang Sun and Guodong Zhang took this further with Neural Kernel Networks (NKN), which structure the neural network itself to represent a valid kernel. This makes the entire kernel discovery process end-to-end differentiable. In practical applications like autonomous racing, Jingyun Ning and Madhur Behl demonstrated that Deep Kernel GPs can learn the mismatch between simple physics models and complex real-world dynamics, providing high-fidelity predictions that traditional system identification cannot match.
Meta-Learning and Empirical Priors
The most recent shift in the field is toward Empirical Gaussian Processes, where the kernel is not searched for from scratch but learned from historical data.
Jihao Andreas Lin, Sebastian Ament, and colleagues developed a framework to learn non-parametric mean and covariance functions directly from a library of related tasks. By using a closed-form Expectation-Maximization algorithm, they bypass the need for manual kernel engineering entirely. Similarly, Parnian Kassraie showed that meta-learning the hypothesis space allows Bayesian Optimization to achieve near-oracle performance by leveraging offline data to select the optimal sparse combination of kernels.
Reasoning with Large Language Models
The latest frontier in automation involves Large Language Models (LLMs). Richard Cornelius Suwandi, Feng Yin, and their team introduced CAKE (Context-Aware Kernel Evolution), which uses LLMs to reason about kernel grammar. By providing the LLM with data patterns and task descriptions, the model can suggest and evolve custom kernels for Bayesian Optimization. This suggests that the "expert intuition" previously required for kernel design can be successfully emulated by models that have "read" the collective knowledge of the research community.
By moving from fixed mathematical defaults to adaptive, data-driven representations, these methods ensure that Gaussian Processes remain robust and scalable, even when the underlying physics or patterns of a problem are unknown.