Information in Infinite Ensembles of Infinitely-Wide Neural Networks

Ravid Shwartz-Ziv, Alexander A. Alemi

Abstract

In this preliminary work, we study the generalization properties of infinite ensembles of infinitely-wide neural networks. Amazingly, this model family admits tractable calculations for many information-theoretic quantities. We report analytical and empirical investigations in the search for signals that correlate with generalization.

Introduction

Understanding why deep neural networks generalize so effectively remains a central challenge in machine learning theory. One compelling hypothesis is the Information Bottleneck (IB) principle, which suggests that networks generalize by "compressing" input data—retaining only the information relevant to the target task. However, measuring Mutual Information (MI) in standard, deterministic networks is notoriously difficult.

This paper sidesteps these hurdles by examining the infinite-width limit. In this regime, networks behave linearly, and ensembles of them follow Gaussian distributions. This mathematical convenience turns intractable information-theoretic integrals into solvable linear algebra, allowing for the exact calculation of metrics like predictive information and representation complexity.

Methodology: The NTK and NNGP Frameworks

The authors utilize the Neural Tangent Kernel (NTK) and Neural Network Gaussian Process (NNGP) frameworks to study infinite ensembles. Key aspects of this approach include:

  • Gaussian Outputs: Due to the Central Limit Theorem, the output of an infinite ensemble for a given input is a conditional Gaussian distribution: $p(z|x) \sim \mathcal{N}(\mu, \Sigma)$.
  • Tractable Metrics: This Gaussian form allows for closed-form expressions of $I(Z; Y)$ (predictive information) and $I(Z; X)$ (representation complexity).
  • Regression Focus: The current derivations rely on training with squared loss, which facilitates the Gaussian output distribution.

Empirical Results and Information Dynamics

The Information Plane and Automatic Compression

By plotting $I(Z; Y)$ against $I(Z; X)$, we can visualize the "Information Plane." A key finding is that compression is automatic in these ensembles; as training progresses, the mutual information between the input and the ensemble output remains finite and often quite small.

Information plane trajectories for ReLU (a) and Erf (b) networks. The red line represents the theoretical optimal Information Bottleneck.

As shown in the figure above, ReLU networks track the theoretical "Optimal Information Bottleneck" line very closely. Early stopping allows these networks to hit the peak of the curve, capturing maximum relevant information with minimum complexity before eventually overfitting in the late stages of training.

Robustness and Activation Functions

The choice of activation function significantly impacts robustness. While ReLU networks appear stable across various initializations, Erf (error function) networks exhibit significant overfitting at late stages, particularly when initialized with low weight variance ($\sigma_w^2$).

Loss vs. Time for ReLU (a) and Erf (b) ensembles across different initial weight variances ($\sigma_w^2$).

The loss curves demonstrate that for Erf networks, low $\sigma_w^2$ values (e.g., 0.10, 0.25) lead to a sharp increase in loss after an initial descent. In contrast, ReLU networks maintain more consistent performance across the tested variance range.

Key Insights

  • Vacuous PAC-Bayes Bounds: Traditional PAC-Bayes bounds rely on the information the parameters carry about the dataset ($I(\theta; D)$). The authors show that in infinite networks, $I(\theta; D)$ actually goes to infinity over time, making these bounds "vacuous" (useless) even as the networks generalize well.
  • Static Fisher Information: While some theories suggest the evolution of Fisher Information controls generalization, in this infinite limit, it remains constant and flat, suggesting its evolution isn't strictly necessary for generalization in this model family.

Conclusion

This work provides a tractable laboratory for studying the information-theoretic underpinnings of deep learning. While the infinite-width limit may not fully capture the "rich" feature learning of finite networks, it reveals that near-optimal compression-prediction trade-offs are achievable even when traditional generalization bounds fail.

Summary updated

BibTeX
@inproceedings{shwartzziv2019information,
  author = {Ravid Shwartz-Ziv and Alexander A. Alemi},
  title = {{Information in Infinite Ensembles of Infinitely-Wide Neural Networks}},
  booktitle = {AABI},
  year = {2019},
  url = {https://openreview.net/forum?id=rh4ET5oKDZq},
}
Figure