Abstract
Convolutional Neural Networks (CNNs) have revolutionized computer vision but remain computationally expensive for deployment on energy-constrained edge devices. This research demonstrates that CNNs can achieve significant energy reductions—up to 30x at full accuracy and over 100x at 99% accuracy—by aggressively scaling down bit-precision and implementing computation skipping. By utilizing per-layer rescaling and dynamic precision scaling, these gains are realized on pre-trained models without requiring retraining.
Introduction
The deployment of CNNs on smartphones, smart glasses, and IoT sensors is limited by their high computational and memory demands. Typically, these models utilize 32-bit floating-point or 16-bit fixed-point arithmetic. However, such high precision is often redundant for classification tasks. This paper addresses the challenge of minimizing the energy footprint of CNN inference on hardware accelerators without sacrificing accuracy or necessitating model retraining.
Methodology
The authors propose a multi-level approach combining algorithmic optimizations with hardware-level techniques:
- Dynamic Precision Scaling: Instead of a global bit-width, the number of bits for weights and inputs is varied per layer. A greedy search identifies the minimum required precision for each layer.
- Per-layer Rescaling: Weights and inputs are rescaled to their maximum dynamic range before quantization, ensuring the limited bit-budget effectively represents each layer's data distribution.
- Computation Skipping: Leveraging the Rectified Linear Unit (ReLU) and quantization, which produce many zero-valued outputs, the hardware skips multiplications and additions involving zeros to save switching energy.
- Hardware Energy Modeling: Power consumption was modeled in 40nm CMOS, revealing that multiplier energy scales quadratically with bit-width, while adders scale linearly.
Key Results
The evaluation across MNIST (LeNet-5), CIFAR-10 (CifarQuick), and ImageNet (AlexNet) architectures yielded several key insights:
- Precision Requirements: For the complex AlexNet model, weights and inputs could be reduced to 5–9 bits per layer with minimal accuracy loss, as shown in the figure above. This represents a significant improvement over uniform quantization.
- Energy Efficiency: Compared to a standard 16-bit fixed-point implementation, the proposed methods achieved a 30x energy reduction at 100% relative accuracy. Tolerating a 1% drop in accuracy pushed savings beyond 100x.
- Synergy with Sparsity: Quantization acts as a "zero-generator," pushing small values to zero. Combined with ReLU, this results in a zero-ratio of 50–90%, making computation skipping highly effective.
Discussion and Limitations
A major advantage of this approach is that it requires no retraining, allowing for "plug-and-play" compression of off-the-shelf models. However, the energy savings primarily focus on arithmetic logic; the overhead of data movement and control logic for zero-skipping requires further investigation. Additionally, these benefits are most pronounced on specialized hardware accelerators designed to support variable precision and skipping logic. Future work could explore how quantization-aware training might further push the boundaries of bit-reduction.
Summary updated