TL;DR
This paper introduces "Representational Complexity," a novel information-theoretic measure to quantify how distributed task-relevant information is across neurons in a neural network. They demonstrate that this complexity decreases as information flows through deeper layers and during training, offering a principled way to understand neural representation dynamics.
What Problem Does This Paper Address?
Understanding the inner workings of neural networks remains a significant challenge. While we know that hidden layers distill features, the precise way information is represented and how this representation evolves during training is not well understood. Specifically, it's unclear how task-relevant information (like a classification label) is distributed among individual neurons – is it concentrated in a few, or spread across many? This lack of understanding hinders principled algorithm development and the adoption of AI in critical applications. Traditional information-theoretic measures struggle to disentangle redundant and synergistic information, making it difficult to quantify this "information sparsity."
Methods
The core of this paper is the application of Partial Information Decomposition (PID), a recent extension of information theory. PID allows for the disentanglement of mutual information into fundamental components called "atoms," which represent unique, redundant, or synergistic contributions.
The authors introduce Representational Complexity (C), a measure derived from PID. It quantifies the average difficulty of accessing a piece of information, essentially asking: "On average, how many neurons do I need to observe simultaneously to get a piece of information?" A low complexity (close to 1) means information is easily accessible from single neurons, while a high complexity (close to the number of neurons) implies information is highly synergistic and requires observing many neurons together.
For larger layers where full PID is computationally infeasible, they propose two methods:
- Subsampling: Randomly selecting a subset of neurons. However, they note this has conceptual flaws and can lead to under/overestimation.
- Coarse-graining: Combining neurons into fewer, higher-dimensional "super-variables." They prove theoretical bounds for this approach, making it more sound.
Datasets
- MNIST: Used for training and evaluating fully-connected deep neural networks.
- CIFAR10: Used for training and evaluating a convolutional neural network.
The paper also mentions using a modified MNIST dataset with shuffled labels to investigate overfitting.
Key Insights and Ideas
- Information is Synergistic: Neural representations aren't just about individual neurons holding information; significant portions can be encoded synergistically across multiple neurons, making it harder to access.
- Complexity Decreases with Depth: As information flows through successive hidden layers, the representational complexity tends to decrease. This suggests that deeper layers are more efficient at consolidating and making information accessible.
- Complexity Decreases with Training: During training, networks learn to represent information more efficiently, leading to a reduction in representational complexity.
- PID is Crucial: Traditional mutual information measures are insufficient. PID is essential for disentangling the different ways information is distributed, enabling the definition of a meaningful complexity measure.
- Quantization is Key for Analysis: To apply information theory to deep networks, the authors found it necessary to use quantized activation values, which makes mutual information well-defined and avoids issues with continuous variables.
Key Results
- MNIST and CIFAR10: In quantized deep neural networks trained on MNIST and CIFAR10, representational complexity consistently decreases both through successive hidden layers and over training epochs.
- One-Hot Encoding: For one-hot encoded labels, the representational complexity is theoretically proven to be 1, meaning information is accessible from single neurons.
- Coarse-Graining Bounds: The authors proved theoretical bounds for representational complexity using coarse-graining, showing it can be bounded by the complexity of the coarse-grained variables.
- Comparison to Other Methods: Representational complexity shows a more consistent decrease over layers compared to methods like Reing et al.'s directed local differences or local intrinsic dimension, suggesting its target-oriented nature is beneficial.
- Train vs. Test Complexity: A consistent difference between train and test representational complexity is observed, particularly in cases of overfitting (e.g., with shuffled labels), suggesting this measure could offer new perspectives on this phenomenon.
Limitations and Future Work
- Computational Cost: Full PID computation is prohibitively expensive for layers with more than ~5 neurons. Subsampling and coarse-graining are proposed as workarounds, but subsampling has conceptual issues, and coarse-graining bounds become loose for very large networks.
- Discrete Variables: The current implementation of the Isx measure is for discrete variables. While a continuous generalization exists, efficient estimators are needed for broader applicability.
- Generalization to Continuous Systems: Extending the analysis to continuous systems with finite information content (e.g., due to noise) is a future direction.
- Overfitting Insights: The observed differences in train/test complexity, especially with shuffled labels, suggest further research into overfitting using this measure.
- Broader Applications: The authors propose representational complexity as a tool for analyzing complex systems beyond neural networks, including biological and ecological systems.
- Alternative PID Measures: Exploring PID based on synergy instead of redundancy could potentially lead to more efficient computation for larger networks.
- Class-Specific Complexity: Analyzing representational complexity for individual target realizations (e.g., specific digit classes) could reveal class-dependent representation dynamics.
Summary updated