Designing Energy-Efficient Convolutional Neural Networks Using Energy-Aware Pruning

Tien-Ju Yang, Yu-Hsin Chen, Vivienne SzeCVPR 2017

Introduction

Modern Convolutional Neural Networks (CNNs) have achieved remarkable accuracy but at the cost of significant energy consumption, posing a major challenge for deployment on battery-constrained mobile devices. While traditional model compression focuses on reducing the number of weights or operations (MACs), these metrics often fail to reflect actual energy savings. This paper introduces an energy-aware pruning algorithm that directly optimizes for hardware-validated energy consumption.

The Metric Mismatch

A common misconception in model efficiency is that "smaller" or "faster" models are inherently more energy-efficient. However, fetching data from DRAM can consume orders of magnitude more energy than the computation itself. A model with fewer weights might still be energy-intensive if it requires frequent, inefficient movement of large feature maps. This "Metric Mismatch" necessitates a shift from size-centric to energy-centric optimization.

Energy-Aware Pruning Framework

The researchers developed a two-part framework to bridge this gap. First, they utilized an energy estimation methodology that models consumption across the memory hierarchy (L1/L2 buffers and DRAM), calibrated with hardware measurements from the Eyeriss spatial architecture. Second, they proposed a novel pruning pipeline.

The energy-aware pruning algorithm iteratively optimizes layers based on their energy consumption and minimizes output feature map error.

Unlike standard magnitude-based pruning, this algorithm prioritizes layers with the highest energy footprint. It employs an "output-centric" approach, minimizing the error in output feature maps rather than just filter weights. This allows for more aggressive pruning by accounting for weight interactions. The process includes magnitude-based pruning, weight restoration via a closed-form least-squares solution, and both local and global fine-tuning.

Key Insights from Energy Modeling

Analysis of popular architectures revealed that Convolutional (CONV) layers are the primary energy consumers. In AlexNet, for instance, CONV layers account for only 3.8% of weights but over 72% of total energy due to massive feature map movement.

Normalized energy consumption across layers shows that data movement (feature maps and weights) dominates computation energy, especially in CONV layers.

Furthermore, the study found that SqueezeNet, despite being 50× smaller than AlexNet, consumes 33% more energy because its architecture leads to higher data movement costs. This underscores that model size is a poor proxy for energy efficiency.

Experimental Results

The proposed method was evaluated on the ImageNet ILSVRC 2014 dataset using AlexNet, GoogLeNet, and SqueezeNet.

  • AlexNet: Achieved a 3.7× energy reduction with less than 1% top-5 accuracy loss, outperforming state-of-the-art magnitude-based pruning by 1.7×.
  • GoogLeNet: Even on this already compact model, the algorithm achieved a 1.6× energy reduction.

The gains were largely driven by more aggressive pruning of the early, energy-expensive CONV layers.

Conclusion

By shifting the focus from model size to actual energy consumption, this work provides a more effective path toward deploying high-performance CNNs on mobile hardware. Future work may involve integrating these energy models directly into Neural Architecture Search (NAS) to design "green" models from the ground up.

Summary updated

BibTeX
@inproceedings{yang2017designing,
  author = {Tien-Ju Yang and Yu-Hsin Chen and Vivienne Sze},
  title = {{Designing Energy-Efficient Convolutional Neural Networks Using Energy-Aware Pruning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.643},
}
Figure