Abstract
In discriminative settings such as regression and classification there are two random variables at play, the inputs X and the targets Y. Here, we demonstrate that the Variational Information Bottleneck can be viewed as a compromise between fully empirical and fully Bayesian objectives, attempting to minimize the risks due to finite sampling of Y only. We argue that this approach provides some of the benefits of Bayes while requiring only some of the work.
Introduction
In machine learning, we face a constant tug-of-war between performance and generalization. Large neural networks trained with Maximum Likelihood (ML) are powerful but prone to overfitting, especially on small datasets. They tend to be "overconfident," assigning high probability to incorrect labels because they essentially memorize the training samples.
The gold standard for solving this is Bayesian inference, which treats model parameters as distributions rather than fixed points. While Bayesian methods offer excellent generalization and uncertainty estimates, they are notoriously expensive, often requiring complex Markov Chain Monte Carlo (MCMC) sampling or high-dimensional variational approximations. This paper asks: Is there a middle ground? Can we get the benefits of Bayes without the massive computational overhead?
Methodology: VIB as "Half Bayes"
The authors demonstrate that the Variational Information Bottleneck (VIB) is that middle ground. Standard VIB was originally motivated by information theory: find a representation $Z$ that is as informative as possible about the target $Y$ (maximize $I(Z;Y)$) while compressing the input $X$ as much as possible (minimize $I(Z;X)$).
This paper provides a new derivation of VIB using PAC-Bayes bounds. They show that:
- Full Bayes attempts to minimize risk by accounting for finite sampling of both inputs ($X$) and targets ($Y$).
- VIB is "Half Bayes" because it applies a Bayesian penalty (a KL divergence term) only to the representation of the targets. It protects the model from overfitting to the specific $Y$ values in the training set but remains "empirical" (ML-like) regarding the distribution of $X$.
Crucially, while full Bayesian neural networks require maintaining distributions over millions of parameters, VIB only requires a distribution over the output activations (the representation $Z$). This makes VIB significantly faster and easier to implement using standard backpropagation.
Experimental Setup
The authors evaluate their claims using two primary setups:
- Synthetic Toy Problem: A 1D regression task where $y$ is a cubic function of $x$ with added Gaussian noise. This allows for clear visualization of how different models handle uncertainty and interpolation between data points.
- MNIST: The classic handwritten digit classification dataset. This is used to compare the predictive uncertainty of VIB versus deterministic models on real-world image data.
Results and Discussion
In the toy regression task, VIB produced predictive distributions that closely matched the "true" distribution and the full Bayesian model. In contrast, the deterministic ML model failed to capture uncertainty, overshooting wildly between data points.
Quantitatively, VIB was highly competitive. On the toy problem, VIB ($\tau=10^4$) achieved an empirical KL of 0.763, much closer to the Full Bayesian model (0.330) than the deterministic model (1090).
On MNIST, while both VIB and deterministic models achieved similar accuracy (~99.2–99.4%), VIB showed much better test log-likelihood (-508 vs -786). Qualitatively, when a deterministic model is wrong, it is often 95% confident in its error. When VIB is wrong, it typically distributes its probability across several plausible classes, reflecting genuine ambiguity in the input.
Key Insights
- The "Multiple Target" Intuition: The authors show that if you had infinite samples of $Y$ for every $X$, a standard model wouldn't overfit. VIB effectively simulates this "multiple target" benefit through its objective function without actually needing extra data.
- Principled Compromise: VIB is framed as a pragmatic choice. It discards some of the formal guarantees of full Bayes to gain massive improvements in training speed, yet it retains the qualitative "feel" of a Bayesian model (e.g., it knows when it's uncertain).
- Lower Dimensionality: By placing the stochasticity on the representation $Z$ rather than the weights $\theta$, the model operates in a much lower-dimensional space, making optimization more stable and tractable.
Conclusion
The primary limitation is that VIB is only "Half Bayes." Because it doesn't address the finite sampling of inputs ($X$), it doesn't provide a formal PAC-style upper bound on the true classification risk. However, it offers a powerful and efficient alternative to full Bayesian methods for uncertainty quantification. Future work could involve automated tuning of the compression hyperparameter $\tau$ or extending this logic to other parts of the deep learning pipeline.
Summary updated