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

Tailor:通过调整跳跃连接实现资源高效推理

Tailor: Altering Skip Connections for Resource-Efficient Inference

University of California San Diego(加州大学圣地亚哥分校);Massachusetts Institute of Technology(麻省理工学院);AMD(超威半导体公司)

Olivia Weng, Gabriel Marcano, Vladimir Loncar, Alireza Khodamoradi, Nojan Sheybani, Andres Meza, Farinaz Koushanfar, Kristof Denolf, Javier Mauricio Duarte, Ryan Kastner

AI总结:

本文提出软硬件协同设计工具 Tailor,通过硬件感知训练逐步移除或缩短网络中已训练好的跳跃连接,在保持精度的同时显著降低硬件资源占用并提升推理性能。

摘要:

深度神经网络利用跳跃连接来改善训练收敛性。然而,这些跳跃连接在硬件上代价高昂,需要额外的缓冲区,并增加了片上及片外存储器的利用率和带宽需求。本文表明,当采用软硬件协同设计方法时,可以针对硬件对跳跃连接进行优化。我们认为,虽然网络在学习过程中需要跳跃连接,但之后可以将其移除或缩短,以提供更高硬件效率的实现,且精度损失极小甚至没有。我们引入了 Tailor,这是一种协同设计工具,其硬件感知训练算法会逐步移除或缩短已完全训练网络的跳跃连接,以降低其硬件成本。对于片上数据流风格架构,Tailor 将 BRAM 的资源利用率提高了多达 34%,FF 提高了 13%,LUT 提高了 16%。对于二维处理单元阵列架构,Tailor 将性能提升了 30%,并将内存带宽降低了 45%。

英文摘要:

Deep neural networks use skip connections to improve training convergence. However, these skip connections are costly in hardware, requiring extra buffers and increasing on- and off-chip memory utilization and bandwidth requirements. In this paper, we show that skip connections can be optimized for hardware when tackled with a hardware-software codesign approach. We argue that while a network's skip connections are needed for the network to learn, they can later be removed or shortened to provide a more hardware efficient implementation with minimal to no accuracy loss. We introduce Tailor, a codesign tool whose hardware-aware training algorithm gradually removes or shortens a fully trained network's skip connections to lower their hardware cost. Tailor improves resource utilization by up to 34% for BRAMs, 13% for FFs, and 16% for LUTs for on-chip, dataflow-style architectures. Tailor increases performance by 30% and reduces memory bandwidth by 45% for a 2D processing element array architecture.

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

↑