Deep Probabilistic Kernels for Sample-Efficient Learning

Ankur Mallick, Chaitanya Dwivedi, Bhavya Kailkhura, Gauri Joshi, T. Yong-Jin HanarXiv 2019

Abstract

Gaussian Processes (GPs) are known to provide accurate predictions and uncertainty estimates even with small amounts of labeled data by capturing similarity between data points through their kernel function. However, traditional GP kernels are not very effective at capturing similarity between high-dimensional data points. Neural networks can be used to learn good representations that encode intricate structures in high-dimensional data, and can be used as inputs to the GP kernel. However, the huge data requirement of neural networks makes this approach ineffective in small-data settings. To solve the conflicting problems of representation learning and data efficiency, we propose to learn deep kernels on probabilistic embeddings by using a probabilistic neural network. Our approach maps high-dimensional data to a probability distribution in a low-dimensional subspace and then computes a kernel between these distributions to capture similarity. To enable end-to-end learning, we derive a functional gradient descent procedure for training the model. Experiments on a variety of datasets show that our approach outperforms the state-of-the-art in GP kernel learning in both supervised and semi-supervised settings. We also extend our approach to other small-data paradigms such as few-shot classification where it outperforms previous approaches on mini-Imagenet and CUB datasets.

Introduction

Modern deep learning has achieved remarkable success in high-dimensional domains like computer vision, but it remains notoriously data-hungry. When labeled examples are scarce, deep neural networks often overfit, leading to over-confident and inaccurate predictions. Conversely, Gaussian Processes (GPs) are the gold standard for small-data learning due to their principled uncertainty quantification. However, GPs suffer from the "curse of dimensionality," performing poorly on raw, high-dimensional inputs.

Previous attempts to combine these strengths, known as Deep Kernel Learning (DKL), utilize a deterministic neural network to map high-dimensional data into a low-dimensional latent space for a GP. However, the deterministic mapping itself requires significant data to generalize, often failing in truly small-data regimes. This paper introduces Deep Probabilistic Kernel Learning (DPKL) to bridge this gap.

Methodology

The core innovation of DPKL is mapping an input $x$ to a probability distribution $p(Z|x)$ in the latent space, rather than a single point. This is achieved through a neural network with a distribution over its weights $p(W)$.

Schematic of DPKL and SSDPKL: (a) Mapping inputs to distributions in latent space; (b) Manifold alignment for semi-supervised learning.

Key Technical Components

  1. Kernel on Distributions: Since GP inputs are now distributions, the authors employ kernel embedding theory. The kernel between two points is the expected value of a standard kernel (e.g., RBF) over their respective latent distributions.
  2. Efficiency via Random Fourier Features (RFF): To handle the computational cost of expectations over distributions, the model uses RFF approximations. This reduces the complexity of kernel operations significantly.
  3. Functional Gradient Descent: Training involves evolving a set of particles that represent the optimal distribution of weights. This functional approach (similar to Stein Variational Gradient Descent) allows for more expressive posterior distributions than simple Variational Inference.
  4. Semi-Supervised Learning (SSDPKL): The model is extended to utilize unlabeled data by minimizing GP posterior variance, which mathematically ensures unlabeled points remain near the "labeled data manifold" in latent space.

Experimental Results

The model was rigorously tested across UCI regression benchmarks, few-shot classification (CUB and mini-Imagenet), and MNIST for qualitative analysis.

Performance metrics vs. sample size: DPKL outperforms GP and DKL in (a) RMSE and (b) Negative Log-Likelihood, while (c) shows learned latent representations.

Key Findings

  • Accuracy and Uncertainty: In regression tasks, DPKL consistently achieved lower Root Mean Squared Error (RMSE) and significantly lower Negative Log-Likelihood (NLL) than both standard GPs and deterministic DKL. This is particularly evident at very low sample sizes (e.g., $n=50$), where deterministic models tend to be over-confident.
  • Few-shot Classification: On CUB and mini-Imagenet, DPKL outperformed deterministic baselines, demonstrating that probabilistic embeddings provide a critical regularizing effect in sparse data environments.
  • Representation Learning: Qualitative analysis shows that DPKL learns a structured latent space where classes or values are well-separated even with minimal supervision.

Discussion and Conclusion

DPKL demonstrates that treating latent representations as distributions rather than points provides a powerful implicit regularization. By accounting for representation uncertainty, the model avoids the overfitting traps of deterministic deep kernels. While the current implementation uses standard RBF kernels and functional gradient descent, future work could explore automated kernel selection and sparse GP approximations to scale the method to larger datasets.

The results confirm that DPKL is a robust solution for high-dimensional learning in data-constrained environments, offering a principled path toward sample-efficient deep learning.

Summary updated

BibTeX
@misc{mallick2019deep,
  author = {Ankur Mallick and Chaitanya Dwivedi and Bhavya Kailkhura and Gauri Joshi and T. Yong-Jin Han},
  title = {{Deep Probabilistic Kernels for Sample-Efficient Learning}},
  year = {2019},
  eprint = {1910.05858},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.05858},
}
Figure