arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.04865cs.CVcs.AI
收藏

E4:面向边缘视频分析的基于早退与DVFS的高能效DNN推理

E4: Energy-Efficient DNN Inference for Edge Video Analytics Via Early-Exit and DVFS

Harbin Institute of Technology(哈尔滨工业大学);International Research Institute for Artificial Intelligence, Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳)国际人工智能研究院);University at Albany - SUNY(纽约州立大学奥尔巴尼分校)

Ziyang Zhang, Yang Zhao, Ming-Ching Chang, Changyao Lin, Jie Liu

AI总结:

本文提出E4框架,通过结合早退机制与DVFS调控,并利用注意力级联模块和JIT剖析器协同优化CPU/GPU频率,在边缘视频分析中实现高能效DNN推理,取得2.8倍加速和26%平均节能。

摘要:

深度神经网络(DNN)模型在边缘视频分析应用中日益普及。然而,DNN模型的计算密集型特性给资源受限边缘设备上的高能效推理带来了挑战。现有大多数解决方案侧重于优化DNN推理延迟和精度,往往忽视能效。它们也未能考虑视频帧复杂度的变化,导致边缘视频分析性能欠佳。本文提出了一种高能效早退(E4)框架,通过将新颖的早退机制与动态电压频率调节(DVFS)调控器相结合,提升边缘视频分析中DNN推理效率。该框架采用基于注意力的级联模块分析视频帧多样性,并自动确定最优DNN退出点。此外,E4具有即时(JIT)剖析器,在DNN退出点之前使用坐标下降搜索协同优化每一层的CPU和GPU时钟频率。大量评估表明,E4优于当前最先进的方法,在保持高精度的同时,实现了高达2.8倍的加速和26%的平均能耗节省。

英文摘要:

Deep neural network (DNN) models are increasingly popular in edge video analytic applications. However, the compute-intensive nature of DNN models pose challenges for energy-efficient inference on resource-constrained edge devices. Most existing solutions focus on optimizing DNN inference latency and accuracy, often overlooking energy efficiency. They also fail to account for the varying complexity of video frames, leading to sub-optimal performance in edge video analytics. In this paper, we propose an Energy-Efficient Early-Exit (E4) framework that enhances DNN inference efficiency for edge video analytics by integrating a novel early-exit mechanism with dynamic voltage and frequency scaling (DVFS) governors. It employs an attention-based cascade module to analyze video frame diversity and automatically determine optimal DNN exit points. Additionally, E4 features a just-in-time (JIT) profiler that uses coordinate descent search to co-optimize CPU and GPU clock frequencies for each layer before the DNN exit points. Extensive evaluations demonstrate that E4 outperforms current state-of-the-art methods, achieving up to 2.8x speedup and 26% average energy saving while maintaining high accuracy.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑