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

基于流水线并行分层神经网络的边缘器件高效计算机视觉

Efficient Computer Vision on Edge Devices with Pipeline-Parallel Hierarchical Neural Networks

Purdue University(普渡大学);Loyola University Chicago(芝加哥洛约拉大学)

Abhinav Goel, Caleb Tung, Xiao Hu, George K. Thiruvathukal, James C. Davis, Yung-Hsiang Lu

摘要:

低功耗边缘设备上的计算机视觉可实现搜索救援和安全等应用。最先进的计算机视觉算法,如深度神经网络(DNN),对于低功耗边缘设备的推理来说太大了。为了提高效率,一些现有方法跨多个边缘设备并行化DNN推理。然而,这些技术引入了显著的通信和同步开销,或者无法跨设备平衡工作负载。本文证明了分层DNN架构非常适合多个边缘设备上的并行处理。我们设计了一种新的方法,创建一个并行推理流水线的计算机视觉问题,使用分层DNN。该方法平衡了协作设备之间的负载,并降低了通信成本,以便于以更高的吞吐量同时处理多个视频帧。我们的实验考虑了一个代表性的计算机视觉问题,其中在多个Raspberry Pi 4B上运行的每个视频帧上执行图像识别。通过四个协作的低功耗边缘设备,与现有的单设备分层DNN相比,我们的方法实现了3.21倍的吞吐量,每帧每设备能耗减少68%,内存减少58%。

英文摘要:

Computer vision on low-power edge devices enables applications including search-and-rescue and security. State-of-the-art computer vision algorithms, such as Deep Neural Networks (DNNs), are too large for inference on low-power edge devices. To improve efficiency, some existing approaches parallelize DNN inference across multiple edge devices. However, these techniques introduce significant communication and synchronization overheads or are unable to balance workloads across devices. This paper demonstrates that the hierarchical DNN architecture is well suited for parallel processing on multiple edge devices. We design a novel method that creates a parallel inference pipeline for computer vision problems that use hierarchical DNNs. The method balances loads across the collaborating devices and reduces communication costs to facilitate the processing of multiple video frames simultaneously with higher throughput. Our experiments consider a representative computer vision problem where image recognition is performed on each video frame, running on multiple Raspberry Pi 4Bs. With four collaborating low-power edge devices, our approach achieves 3.21X higher throughput, 68% less energy consumption per device per frame, and 58% decrease in memory when compared with existing single-device hierarchical DNNs.

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

↑