Skip to main content
QUICK REVIEW

[Paper Review] Differentiable Compositional Kernel Learning for Gaussian Processes

Shengyang Sun, Guodong Zhang|arXiv (Cornell University)|Jun 12, 2018
Gaussian Processes and Bayesian InferenceComputer Science27 references29 citations
TL;DR

This paper introduces the Neural Kernel Network (NKN), a differentiable, compositional kernel family for Gaussian processes that enables end-to-end training via gradient descent. By structuring the network using valid kernel composition rules, NKN achieves universal approximation for stationary kernels and demonstrates strong pattern discovery and extrapolation on time series, texture, and Bayesian optimization tasks, outperforming prior methods including spectral mixtures and deep kernel learning.

ABSTRACT

The generalization properties of Gaussian processes depend heavily on the choice of kernel, and this choice remains a dark art. We present the Neural Kernel Network (NKN), a flexible family of kernels represented by a neural network. The NKN architecture is based on the composition rules for kernels, so that each unit of the network corresponds to a valid kernel. It can compactly approximate compositional kernel structures such as those used by the Automatic Statistician (Lloyd et al., 2014), but because the architecture is differentiable, it is end-to-end trainable with gradient-based optimization. We show that the NKN is universal for the class of stationary kernels. Empirically we demonstrate pattern discovery and extrapolation abilities of NKN on several tasks that depend crucially on identifying the underlying structure, including time series and texture extrapolation, as well as Bayesian optimization.

Motivation & Objective

  • To address the 'dark art' of kernel selection in Gaussian processes, which critically affects generalization and interpretability.
  • To develop a flexible, differentiable kernel architecture that can compactly represent complex compositional kernel structures.
  • To enable end-to-end training of kernel functions using gradient-based optimization, overcoming the inefficiency of discrete search in kernel grammar approaches.
  • To demonstrate that the proposed architecture can achieve universal approximation for stationary kernels, even with limited width.
  • To evaluate the method on pattern discovery and extrapolation tasks where structural inductive bias is essential.

Proposed method

  • The NKN is a neural network where each layer unit corresponds to a valid kernel, constructed using standard kernel composition rules (e.g., addition, multiplication, linear combinations).
  • Primitive kernels (e.g., RBF, periodic, linear, RQ) are used as input units, and higher-level kernels are formed through differentiable compositions.
  • The network is trained via gradient descent using the marginal likelihood as the objective, enabling end-to-end optimization of kernel structure.
  • The architecture supports complex-valued intermediate representations, with only the final output taking the real component, which improves compactness and expressiveness.
  • For large datasets, variational inference via Variational Free Energy (VFE) is used to reduce computational cost from O(N³) to O(NM²).
  • In texture extrapolation, missing grid points are modeled as latent observations with near-zero noise, and preconditioned conjugate gradients are used for efficient inference.

Experimental results

Research questions

  • RQ1Can a differentiable neural network architecture effectively represent and learn complex, compositional kernel structures for Gaussian processes?
  • RQ2Does the proposed Neural Kernel Network achieve universal approximation for the class of stationary kernels?
  • RQ3Can the NKN discover and extrapolate underlying functional patterns in time series and texture data more effectively than existing kernel learning methods?
  • RQ4How does the use of complex-valued intermediate kernels improve model compactness and performance?
  • RQ5Can the NKN improve sample efficiency in Bayesian optimization by learning structured, interpretable kernel inductive biases?

Key findings

  • The NKN achieves state-of-the-art performance on regression benchmarks, outperforming standard RBF and spectral mixture kernels.
  • On time series and texture extrapolation tasks, the NKN successfully discovers and generalizes complex patterns, such as periodicity and square-root scaling, as shown in synthetic 2D function extrapolation.
  • The NKN demonstrates superior sample efficiency in Bayesian optimization, particularly on non-additive functions like transformed Styblinski-Tang, due to its ability to learn correlated input structures.
  • The model achieves universal approximation for stationary kernels even with limited width, analogous to universal approximation in feedforward networks.
  • Using complex-valued intermediate representations significantly reduces the number of parameters needed to represent the same kernel functions, improving model compactness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.