Bayesian inference for large models, such as Deep Neural Networks (DNNs), is notoriously difficult. Traditionally, researchers perform inference in parameter space by tuning weights. However, the parameter space of a large neural network is high-dimensional, full of symmetries, and plagued by strong dependencies, making the posterior distribution incredibly hard to approximate.
Function-space inference offers a compelling alternative: instead of focusing on weights, we reason about the distribution of the functions the model represents. Implicit Processes (IPs) are a powerful tool for this, defining a stochastic process through a generative mechanism (like a Bayesian Neural Network with a prior on its weights).
Until recently, IP-based methods faced a strict trade-off:
- Variational Implicit Processes (VIP): Can tune the prior parameters to the data but are forced to use a Gaussian approximation for the predictive distribution, missing complex patterns like bimodality.
- Functional Variational BNNs (fBNN): Can produce flexible, non-Gaussian predictions but cannot effectively tune the prior parameters to the data.
To bridge this gap, researchers introduced Sparse Implicit Processes (SIP), a scalable framework for approximate Bayesian inference that operates in the space of functions. SIP successfully combines the flexibility of implicit processes with the scalability of inducing-point methods, providing a way to build models that are computationally efficient, capable of capturing complex data patterns, and able to tune prior parameters.
The Sparse Implicit Process (SIP) Method
SIP adapts the "inducing point" strategy—commonly used in Sparse Gaussian Processes—to the world of Implicit Processes. The core components of the method include:
- Inducing Points: Instead of performing inference on all $N$ data points, SIP focuses on a smaller set of $M$ latent variables (inducing points). This significantly reduces computational complexity.
- Functional ELBO: The authors derive a variational objective (Evidence Lower Bound) in function space. Because IPs lack closed-form densities, SIP uses a discriminator-based approach (similar to Adversarial Variational Bayes) to estimate the Kullback-Leibler (KL) divergence between the approximate posterior and the prior.
- Symmetrized KL: A key technical contribution is the use of a symmetrized KL divergence. Standard KL gradients with respect to prior parameters are often negligible. Adding the "reverse" KL term provides the necessary gradients to successfully adapt the prior to the observed data.
- GP Approximation for Conditionals: To make the mathematics tractable, SIP approximates the conditional distribution of the function values given the inducing points using a Gaussian Process, whose mean and covariance are estimated empirically from the IP prior.
Key Insights and Capabilities
SIP demonstrates several unique advantages over traditional methods:
- Robustness to Mis-specification: SIP can capture bimodality even when the underlying model (e.g., a standard BNN) is technically unimodal. By operating in function space and using a flexible implicit posterior, it can effectively bypass a poorly specified prior to fit the data.
- Prior Adaptation: Unlike previous methods that leave the prior fixed, SIP’s ability to tune prior parameters allows it to learn important features of the data distribution before even considering the specific training labels.
- Learning Inducing Locations: SIP doesn't just learn function values; it can learn where the inducing points should be placed. During training, these points automatically migrate to effectively cover the range of the training data.
Experimental Results
The authors evaluated SIP across a diverse range of benchmarks, including synthetic datasets, UCI regression benchmarks, and large-scale datasets like Year Prediction MSD and Airplanes Delay.
Bimodality Capture: In synthetic tests featuring a bimodal dataset (where $y$ can take one of two distinct values for a given $x$), SIP was the only method to correctly capture bimodal predictive distributions. Even Hamiltonian Monte Carlo (HMC), often considered the "gold standard," failed because it was constrained by unimodal BNN model assumptions.
State-of-the-Art Performance: On standard UCI datasets, SIP (specifically the version using a BNN prior) achieved the best average rank for Log-Likelihood and CRPS (a measure of predictive accuracy and uncertainty).
Scalability: SIP proved highly competitive on the million-scale Airplanes dataset, reaching better results in less training time than many parameter-space methods.
Limitations and Future Work
While highly effective, SIP does have limitations. It relies on a Gaussian Process approximation for the conditional distribution, which is still an approximation of the true underlying implicit process. Additionally, like all adversarial methods, SIP requires careful balancing of the discriminator and the variational model during training to ensure the KL estimate remains accurate. Finally, while using inducing points is much faster than using the full dataset, increasing the number of inducing points to improve accuracy still increases computational overhead roughly cubically, similar to standard sparse GPs.
Summary updated