arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.07036cs.LGcs.CVcs.DC
收藏

面向边缘端低延迟、高能效DNN推理的转换自编码器

A Converting Autoencoder Toward Low-latency and Energy-efficient DNN Inference at the Edge

University of Texas at San Antonio(德克萨斯大学圣安东尼奥分校)

Hasanul Mahmud, Peng Kang, Kevin Desai, Palden Lama, Sushil Prasad

AI总结:

针对边缘设备DNN推理的低延迟高能效需求,提出基于转换自编码器的CBNet框架,可将困难图像转为简单图像后用轻量DNN推理,实验验证其在精度相当的情况下大幅提升速度、降低能耗。

摘要:

在资源受限的边缘设备上执行深度神经网络(DNN)推理时,在保持预测精度的同时降低推理时间与能耗已成为重要研究问题。为解决该问题,我们提出一种基于“转换”自编码器与轻量级DNN的新方法,对早期退出框架、DNN划分等近期研究工作进行了改进。早期退出框架会根据输入数据的复杂度为不同样本分配不同计算量,但在处理大量困难图像样本的真实场景中效率较低。而同时利用云端与边缘设备计算能力的DNN划分算法,会受到云边之间网络延迟与连接中断的影响。我们提出CBNet——一种专为边缘设备设计的低延迟、高能效DNN推理框架。它利用“转换”自编码器将困难图像高效转换为简单图像,再交由轻量级DNN完成推理。据我们所知,此类自编码器此前尚未被提出。我们在树莓派4、谷歌云实例以及搭载Nvidia Tesla K80 GPU的实例上,使用三个主流图像分类数据集开展实验,结果表明:与同类竞争技术相比,CBNet在保持相当或更高精度的同时,推理延迟最高提升4.8倍,能耗降低79%。

英文摘要:

Reducing inference time and energy usage while maintaining prediction accuracy has become a significant concern for deep neural networks (DNN) inference on resource-constrained edge devices. To address this problem, we propose a novel approach based on "converting" autoencoder and lightweight DNNs. This improves upon recent work such as early-exiting framework and DNN partitioning. Early-exiting frameworks spend different amounts of computation power for different input data depending upon their complexity. However, they can be inefficient in real-world scenarios that deal with many hard image samples. On the other hand, DNN partitioning algorithms that utilize the computation power of both the cloud and edge devices can be affected by network delays and intermittent connections between the cloud and the edge. We present CBNet, a low-latency and energy-efficient DNN inference framework tailored for edge devices. It utilizes a "converting" autoencoder to efficiently transform hard images into easy ones, which are subsequently processed by a lightweight DNN for inference. To the best of our knowledge, such autoencoder has not been proposed earlier. Our experimental results using three popular image-classification datasets on a Raspberry Pi 4, a Google Cloud instance, and an instance with Nvidia Tesla K80 GPU show that CBNet achieves up to 4.8x speedup in inference latency and 79% reduction in energy usage compared to competing techniques while maintaining similar or higher accuracy.

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

↑