Abstract
Deep Neural Networks (DNNs) often struggle with generalization and sensitivity to irrelevant input variations. This paper introduces SHADE (SHAnnon DEcay), a novel regularization technique rooted in information theory. By explicitly minimizing the conditional entropy of internal representations, SHADE encourages neurons to learn invariant features that are consistent across samples of the same class. Experimental results demonstrate that SHADE consistently outperforms standard regularizers like Weight Decay and Dropout, particularly in scenarios with limited training data.
Introduction: The Quest for Invariance
Despite the widespread success of Deep Neural Networks, the theoretical underpinnings of their generalization capabilities remain partially understood. Traditional regularization methods, such as Weight Decay or Dropout, are effective but often lack a direct link to the desired property of feature invariance. A robust classifier should ideally produce consistent internal signals for a given class, regardless of nuisance variables like color, orientation, or background noise.
SHADE addresses this by making the pursuit of invariance explicit. It treats neurons as information channels and seeks to reduce the "noise" or uncertainty in their outputs when the class label is known.
Methods: Minimizing Conditional Entropy
The core objective of SHADE is to minimize the conditional entropy $H(Y | C)$, where $Y$ represents the internal activation of a neuron and $C$ is the class label. A low conditional entropy implies that the neuron's response is highly predictable once the class is identified, signifying that the neuron has captured a stable, class-relevant feature.
Directly calculating Shannon entropy in high-dimensional deep networks is computationally intractable. To overcome this, the authors propose two key approximations:
- Binary Latent Variable ($Z$): Each neuron is modeled as a detector for a specific pattern, represented by a binary state $Z \in \{0, 1\}$. This simplifies the information-theoretic objective.
- Variance Bound: Utilizing the mathematical relationship where entropy is bounded by a function of variance, the authors minimize the conditional variance $Var(Y | Z)$. This surrogate objective is easy to compute during standard backpropagation.
SHADE is implemented as a layer-wise and neuron-wise penalty. It maintains a running average of neuron statistics, adding minimal computational overhead and memory requirements.
Experimental Evaluation
The effectiveness of SHADE was evaluated across several benchmark datasets, including CIFAR-10, ImageNet, and MNIST-M (a variant with complex backgrounds designed to test robustness against distracting information).
Key Results and Insights
SHADE demonstrates consistent performance improvements across various architectures, including MLPs, AlexNet, and ResNet. On CIFAR-10, it improved a standard MLP's accuracy from 64.7% to 70.5%. On the large-scale ImageNet dataset, SHADE boosted the top-1 accuracy of a ResNet-101 from 78.5% to 80.1%.
The most striking advantage of SHADE is observed in "low-data" regimes. When training data is scarce, the model's ability to extract invariant features becomes critical to prevent overfitting.
As shown in the figure above, SHADE provides a substantial accuracy boost (up to 15 percentage points) when training on as few as 250 samples. This suggests that SHADE effectively guides the network toward more generalizable representations even with minimal supervision.
Conclusion and Future Directions
SHADE offers a theoretically grounded approach to regularization by directly targeting intra-class invariance. Its simplicity allows it to be easily integrated into existing deep learning pipelines. While current results are promising, future work could explore more complex latent models beyond the binary assumption and extend the application of SHADE to non-classification tasks such as object detection or reinforcement learning.
Summary updated