arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.17218cs.ARcs.CVcs.LG
收藏

HARFLOW3D:面向 FPGA 设备上 HAR 的延迟导向型 3D-CNN 加速器工具流

HARFLOW3D: A Latency-Oriented 3D-CNN Accelerator Toolflow for HAR on FPGA Devices

Imperial College London(伦敦帝国学院);Centre of Research and Technology Hellas(希腊研究与技术中心)

Petros Toupas, Alexander Montgomerie-Corcoran, Christos-Savvas Bouganis, Dimitrios Tzovaras

AI总结:

本文提出 HARFLOW3D 工具流,利用解析、建模、调度、资源感知优化和自动综合,将多种 ONNX 3D CNN 高效映射到 FPGA,以降低 HAR 推理延迟,最高较现有工作提升 5 倍。

摘要:

对于人体动作识别(Human Action Recognition,HAR)任务,3D 卷积神经网络已被证明非常有效,并取得了最先进的结果。本研究提出了一种新颖的基于流式架构的工具流,用于在考虑模型固有特征和目标 FPGA 器件特性的情况下,将此类模型映射到 FPGA。HARFLOW3D 工具流接收 ONNX 格式的 3D CNN 以及 FPGA 特性描述作为输入,并生成可最小化计算延迟的设计。该工具流由多个部分组成,包括:i)3D CNN 解析器,ii)性能与资源模型,iii)用于在所生成硬件上执行 3D 模型的调度算法,iv)面向 3D 模型定制的资源感知优化引擎,v)到 FPGA 可综合代码的自动化映射。通过在多种 3D CNN 与 FPGA 系统组合上开展的一系列实验,展示了该工具流支持广泛模型和器件的能力。此外,该工具流还为此前尚未映射到 FPGA 的 3D CNN 模型产生了高性能结果,展示了基于 FPGA 的系统在这一领域的潜力。总体而言,与一系列最先进的人工调优方法相比,HARFLOW3D 已证明能够提供具有竞争力的延迟,并且与部分现有工作相比,可实现最高 5 倍的性能提升。

英文摘要:

For Human Action Recognition tasks (HAR), 3D Convolutional Neural Networks have proven to be highly effective, achieving state-of-the-art results. This study introduces a novel streaming architecture based toolflow for mapping such models onto FPGAs considering the model's inherent characteristics and the features of the targeted FPGA device. The HARFLOW3D toolflow takes as input a 3D CNN in ONNX format and a description of the FPGA characteristics, generating a design that minimizes the latency of the computation. The toolflow is comprised of a number of parts, including i) a 3D CNN parser, ii) a performance and resource model, iii) a scheduling algorithm for executing 3D models on the generated hardware, iv) a resource-aware optimization engine tailored for 3D models, v) an automated mapping to synthesizable code for FPGAs. The ability of the toolflow to support a broad range of models and devices is shown through a number of experiments on various 3D CNN and FPGA system pairs. Furthermore, the toolflow has produced high-performing results for 3D CNN models that have not been mapped to FPGAs before, demonstrating the potential of FPGA-based systems in this space. Overall, HARFLOW3D has demonstrated its ability to deliver competitive latency compared to a range of state-of-the-art hand-tuned approaches being able to achieve up to 5$\times$ better performance compared to some of the existing works.

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

↑