TL;DR
This paper introduces novel adaptive methods for estimating mutual information in deep neural networks, enabling a more robust analysis of the "information bottleneck" theory. They demonstrate that compression, a key aspect of generalization according to this theory, is not limited to networks with saturating activation functions and can be influenced by factors like L2 regularization.
What Problem Does This Paper Address?
The "information bottleneck" (IB) theory suggests that deep neural networks generalize well by compressing their internal representations, discarding irrelevant information while retaining task-relevant signals. This compression is often visualized by plotting the mutual information between a layer's activations and the input ($I(T, X)$) against the mutual information between the activations and the target output ($I(T, Y)$). The theory predicts a "compression phase" where $I(T, X)$ decreases while $I(T, Y)$ increases.
However, empirical evidence for this theory has been conflicting. Previous studies primarily observed this compression behavior in networks using saturating activation functions (like tanh). Networks with non-saturating activation functions (like ReLU), despite achieving similar performance, often showed no compression, only fitting (increasing $I(T, X)$ and $I(T, Y)$). This discrepancy raised questions about the universality of the IB theory and the role of activation functions. A major challenge in this research is the difficulty of accurately estimating mutual information, especially for continuous and unbounded activations, which can lead to inconsistent or misleading results.
Methods
The core contribution of this paper lies in developing and applying adaptive mutual information estimation techniques. Traditional methods often struggle with the varying distributions of activations in deep networks, particularly those with non-saturating functions. The authors propose two main adaptive approaches:
- Entropy-Based Adaptive Binning (EBAB): Instead of using fixed bin widths or ranges, EBAB dynamically determines bin boundaries for each layer and epoch. The bins are chosen such that each contains an equal number of unique observed activation levels. This ensures that the binning is sensitive to the actual distribution of activations, preventing issues where most activations fall into a single bin, especially with unbounded functions.
- Adaptive Kernel Density Estimation (aKDE): This method builds upon standard KDE by adapting the noise variance used in the estimation. The noise variance ($\sigma^2$) is scaled proportionally to the maximum activation value in each layer and epoch. This addresses the problem that a fixed noise level can have a disproportionately large effect on layers with smaller activation values, leading to inconsistent estimates.
These adaptive estimators are then used to analyze the information dynamics of networks with various activation functions and regularization techniques.
Datasets
The paper uses a standard binary classification task with 12-bit binary input vectors and a 1-bit binary output. The dataset is described as having equally balanced categories. The specific dataset is not named but is stated to be the same one used in previous related work (Shwartz-Ziv & Tishby, 2017).
Key Insights and Ideas
- Compression is not exclusive to saturating activations: The paper definitively shows that networks with non-saturating activation functions (like ReLU, ELU, Swish, etc.) can exhibit compression, challenging previous findings.
- Activation function matters, but not solely for saturation: While saturating functions might facilitate compression, the type of non-saturating function also influences the degree and presence of compression. Some non-saturating functions show more compression than others.
- Initialization is crucial: The behavior of compression can vary significantly between different random initializations of the same network architecture and activation function. This suggests that compression is not an inherent property of all networks of a certain type but can be sensitive to initial conditions.
- L2 regularization strongly promotes compression: Applying L2 regularization to network weights significantly induces compression, pulling layer information closer together on the information plane. This suggests L2 regularization might act as a mechanism to enforce information compression.
- Compression in the last layer correlates with generalization: While compression in hidden layers doesn't show a strong correlation with accuracy, compression in the final output layer (softmax) is positively correlated with generalization performance.
Key Results
- Using EBAB and aKDE, the authors demonstrate compression in networks with various non-saturating activation functions, including ReLU, ELU, Swish, and others.
- They found that for ReLU networks, compression is not guaranteed and depends heavily on initialization. Some initializations show compression, others only fitting, and some neither.
- L2 regularization, even with small penalties, leads to a noticeable increase in compression across layers, clustering their mutual information values.
- A quantitative compression metric was developed. Analysis using this metric showed that compression in hidden layers did not correlate significantly with accuracy, but compression in the last softmax layer did.
Limitations and Future Work
- Network Size: The authors acknowledge that the networks tested were relatively small and simple (5 hidden layers). They suggest that experiments with larger, more complex convolutional neural networks could reveal different behaviors.
- Method Rigor: While the adaptive methods are shown to be effective, the authors note that they were not "rigorously derived" and are more heuristic.
- Compression Metric: The developed compression metric is described as "ad-hoc."
- Understanding Factors: Further work is needed to fully understand the other factors contributing to compression beyond activation function type and initialization.
- Optimizing Regularization: The findings on L2 regularization could pave the way for research into optimizing regularization to stabilize layers on the information bottleneck bound for better generalization.
Summary updated