Introduction
Deep learning derives its power from learning flexible, task-dependent representations across multiple layers. However, traditional kernel methods—such as the Neural Network Gaussian Process (NNGP)—rely on deterministic, parameter-free transformations that lack this adaptive capability. Conversely, models that can learn representations, like Deep Gaussian Processes (DGPs) and Bayesian Neural Networks (BNNs), suffer from a major inference hurdle: symmetries.
Because a BNN or DGP's output remains unchanged if you rotate its hidden features or permute its weights, the "true" posterior distribution becomes incredibly complex and multimodal. Standard variational inference, which typically assumes a simpler, unimodal distribution, struggles to capture this complexity, leading to biased or poor approximations.
This paper introduces Deep Kernel Processes (DKPs), a unifying framework demonstrating that DGPs and BNNs are special cases of a more general process operating directly on Gram matrices. By shifting the focus from hidden features to kernels, the authors develop the Deep Inverse Wishart Process (DIWP), which sidesteps complex posterior symmetries and delivers superior performance with better computational scaling.
The Deep Kernel Process Framework
To solve the symmetry problem, the authors propose abandoning feature-based representations ($F$) and instead working directly with Gram matrices ($G = \frac{1}{N}FF^T$). They define a DKP as a sequence of layers where Gram matrices are transformed by nonlinear kernels and then "noised" by sampling from a matrix-variate distribution.
Key methodological contributions include:
- The Deep Inverse Wishart Process (DIWP): A specific DKP where the "noise" is sampled from an Inverse Wishart distribution. This is a strategic choice because the Inverse Wishart is the conjugate prior for Gaussian covariance, making the mathematics for variational inference significantly cleaner.
- Kernel-Domain Inference: The authors develop a novel doubly-stochastic variational inducing-point scheme. Unlike standard DGPs that must track $N$ hidden features per layer, this method operates entirely in the space of Gram matrices.
- Unification: The paper mathematically proves that DGPs, BNNs, and even infinite BNNs with bottlenecks can all be re-written as DKPs.
Key Insights
- Symmetry is a Feature, Not a Bug: By working with Gram matrices, the model becomes mathematically invariant to the rotations and permutations that make BNN/DGP posteriors so messy. The resulting posterior over Gram matrices is much simpler and easier for variational inference to fit.
- Learnable "Width": In a DIWP, the degrees of freedom in the Inverse Wishart distribution act as a learnable parameter ($\delta$). This allows the model to automatically decide, layer-by-layer, whether it needs a deterministic kernel transformation (high $\delta$) or a highly flexible, stochastic representation (low $\delta$).
Experimental Results
The models were evaluated on nine standard UCI Regression Benchmarks (including boston, concrete, and protein) and image classification tasks (MNIST and CIFAR-10) using fully-connected architectures.
- Superior Performance: DIWPs consistently outperformed both DGPs and NNGPs across nearly all UCI regression tasks, regardless of whether ReLU or Squared Exponential kernels were used.
- Computational Efficiency: The DIWP inference scheme scales as $O(P_i^3 + P_i^2 P_t)$, where $P_i$ is the number of inducing points and $P_t$ is the number of test points. This is significantly better than standard DGPs, which carry an extra factor of $N$ (the number of hidden features) in their complexity.
- Image Classification Gains: On MNIST, DIWP achieved a test accuracy of 97.7%, compared to 96.5% for both DGPs and NNGPs. It also showed a dramatic improvement in the Evidence Lower Bound (ELBO), jumping from -0.301 (DGP) to -0.198 (DIWP).
Limitations and Future Work
While DIWPs represent a significant step forward for Bayesian deep learning, the current work focuses on fully-connected layers and isotropic kernels. Modern deep learning relies heavily on convolutional or attention-based structures, and extending DKPs to these architectures remains a major open challenge.
Additionally, the experiments used a relatively small number of inducing points (100). While sufficient to outperform standard DGPs, this is far fewer than the parameter count of state-of-the-art CNNs, explaining why the absolute accuracy on CIFAR-10 (50.5%) trails specialized image models. Finally, the authors note that a full measure-theoretic treatment (such as the Kolmogorov extension theorem for these specific matrix processes) is left for future mathematical work.
Summary updated