Mixed neural network Gaussian processes

Alexey Lindo, Theodore Papamarkou, Serik Sagitov, Laura StewartarXiv 2021

Abstract

This paper introduces mixed compositional kernels and mixed neural network Gaussian processes (NGGPs). Mixed compositional kernels are generated by the composition of probability generating functions (PGFs). A mixed NNGP is a Gaussian process (GP) with a mixed compositional kernel, arising in the infinite-width limit of multilayer perceptrons (MLPs) that have a different activation function for each layer. Additionally, $\theta$ activation functions for neural networks and $\theta$ compositional kernels are introduced by building upon the theory of branching processes, specifically $\theta$ PGFs. While $\theta$ compositional kernels are recursive, they are expressed in closed form and exhibit non-degenerate asymptotic properties under certain conditions. This allows for controllable infinite-depth properties without requiring non-explicit recursive kernel evaluations.

Introduction

Data residing on non-Euclidean manifolds, such as spheres or high-dimensional hyperspheres, is prevalent in fields ranging from meteorology to molecular biology. Standard kernel methods, like the Radial Basis Function (RBF) kernel, often fail to account for the unique geometry of such spaces. This research addresses the need for expressive, learnable kernels that are mathematically native to spherical geometry. By leveraging the theory of branching processes and Probability-Generating Functions (PGFs), the authors propose a new class of "PGF kernels" (or mixed compositional kernels) that generalize existing methods and provide a flexible, compositional framework for spherical regression and classification.

Methodology: PGF and Mixed Compositional Kernels

The core innovation lies in the construction of kernels through the composition of PGFs. A PGF is a power series where coefficients represent probabilities.

  1. Kernel Construction: PGF kernels are defined as compositions: $K(x, z) = g_n \circ \dots \circ g_1(\langle x, z \rangle)$, where each $g_i$ is a PGF. This structure corresponds to the infinite-width limit of MLPs with varying activation functions per layer.
  2. Depth and Width: These kernels possess "depth" (number of compositions) and "width" (number of terms in the power series expansion), mirroring neural network architectures.
  3. Generalization of RBF: The authors prove that the standard RBF kernel is a specific instance of a PGF kernel. By learning the PGF coefficients, the kernel becomes semi-parametric and adaptable.
  4. $\theta$ Kernels: The introduction of $\theta$ compositional kernels provides a closed-form recursive structure with controllable infinite-depth properties, avoiding the need for non-explicit recursive evaluations.

Experimental Setup

The framework was evaluated on several simulated environments representing complex spherical dependencies:

  • Circular Von Mises Density: A 1D spherical regression task.
  • Spherical Exponential-Cosine Function: A highly oscillatory signal on a 2D sphere ($S^2$) used to test pattern capture.
  • Hyperspherical Thomas Process: A clustering task on a high-dimensional hypersphere ($S^{17}$) for Deep Kernel Learning (DKL).
Visualization of noiseless and noisy signals on a 2D sphere.

Key Results

The PGF kernels demonstrated significant performance gains over traditional methods:

  • Accuracy: In circular GP regression, the PGF kernel achieved a Mean Absolute Error (MAE) of 0.1683, compared to 1.3144 for the RBF kernel.
  • Scaling: Ablation studies confirmed that increasing compositional depth and truncation width consistently reduces error metrics.
  • Latent Space Separation: In DKL tasks, PGF kernels produced more distinct clusters, improving classification accuracy from 88.30% (RBF) to 88.55%.
Comparison of PGF kernel performance across different widths ($m_1$) and depths (compositions) on circular regression data.

Discussion and Insights

The research establishes a formal link between branching processes and modern kernel methods. By showing that RBF is a "locked" version of a broader family, the authors open the door to kernels that adapt their shape based on data. The "compositional depth" is a key driver of predictive power, and the inherent rotational stationarity ensures the kernels respect spherical symmetries.

However, challenges remain. The semi-parametric nature increases parameter complexity, risking overfitting on small datasets. Future work will focus on characterizing information loss due to truncation and applying these methods to large-scale geophysical datasets where spherical geometry is a physical constraint.

Summary updated

BibTeX
@misc{lindo2021mixed,
  author = {Alexey Lindo and Theodore Papamarkou and Serik Sagitov and Laura Stewart},
  title = {{Mixed neural network Gaussian processes}},
  year = {2021},
  eprint = {2112.00365},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.00365},
}

Loading related content...

Figure