[Paper Review] Entropy and mutual information in models of deep neural networks
This paper proposes a tractable framework to compute entropy and mutual information in deep neural networks using statistical physics methods under the assumption of orthogonally-invariant weight matrices. It rigorously proves the validity of these computations for two-layer networks with Gaussian weights using the adaptive interpolation method, and demonstrates through synthetic experiments that the link between compression and generalization remains unclear in this setting.
We examine a class of deep learning models with a tractable method to compute information-theoretic quantities. Our contributions are three-fold: (i) We show how entropies and mutual informations can be derived from heuristic statistical physics methods, under the assumption that weight matrices are independent and orthogonally-invariant. (ii) We extend particular cases in which this result is known to be rigorously exact by providing a proof for two-layers networks with Gaussian random weights, using the recently introduced adaptive interpolation method. (iii) We propose an experiment framework with generative models of synthetic datasets, on which we train deep neural networks with a weight constraint designed so that the assumption in (i) is verified during learning. We study the behavior of entropies and mutual informations throughout learning and conclude that, in the proposed setting, the relationship between compression and generalization remains elusive.
Motivation & Objective
- To develop a tractable method for computing information-theoretic quantities like entropy and mutual information in deep neural networks.
- To establish a rigorous foundation for heuristic statistical physics formulas used in deep learning models with non-linearities and high-dimensional weights.
- To investigate whether compression—measured via mutual information—explains generalization in deep networks, using controlled synthetic experiments.
- To validate theoretical predictions through numerical experiments on generative models with constrained weight matrices that satisfy the orthogonally-invariant assumption.
Proposed method
- Uses a stochastic multi-layer feed-forward neural network model with componentwise non-linearities and i.i.d. noise in activations.
- Applies the replica method from statistical physics to derive closed-form expressions for entropies and mutual informations under the assumption of orthogonally-invariant weight matrices.
- Employs the adaptive interpolation method to rigorously prove the replica formula for two-layer networks with Gaussian weights.
- Designs a weight constraint during training to enforce orthogonally-invariant weight matrices, ensuring the theoretical assumptions hold throughout learning.
- Constructs synthetic datasets with controlled correlations and trains deep networks under this constraint to study information flow.
- Employs high-dimensional asymptotic analysis with $ n_0 \to \infty $, $ n_\ell / n_0 \to \alpha_\ell $, and uses concentration of measure to bound fluctuations in empirical estimates.
Experimental results
Research questions
- RQ1Can information-theoretic quantities such as entropy and mutual information be computed reliably in deep neural networks under non-linear, high-dimensional settings?
- RQ2Is the replica method's prediction for mutual information in deep networks rigorously valid for two-layer models with Gaussian weights?
- RQ3Does compression—measured as a reduction in mutual information between layers—correlate with generalization performance in deep networks under controlled conditions?
- RQ4How do entropies and mutual informations evolve during training in a setting where the theoretical assumptions are satisfied?
Key findings
- The replica formula for mutual information and entropy in deep networks is rigorously proven to hold for two-layer networks with Gaussian i.i.d. weights using the adaptive interpolation method.
- The theoretical predictions derived via the replica method are shown to be accurate in numerical experiments on synthetic datasets with constrained weight matrices.
- Despite satisfying the theoretical assumptions, the evolution of mutual information during training does not exhibit a clear compression-to-generalization relationship.
- The study finds that mutual information between layers does not consistently decrease during training, challenging the idea that compression is a universal driver of generalization.
- The variance of empirical mutual information estimates is controlled via concentration inequalities, validating the stability of the numerical framework.
- The framework successfully isolates the role of weight matrix structure, showing that orthogonally-invariant weights enable exact computation and validation of information-theoretic quantities.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.