ATHEENA:硬件早期退出网络自动化工具流
ATHEENA: A Toolflow for Hardware Early-Exit Network Automation
AI总结:
针对深度神经网络在FPGA上的效率优化需求,提出ATHEENA自动化工具流,通过利用样本难度实现早期退出并优化资源分配,实验显示吞吐量提升2.00-2.78倍,或用46%资源达到基准吞吐量。
摘要:
深度神经网络在准确性、吞吐量和效率方面持续改进的需求,催生了多种在FPGA上充分利用定制架构的方法,包括手工设计网络以及使用量化和剪枝来减少冗余网络参数。然而,静态解决方案的潜力已被充分挖掘,我们提议将重点转向利用单个数据样本的不同难度,以进一步提高效率并减少分类的平均计算量。依赖输入的计算允许网络在结果满足置信度阈值时做出运行时决策,提前完成任务。早期退出网络架构已成为在软件中实现此类行为的日益流行的方式。我们创建了ATHEENA:硬件早期退出网络自动化工具流,这是一种自动化FPGA工具流,它利用样本从这些网络中提前退出的概率,来扩展分配给网络不同部分的资源。该工具流使用fpgaConvNet的数据流模型,扩展后支持早期退出网络以及设计空间探索,以优化生成的流式架构硬件,目标是在保持准确性的同时提高吞吐量/减少面积。在三个不同网络上的实验结果表明,与没有早期退出的优化基准网络实现相比,吞吐量提高了2.00倍至2.78倍。此外,该工具流可以用低至基准所需资源的46%来实现与基准匹配的吞吐量。
英文摘要:
The continued need for improvements in accuracy, throughput, and efficiency of Deep Neural Networks has resulted in a multitude of methods that make the most of custom architectures on FPGAs. These include the creation of hand-crafted networks and the use of quantization and pruning to reduce extraneous network parameters. However, with the potential of static solutions already well exploited, we propose to shift the focus to using the varying difficulty of individual data samples to further improve efficiency and reduce average compute for classification. Input-dependent computation allows for the network to make runtime decisions to finish a task early if the result meets a confidence threshold. Early-Exit network architectures have become an increasingly popular way to implement such behaviour in software. We create: A Toolflow for Hardware Early-Exit Network Automation (ATHEENA), an automated FPGA toolflow that leverages the probability of samples exiting early from such networks to scale the resources allocated to different sections of the network. The toolflow uses the data-flow model of fpgaConvNet, extended to support Early-Exit networks as well as Design Space Exploration to optimize the generated streaming architecture hardware with the goal of increasing throughput/reducing area while maintaining accuracy. Experimental results on three different networks demonstrate a throughput increase of $2.00\times$ to $2.78\times$ compared to an optimized baseline network implementation with no early exits. Additionally, the toolflow can achieve a throughput matching the same baseline with as low as $46\%$ of the resources the baseline requires.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。