Abstract
Deep neural networks frequently encounter the "degradation problem," where increasing network depth leads to a precipitous drop in trainability and accuracy, independent of overfitting. While architectural innovations like residual connections and batch normalization have mitigated these issues, they often serve as empirical workarounds rather than addressing the underlying information-theoretic causes. This paper introduces Layerwise Batch-Entropy Regularization, a novel method designed to prevent "information collapse" by ensuring consistent information flow through every layer. By maintaining a minimum entropy threshold, the authors demonstrate the ability to train "vanilla" fully connected and convolutional networks up to 500 layers deep—a feat previously considered impossible without skip connections.
Introduction
In modern deep learning, the ability to scale depth is synonymous with performance. However, as networks grow deeper, they often stop being "trainable." This degradation problem is typically bypassed using architectural "bandages" such as Residual Connections (ResNets), Batch Normalization, or highly specialized weight initializations. While effective, these methods do not fully explain why information stops flowing in deep "vanilla" (plain) architectures.
This research investigates the degradation problem from an information-theoretic perspective. The authors propose that the root cause of training failure in deep vanilla networks is a phenomenon called information collapse, where the outputs of neurons across a mini-batch become identical, rendering gradients uninformative. To solve this, they propose a differentiable regularization term that forces layers to maintain a specific level of entropy throughout the training process.
Methodology: Batch-Entropy Regularization
The core of the proposed method is the Batch-Entropy metric, which quantifies the randomness or information content of neuron outputs within a mini-batch.
1. Quantifying Information
If every input in a mini-batch causes a specific neuron to fire with the exact same value, that neuron conveys zero information; it is effectively "dead." The authors measure the entropy of these activations to identify and prevent such collapses.
2. Differentiable Approximation
To integrate entropy into a standard gradient descent pipeline, the authors assume that neuron outputs follow a Gaussian distribution. This allows the entropy to be calculated using the standard deviation of the batch, making the formula fully differentiable and computationally efficient.
3. The Regularizer and Dynamic Scaling
The authors introduce a penalty term to the loss function that pushes each layer toward a target entropy level ($\alpha$). Crucially, this entropy loss is scaled by the current Cross-Entropy loss (the primary task error). This Dynamic Scaling ensures that the regularization is most aggressive when the network is struggling to learn (high error) and naturally fades as the network converges on a solution, preventing the regularizer from interfering with fine-tuning in the later stages of training.
Experimental Results
The effectiveness of Batch-Entropy Regularization was tested across diverse benchmarks, including computer vision (MNIST, CIFAR-10/100, ImageNet100) and natural language processing (GLUE tasks).
Resurrecting the 500-Layer Vanilla Network
The most striking result is the successful training of a 500-layer vanilla Fully Connected Network (FNN) and a 500-layer Convolutional Neural Network (CNN) on MNIST.
- Without Regularization: These networks failed to learn entirely, stagnating at ~11% accuracy (random chance).
- With Regularization: The 500-layer FNN achieved 95.2% accuracy, and the 500-layer CNN reached 99.2%.
- Comparison with Normalization: Standard techniques like Batch Normalization, Layer Normalization, and Weight Normalization all failed to make the 500-layer vanilla FNN trainable, highlighting that entropy regularization addresses a bottleneck that standard normalization cannot.
Beyond Vanilla Architectures
The method also demonstrated utility in modern architectures:
- Transformers: Fine-tuning BERT-Large with batch-entropy regularization improved performance on GLUE tasks, such as increasing MRPC scores from 89.06 to 89.28.
- Autoencoders: In 25-layer deep autoencoders, which often collapse to trivial solutions (outputting the dataset mean), the regularization significantly improved the Mean Structural Similarity Index (MSSIM) by preventing representational collapse.
Discussion and Insights
Information Collapse and the Loss Landscape
The authors provide a theoretical link between entropy and the loss surface. When batch-entropy hits zero, the gradient becomes independent of the target labels, creating a "flat" region in the loss landscape where optimizers get stuck. Batch-entropy regularization acts as a guide, "bending" the loss surface to push weights toward regions where information flow is restored.
The Relationship Between Depth and Volume
Experimental data suggests that deeper networks require a higher entropy threshold ($\alpha$). Conceptually, the deeper the "pipe" (the network), the more information "volume" must be pumped through the initial layers to ensure a meaningful signal reaches the final output layer.
Conclusion and Limitations
Layerwise Batch-Entropy Regularization offers a powerful mathematical alternative to architectural modifications for ensuring trainability in deep networks. By focusing on information flow rather than structural shortcuts, it enables the training of extremely deep vanilla architectures and enhances the performance of state-of-the-art models like Transformers.
However, the method introduces two new hyperparameters—$\alpha$ (target entropy) and $\beta$ (weight of the entropy loss)—which currently require grid searching for optimal results. Additionally, because the metric is calculated across a batch, it is sensitive to batch size and requires a size greater than one. Future research will focus on automating hyperparameter selection and investigating whether this improved information flow contributes to adversarial robustness.
Summary updated