Abstract
Training deep Convolutional Neural Networks (CNNs) is a computationally intensive process. While sparsity has been widely used to accelerate inference, its application in training is hindered by dynamic data flows and operations like Batch Normalization that often re-densify data. This paper presents a novel hardware architecture that exploits a "hidden" symmetry in ReLU-based networks: the sparsity footprint of activations in the forward pass perfectly predicts gradient sparsity in the backward pass. By skipping these predictable zero-valued computations, the proposed system achieves up to a 5.43x speedup in backpropagation and significant energy savings compared to traditional GPU-based training.
Introduction
The computational demand for training state-of-the-art CNNs continues to grow, necessitating more efficient hardware solutions. Most existing "sparse" accelerators focus on input sparsity during the inference phase. However, accelerating the training phase—which involves both forward and backward propagation—is significantly more complex. Standard training techniques, such as Batch Normalization, often fill in zero values, making the data dense again and rendering traditional sparsity-skipping hardware ineffective. This research addresses this challenge by identifying a form of sparsity that persists through these barriers.
Methodology: Exploiting the ReLU Symmetry
The core technical insight of this work is the "ReLU Symmetry." In networks utilizing Rectified Linear Unit (ReLU) activation functions, the derivative is either 0 or 1, determined entirely by the input during the forward pass. If a neuron is inactive (zero) during forward propagation, its corresponding gradient in the backward pass must also be zero.
To exploit this, the authors developed a custom hardware micro-architecture featuring:
- Output Sparsity Exploitation: The hardware stores the sparsity map from the forward pass and uses it to proactively skip gradient calculations in the backward pass.
- Filter Decoupling: Computational lanes are designed to work independently, allowing the hardware to handle the varying sparsity patterns found across different gradient channels.
- Work Redistribution Unit (WDU): Because sparsity is irregular, the WDU dynamically reassigns tasks from busy Processing Elements (PEs) to idle ones, maintaining high hardware utilization despite load imbalances.
Experimental Results
The architecture was evaluated using five prominent CNN models—VGGNet, ResNet18, GoogLeNet, DenseNet, and MobileNet—trained on the ImageNet dataset.
Key performance metrics include:
- Speedup: Backpropagation performance improved by 1.69x to 5.43x over dense baselines. Total training iteration speedups (forward + backward) ranged from 1.68x to 3.30x.
- Energy Efficiency: The design achieved an order of magnitude improvement in energy efficiency compared to high-end GPUs like the NVIDIA GTX 1080 Ti.
- Comparative Performance: The architecture outperformed specialized sparse accelerators such as CNVLUTIN and SparTANN by more effectively managing the unique data flow requirements of the backward pass.
Discussion and Limitations
While the "identical footprint" insight provides a powerful mechanism for acceleration, it is currently specific to the ReLU activation function. Newer functions like Swish or GELU do not share this exact zero-derivative property, which may limit the gains of the current approach for those specific models. Additionally, while this work focuses on activation and gradient sparsity, future iterations could incorporate weight sparsity (pruning) for further optimization. The hardware complexity introduced by units like the WDU represents a trade-off between chip area and performance that remains a key consideration for practical implementation.
Summary updated