SparseDVFS: 基于稀疏性的边缘推理能效优化动态电压频率调节框架
SparseDVFS: Sparse-Aware DVFS for Energy-Efficient Edge Inference
AI总结:
本文提出SparseDVFS框架,通过区分计算密集型密集运算符和内存密集型稀疏运算符,利用专用频率三元组提升边缘推理能效,实验表明在保持成本优势的同时实现78.17%的能效提升。
摘要:
在对功率敏感的边缘设备上部署深度神经网络(DNN)是一项严峻挑战。尽管动态电压和频率调节(DVFS)被广泛用于能源优化,但传统模型级缩放通常过于粗略,无法捕捉推理过程中的内部变化,而细粒度运算符级缩放则由于显著的硬件切换延迟导致性能下降。本文提出了SparseDVFS,一种细粒度、基于稀疏性的DVFS框架,用于能效边缘推理。我们的关键洞察是运算符稀疏性是硬件频率调节的主要指标。通过区分计算密集型密集运算符和内存密集型稀疏运算符,系统可以应用专用的频率三元组以最大化能效。为克服切换开销和组件干扰,SparseDVFS集成了三个关键创新:(1)一个离线模型器,通过白盒时间线分析建立了运算符稀疏性与最优频率三元组(CPU/GPU/EMC)之间的确定性映射;(2)一个运行时图划分器,利用贪心合并启发法将运算符聚合到超块中,通过延迟摊销约束平衡缩放粒度和DVFS切换延迟;(3)一个统一的共管理者,采用频率统一缩放引擎(FUSE)和前瞻指令队列以消除独立控制器之间的对抗效应并隐藏硬件转换延迟。广泛的评估显示,SparseDVFS在保持成本优势的同时,相比最先进的解决方案实现了78.17%的平均能效提升。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。