Energy-Efficient ConvNets Through Approximate Computing

Bert Moons, Bert De Brabandere, Luc Van Gool, Marian Verhelst

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:

  1. 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.
  2. 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.
  3. 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.
  4. Hardware Energy Modeling: Power consumption was modeled in 40nm CMOS, revealing that multiplier energy scales quadratically with bit-width, while adders scale linearly.
Relative accuracy vs. quantization bit-width for AlexNet, CifarQuick, and LeNet-5. Plot (a) shows uniform quantization, while (b) demonstrates the benefits of the proposed per-layer rescaling and precision scaling techniques.

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.
Hardware energy modeling showing (a) the multiplier array architecture and (b) the relationship between relative energy consumption and precision (RMSE).

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

BibTeX
@inproceedings{moons2016energy,
  author = {Bert Moons and Bert De Brabandere and Luc Van Gool and Marian Verhelst},
  title = {{Energy-Efficient ConvNets Through Approximate Computing}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2016},
  doi = {10.1109/wacv.2016.7477614},
}
Figure