[Paper Review] Designing Energy-Efficient Convolutional Neural Networks using Energy-Aware Pruning
This paper proposes an energy-aware pruning algorithm for convolutional neural networks (CNNs) that directly optimizes for energy consumption using hardware-measured parameters. By pruning filters layer-by-layer based on output feature map error and using closed-form least-squares fine-tuning, it reduces energy use by 3.7x for AlexNet and 1.6x for GoogLeNet with under 1% top-5 accuracy loss.
Deep convolutional neural networks (CNNs) are indispensable to state-of-the-art computer vision algorithms. However, they are still rarely deployed on battery-powered mobile devices, such as smartphones and wearable gadgets, where vision algorithms can enable many revolutionary real-world applications. The key limiting factor is the high energy consumption of CNN processing due to its high computational complexity. While there are many previous efforts that try to reduce the CNN model size or amount of computation, we find that they do not necessarily result in lower energy consumption, and therefore do not serve as a good metric for energy cost estimation. To close the gap between CNN design and energy consumption optimization, we propose an energy-aware pruning algorithm for CNNs that directly uses energy consumption estimation of a CNN to guide the pruning process. The energy estimation methodology uses parameters extrapolated from actual hardware measurements that target realistic battery-powered system setups. The proposed layer-by-layer pruning algorithm also prunes more aggressively than previously proposed pruning methods by minimizing the error in output feature maps instead of filter weights. For each layer, the weights are first pruned and then locally fine-tuned with a closed-form least-square solution to quickly restore the accuracy. After all layers are pruned, the entire network is further globally fine-tuned using back-propagation. With the proposed pruning method, the energy consumption of AlexNet and GoogLeNet are reduced by 3.7x and 1.6x, respectively, with less than 1% top-5 accuracy loss. Finally, we show that pruning the AlexNet with a reduced number of target classes can greatly decrease the number of weights but the energy reduction is limited. Energy modeling tool and energy-aware pruned models available at this http URL
Motivation & Objective
- To address the gap between model compression and actual energy efficiency in CNNs deployed on battery-powered devices.
- To develop a pruning method that directly optimizes for energy consumption rather than model size or FLOPs.
- To enable efficient deployment of CNNs on mobile and wearable devices by minimizing energy usage while preserving accuracy.
- To create a practical, hardware-grounded energy estimation model for CNN inference on mobile systems.
Proposed method
- The method uses hardware-measured parameters to estimate energy consumption per layer, enabling direct energy-aware optimization.
- It performs layer-by-layer pruning based on the error in output feature maps rather than filter weight magnitude.
- After pruning, each layer is fine-tuned using a closed-form least-squares solution to rapidly restore accuracy.
- The entire network is then globally fine-tuned via back-propagation to further improve performance.
- The approach prioritizes energy reduction over model size reduction, using a custom energy estimation model derived from real mobile hardware.
Experimental results
Research questions
- RQ1Can pruning guided by actual energy consumption estimation lead to more efficient CNN deployment on mobile devices?
- RQ2Does minimizing output feature map error during pruning yield better energy efficiency than traditional magnitude-based pruning?
- RQ3How effective is the combination of layer-wise pruning with closed-form fine-tuning in preserving accuracy while reducing energy?
- RQ4To what extent does reducing the number of target classes affect energy savings in pruned models?
Key findings
- AlexNet's energy consumption was reduced by 3.7x with less than 1% top-5 accuracy loss using the proposed method.
- GoogLeNet achieved a 1.6x reduction in energy consumption while maintaining high accuracy.
- The energy-aware pruning approach outperformed traditional pruning in energy efficiency, even when model size was not minimized.
- Pruning with fewer target classes reduced the number of weights significantly, but energy savings were limited, indicating that class count alone does not drive energy efficiency.
- The closed-form fine-tuning step enabled rapid accuracy recovery after pruning, reducing the need for extensive training.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.