Neural Rejuvenation: Improving Deep Network Training by Enhancing Computational Resource Utilization.

Siyuan Qiao, Zhe Lin, Jianming Zhang, Alan L. Yuille · DOI

TL;DR

This paper introduces "Neural Rejuvenation," a novel optimization technique that improves deep neural network performance by actively identifying and re-purposing underutilized neurons during training. By dynamically reallocating and reinitializing "dead" neurons, the method enhances computational resource utilization, leading to significant accuracy gains without increasing model complexity or training time.

What Problem Does This Paper Address?

Deep neural networks, especially those designed for complex tasks like image classification on large datasets, are often over-parameterized. This means that while larger models tend to achieve better performance, a significant portion of their computational resources (parameters and computations) might be underutilized. This underutilization is a waste of training and inference time and limits the models' full potential. Existing methods like network pruning focus on removing these underutilized parts to create smaller, more efficient networks. However, this paper tackles the inverse problem: how to better utilize the existing computational capacity by "rejuvenating" dormant or inefficient neurons and reallocating them to where they are most needed.

Methods

The core of this work is the Neural Rejuvenation (NR) optimizer, which acts as a plug-in for standard gradient-based optimizers like SGD. NR introduces three key components:

  1. Resource Utilization Monitoring: This module continuously estimates the "liveliness" of neurons by examining their activation scales and learnable scaling parameters (gamma values) within batch normalization layers. If a neuron's scaling parameter falls below a certain threshold relative to the maximum in its layer, it's considered "dead."
  2. Dead Neuron Rejuvenation: When the overall resource utilization drops below a predefined threshold, this component is triggered. It involves:
  3. Resource Reallocation: Identifying the computational "savings" from dead neurons and reallocating them to layers that have a higher proportion of "survived" (active) neurons, effectively increasing their capacity. This reallocation is done using a shared linear expansion rate.
  4. Parameter Reinitialization: Reinitializing the parameters associated with the rejuvenated neurons. Importantly, connections to survived neurons are preserved, while connections from rejuvenated neurons to survived neurons are set to zero to maintain existing mappings.
  5. Neural Rescaling: A post-rejuvenation step to rescale the activation values of all neurons (survived and rejuvenated) to prevent issues arising from very small scaling values, ensuring better gradient flow.
  6. Training with Mixed Neuron Types: After rejuvenation, layers contain both "survived" (S) and "rejuvenated" (R) neurons. The paper proposes two training strategies:
  7. NR-CR (Cross-Connections Removed): Removing direct connections between S and R neurons, forcing R neurons to learn distinct features.
  8. NR-CA (Cross-Connections Added): Keeping cross-connections and introducing cross-attention mechanisms to enhance capacity, particularly useful when S neurons alone struggle to fit the data.

The paper also introduces an adaptive penalty coefficient (λ) that is dynamically adjusted during training to balance sparsity and performance, freeing users from manual tuning.

Datasets

The paper evaluates Neural Rejuvenation on the following datasets:

  • ImageNet: A large-scale image classification dataset.
  • CIFAR-10 and CIFAR-100: Smaller image classification datasets.

The authors use standard architectures trained on these datasets and do not introduce new benchmarks.

Key Insights and Ideas

  • Rejuvenation, not just Pruning: The paper shifts the focus from merely removing underutilized components to actively re-purposing them, unlocking more potential from existing model capacity.
  • Dynamic Resource Allocation: The real-time monitoring and reallocation of resources based on neuron liveliness is a key innovation, allowing the model to adapt its structure and capacity during training.
  • "Dead" Neurons as Opportunities: The concept of "dead" neurons isn't a failure but an opportunity to reallocate computational power to where it's most needed, leading to improved performance.
  • Adaptive Sparsity: The automatic adjustment of the sparsity coefficient (λ) simplifies the optimization process and makes the method more robust across different tasks and architectures.
  • Mixed Neuron Training is Crucial: The paper highlights that simply rejuvenating neurons isn't enough; specialized training schemes are necessary to effectively leverage the mixed population of survived and rejuvenated neurons.

Key Results

  • Significant Accuracy Improvements: Neural Rejuvenation consistently improves top-1 accuracy across various architectures (ResNet, VGG, DenseNet, MobileNet) on ImageNet and CIFAR. For example, it lowers the top-1 error of ResNet-50 on ImageNet by 1.51% and ResNet-101 by 1.82% while maintaining FLOPs.
  • Model Compression: When used for model compression on CIFAR (setting resource target to 0.5x original usage), NR outperforms state-of-the-art pruning methods, achieving up to 0.87% better accuracy on CIFAR-10 and 3.39% on CIFAR-100.
  • Efficient Training: The method is designed to be a "plug-and-play" optimizer, requiring only a slight increase in training time (less than 20% in some cases) while maintaining original resource usages.
  • Larger Models Benefit More: The paper observes that larger models, which are more prone to underutilization, tend to show greater improvements with Neural Rejuvenation.

Limitations and Future Work

  • Training Time Increase: While generally efficient, the rejuvenation process can slightly increase training time compared to standard optimizers.
  • Hyperparameter Sensitivity: Although an adaptive mechanism for λ is introduced, the thresholds for rejuvenation (Tr) and other parameters might still require careful tuning for optimal results.
  • Future Work: The paper suggests exploring more sophisticated cross-attention mechanisms and investigating the application of Neural Rejuvenation to other domains beyond computer vision. The authors also imply that further research into the optimal strategies for training networks with mixed neuron types could yield even greater benefits.

Summary updated

BibTeX
@inproceedings{qiao2019neural,
  author = {Siyuan Qiao and Zhe Lin and Jianming Zhang and Alan L. Yuille},
  title = {{Neural Rejuvenation: Improving Deep Network Training by Enhancing Computational Resource Utilization.}},
  booktitle = {CVPR},
  year = {2019},
  doi = {10.1109/cvpr.2019.00015},
}
Figure