Abstract
Despite powerful representation ability, deep neural networks (DNNs) are prone to over-fitting because of over-parametrization. Existing works have explored various regularization techniques to tackle the over-fitting problem, including target-based regularization approaches like label smoothing. To alleviate over-fitting, we propose a new and general regularization framework that introduces an auxiliary network to dynamically incorporate guided semantic disturbance to the labels. We call it Network as Regularization (NaR). During training, the disturbance is constructed by a convex combination of the predictions of the target network and the auxiliary network. These two networks are initialized separately, and the auxiliary network is trained independently while providing instance-level and class-level semantic information to the target network. Experimental results show that NaR outperforms many state-of-the-art target-based regularization methods and provides synergistic benefits when combined with other approaches like mixup.
Introduction
Deep Learning models are frequently over-parameterized, possessing significantly more parameters than training examples. This often leads to over-confidence, where models memorize one-hot labels (e.g., "this is 100% a cat") rather than learning the underlying semantic nuances (e.g., "this looks 90% like a cat but shares features with a dog").
While existing solutions like Label Smoothing (adding uniform noise) or Knowledge Distillation (using a pre-trained teacher) offer improvements, they have limitations. Label smoothing utilizes "dumb" noise that ignores class relationships, while teacher-student models typically require a computationally expensive two-stage training process. The NaR framework addresses these issues by providing "smart," semantic noise dynamically during a single training run.
Methodology
The core of the Network as Regularization (NaR) framework is the simultaneous training of an Auxiliary Network (AN) alongside the Target Network (TN).
Training Procedure
- Parallel Training: Both networks are initialized and trained simultaneously. The AN is trained using standard ground-truth labels.
- Semantic Disturbance: At each iteration, a disturbance ($\xi$) is calculated as a convex combination of predictions from both the TN and AN.
- Label Softening: Hard ground-truth labels are replaced with "disturbed" labels ($\tilde{y}$), blending the original label with semantic noise.
- Optimization: The TN minimizes loss against these softened labels. Crucially, no gradients flow back from the TN to the AN, ensuring the auxiliary process remains an independent guide.
Upon completion, the auxiliary network is discarded, resulting in zero inference overhead for the deployed target model.
Experimental Results and Insights
The authors validated NaR across standard benchmarks including CIFAR-10/100 for image classification and Penn Treebank (PTB) for language modeling.
Semantic vs. Uniform Noise
Unlike label smoothing, which treats all incorrect classes equally, NaR's disturbance is semantic. If an image of a "lion" shares visual features with a "kangaroo," the auxiliary network's prediction reflects this, encouraging the target network to recognize inter-class similarities.
Performance Benchmarks
NaR consistently outperformed standard baselines and other regularization techniques:
- Image Classification: On CIFAR-100 (ResNet-32), NaR achieved a classification error of 27.82%, significantly lower than the baseline (31.05%) and Label Smoothing (29.38%).
- Language Modeling: On the PTB dataset, NaR-small achieved a test perplexity of 73.77, compared to the baseline's 77.26.
- Synergy: NaR proved to be "stackable," providing further performance boosts when combined with techniques like Mixup or Adversarial Training (AT).
Conclusion
NaR provides a robust, architecture-agnostic framework for regularizing deep networks through semantic label disturbance. While it doubles the computational cost during the training phase, the lack of inference overhead and superior generalization make it a compelling alternative to static label smoothing. Future work may explore non-neural auxiliary models or applications in complex domains like human pose estimation.
Summary updated