arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.14055cs.ARcs.AI
收藏

HAPM——面向资源受限设备中CNN硬件加速器的硬件感知剪枝方法

HAPM -- Hardware Aware Pruning Method for CNN hardware accelerators in resource constrained devices

Universidad Tecnológica Nacional(阿根廷技术大学)

Federico Nicolas Peccia, Luciano Ferreyro, Alejandro Furfaro

AI总结:

本文提出一种面向FPGA的通用CNN硬件架构及硬件感知剪枝方法HAPM,通过动态利用剪枝导致的稀疏性,在资源受限设备上实现低能耗与可接受推理时间的平衡,推理时间较标准剪枝提升45%。

摘要:

近年来,被称为卷积神经网络(CNNs)的算法日益普及,其应用范围扩展至多个领域。特别是得益于这些算法,图像处理领域取得了显著进展。在物联网中,一个广泛的研究领域旨在开发能够以尽可能低的能耗成本执行这些算法的硬件,同时保持可接受的图像推理时间。可以通过应用设计和训练技术来应对这一看似矛盾的目标。本工作提出了一种可随时在FPGA设备上实现的通用硬件架构,支持多种配置,允许系统运行不同的神经网络架构,并动态利用此类算法数学运算中由剪枝技术引起的稀疏性。该设计的推理速度在不同资源受限的FPGA设备上进行了评估。最后,将标准剪枝算法与专门设计用于利用该硬件加速器调度特性的自定义剪枝技术进行了对比。我们证明,与使用标准算法剪枝的网络相比,我们的硬件感知剪枝算法在推理时间上实现了45%的显著提升。

英文摘要:

During the last years, algorithms known as Convolutional Neural Networks (CNNs) had become increasingly popular, expanding its application range to several areas. In particular, the image processing field has experienced a remarkable advance thanks to this algorithms. In IoT, a wide research field aims to develop hardware capable of execute them at the lowest possible energy cost, but keeping acceptable image inference time. One can get around this apparently conflicting objectives by applying design and training techniques. The present work proposes a generic hardware architecture ready to be implemented on FPGA devices, supporting a wide range of configurations which allows the system to run different neural network architectures, dynamically exploiting the sparsity caused by pruning techniques in the mathematical operations present in this kind of algorithms. The inference speed of the design is evaluated over different resource constrained FPGA devices. Finally, the standard pruning algorithm is compared against a custom pruning technique specifically designed to exploit the scheduling properties of this hardware accelerator. We demonstrate that our hardware-aware pruning algorithm achieves a remarkable improvement of a 45 % in inference time compared to a network pruned using the standard algorithm.

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

↑