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

在超低功耗设备上加速深度可分离卷积

Accelerating Depthwise Separable Convolutions on Ultra-Low-Power Devices

Politecnico di Torino(都灵理工大学)

Francesco Daghero, Alessio Burrello, Massimo Poncino, Enrico Macii, Daniele Jahier Pagliari

AI总结:

针对深度可分离卷积在超低功耗设备上部署难的问题,通过融合深度核与逐点核、组合数据布局减少内存传输,在GreenWaves GAP8 SoC上实现了最高11.40%的延迟降低和52.97%的激活数据移动量减少。

摘要:

深度可分离卷积是高效深度神经网络的基础组件,与传统卷积相比,它在保持相当精度的同时减少了参数数量和运算量。然而,其数据复用机会低的特点使得部署难度极大。在本研究中,我们对融合构成可分离卷积块的深度核与逐点核的替代方案进行了广泛探索。我们的方法旨在通过组合不同的数据布局来减少耗时的内存传输。当面向具有三级内存层次结构的商用超低功耗设备GreenWaves GAP8 SoC(系统级芯片)时,我们将端到端网络执行的延迟降低了最高11.40%。此外,我们的内核将L2与L1内存之间的激活数据移动量减少了最高52.97%。

英文摘要:

Depthwise separable convolutions are a fundamental component in efficient Deep Neural Networks, as they reduce the number of parameters and operations compared to traditional convolutions while maintaining comparable accuracy. However, their low data reuse opportunities make deploying them notoriously difficult. In this work, we perform an extensive exploration of alternatives to fuse the depthwise and pointwise kernels that constitute the separable convolutional block. Our approach aims to minimize time-consuming memory transfers by combining different data layouts. When targeting a commercial ultra-low-power device with a three-level memory hierarchy, the GreenWaves GAP8 SoC, we reduce the latency of end-to-end network execution by up to 11.40%. Furthermore, our kernels reduce activation data movements between L2 and L1 memories by up to 52.97%.

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

↑