Gaussian Mean Field Regularizes by Limiting Learned Information

Julius Kunze, Louis Kirsch, Hippolyt Ritter, David Barber

TL;DR

This paper provides a theoretical explanation for why Gaussian Mean Field (GMF) variational inference acts as a powerful regularizer: it mathematically limits the "information capacity" of a model. By reinterpreting GMF as a noisy communication channel, the authors show that it places a hard upper bound on the mutual information between training data and model parameters, effectively preventing the model from "memorizing" noise.

What Problem Does This Paper Address?

In Bayesian machine learning, we often use Variational Inference (VI) to approximate complex posterior distributions. A common choice is the Gaussian Mean Field (GMF) approach, which assumes the posterior is a factorized Gaussian. While researchers have long observed that GMF has a "regularizing" effect—helping models generalize better to unseen data—the underlying reason was poorly understood.

The authors tackle the gap between the Minimum Description Length (MDL) principle (which focuses on compression) and Generalization Error (which focuses on performance on new data). Specifically, they aim to link GMF to recent theoretical bounds that suggest generalization is improved when the mutual information between the model parameters and the training data is limited.

Methods

The core contribution is a mathematical reinterpretation of GMF. The authors show that maximizing the Evidence Lower Bound (ELBO) in a standard model is equivalent to performing point estimation in a "Noisy Model."

  1. The Noisy Model Reinterpretation: They construct a generative model where "clean" parameters ($\theta$) are injected with Gaussian noise to create "noisy" parameters ($\tilde{\theta}$). The likelihood of the data then depends only on these noisy parameters.
  2. Information Capacity: By treating the parameter-learning process as a communication channel, they use the Data Processing Inequality to prove that the mutual information between the data ($D$) and the learned parameters ($\theta$) is bounded by the mutual information between the clean and noisy parameters.
  3. Quantifying Bits: They derive an explicit formula for this capacity in bits. For standard variational inference (where the complexity term weight $\beta = 1$), the capacity is approximately 0.45 bits per parameter dimension.
  4. Scaling with $\beta$: They extend this to the "$\beta$-VAE" framework, showing that increasing the weight of the KL-divergence term ($\beta > 1$) directly corresponds to lowering the information capacity of each parameter.

Datasets

The authors evaluated their framework on several standard benchmarks, specifically focusing on "small data" regimes where overfitting is most prevalent:

  • CIFAR-10: Used for supervised classification, restricted to a subset of the first 5,000 samples.
  • MNIST: Used for unsupervised image reconstruction with Variational Autoencoders (VAEs), using a tiny training set of only 200 examples.
  • Fashion MNIST: Used for qualitative analysis of reconstruction quality and uncertainty.

Key Insights and Ideas

  • Capacity as a Universal Metric: Instead of just tuning abstract hyperparameters like $\beta$ or weight decay, researchers can think in terms of bits. This provides a more intuitive, quantitative measure of how much a model is allowed to learn from its training set.
  • The "Goldilocks" Zone of Information: The experiments reveal a clear U-shaped curve for generalization. If the capacity is too high, the model overfits (memorizes the training data). If it's too low, the signal is "drowned in noise," leading to underfitting.
  • Architecture vs. Capacity: Interestingly, larger networks are more resilient to higher total capacities before they start overfitting. This suggests that while total capacity matters, the per-parameter noise level is a crucial factor in how a specific architecture handles information.
  • Visualizing Uncertainty: In the Fashion MNIST experiments, the authors show that at intermediate capacities, the model produces "sensible uncertainty"—reconstructions have gray pixels (high entropy) in areas where the model is unsure, rather than being overconfident and wrong.

Key Results

  • Supervised Learning (CIFAR-10): Decreasing model capacity (by increasing noise) initially improves test log-likelihood significantly until an optimal point is reached. Beyond that point, performance drops as the model becomes too noisy to learn (Figure 3).
  • Unsupervised Learning (MNIST): The test ELBO is not invariant to the choice of prior, but the trend remains consistent: there is a specific capacity range that maximizes generalization (Figure 4a).
  • Data Scaling: As the training set size increases, the model requires higher capacity to fit the data effectively. This confirms that the "Information Bottleneck" must be tuned relative to the amount of available data (Figure 5a).

Limitations and Future Work

  • Learning Dynamics: The current theory assumes exact inference in the noisy model. In reality, the dynamics of Stochastic Gradient Descent (SGD) add their own "implicit" noise and regularization. The authors suggest that quantifying the mutual information created by the optimization process itself is a promising next step.
  • Architecture Agnosticism: The derived bounds are largely agnostic to the specific neural network architecture. Tightening these bounds by incorporating architectural constraints (like the number of layers or types of activations) remains an open challenge.
  • Beyond Gaussian: The work is restricted to Gaussian Mean Field. Extending this information-theoretic perspective to more flexible variational distributions (like normalizing flows) would be highly valuable.

Summary updated

BibTeX
@inproceedings{kunze2019gaussian,
  author = {Julius Kunze and Louis Kirsch and Hippolyt Ritter and David Barber},
  title = {{Gaussian Mean Field Regularizes by Limiting Learned Information}},
  booktitle = {Entropy},
  year = {2019},
  url = {https://openreview.net/forum?id=NSOwZO4DtnD},
}

Loading related content...

Figure