SparseDVFS: Sparse-Aware DVFS for Energy-Efficient Edge Inference
Organizations: Politecnico di Milano, Milan, Italy · Harbin Institute of Technology, Shenzhen, China
Abstract
Deploying deep neural networks (DNNs) on power-sensitive edge devices presents a formidable challenge. While Dynamic Voltage and Frequency Scaling (DVFS) is widely employed for energy optimization, traditional model-level scaling is often too coarse to capture intra-inference variations, whereas fine-grained operator-level scaling suffers from prohibitive performance degradation due to significant hardware switching latency. This paper presents SparseDVFS, a fine-grained, sparse-aware DVFS framework designed for energy-efficient edge inference. Our key insight is that operator sparsity is a primary metric for hardware frequency modulation. By distinguishing between compute-bound dense operators and memory-bound sparse operators, the system can apply specialized frequency triplets to maximize energy efficiency. To overcome switching overheads and component interference, SparseDVFS incorporates three key innovations: (1) an offline modeler that established a deterministic mapping between operator sparsity and optimal frequency triplets (CPU/GPU/EMC) via white-box timeline analysis; (2) a runtime graph partitioner that utilizes a greedy merging heuristic to aggregate operators into super-blocks, balancing scaling granularity and DVFS switching latency through a latency amortization constraint; and (3) a unified co-governor that employs a frequency unified scaling engine (FUSE) and a look-ahead instruction queue to eliminate antagonistic effects between independent controllers and hide hardware transition latencies. Extensive evaluations show that SparseDVFS achieves an average 78.17% energy efficiency gain over state-of-the-art solutions while maintaining a superior 14% cost-gain ratio.
Figures & tables
| Predictor | Model | Accuracy | Model Size |
| FLOPs-based ( Kim et al., 2019 ) | ResNet-18 | 18.4% | 8B |
| ResNet-101 | 12.8% | ||
| ViT-B16 | 11.5% | ||
| ViT-L16 | 8.2% | ||
| nn-Meter ( Zhang et al., 2021 ) | ResNet-18 | 91.5% | ~856MB |
| ResNet-101 | 88.1% |
| Model | Traditional DVFS | Pipeline Look-Ahead |
| ResNet-18 | 7.23ms | 0.12ms |
| ResNet-101 | 10.81ms | 1.45ms |
| ViT-B16 | 5.44ms | 0.72ms |
| ViT-L16 | 7.92ms | 1.08ms |
| Model | Op. Count | FLOPs (G) | Size (M) |
| ResNet-18 | 21 | 1.82 | 11.69 |
| ResNet-101 | 105 | 7.87 | 44.55 |
| ViT-B16 | 38 | 11.29 | 58.07 |
| ViT-L16 | 74 | 39.86 | 203.36 |
Efficient Neural Network Inference
Efficient neural network inference reduces the time, memory, and energy needed to run trained models across hardware and deployment settings.
See all 468 papers