arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.08992cs.AR
收藏

边缘AI FPGA加速器中的数据流与分块策略:全面文献综述

Dataflow & Tiling Strategies in Edge-AI FPGA Accelerators: A Comprehensive Literature Review

Richie Li

AI总结:

本综述全面回顾了FPGA神经网络加速器中的数据流与分块策略,扩展了经典数据流分类法,通过MAESTRO和Timeloop等框架及四个案例研究分析了架构设计,并探讨了HLS、DSL与RTL的自动化权衡及未来方向。

摘要:

边缘AI应用要求在严格的资源和功耗约束下,在FPGA上实现高吞吐量、低延迟的推理。本综述对基于FPGA的神经网络加速器的两个关键架构决策进行了全面回顾:(i)数据流(数据在芯片上移动和重用的顺序与方式),以及(ii)分块/阻塞策略(如何将大型张量分区以适配片上存储)。我们首先提出了一种扩展的经典数据流风格分类法:权重固定、输出固定、行固定和无本地重用,包括正式定义、伪代码/图表以及真实的FPGA示例。接着,我们讨论了分析框架(MAESTRO, Timeloop),并通过简明的特征表对它们进行比较,说明了它们如何对重用、性能和硬件成本进行建模,并包含了一个3x3卷积层的案例研究以展示典型的工具输出。然后,我们详细介绍了FPGA的多级分块和循环展开/流水线策略,阐明了如何利用每个存储层级(寄存器、LUTRAM、BRAM、HBM)。我们的四个案例研究——FINN、FINN-R、FlightLLM和SSR——突出了不同的数据流(从二进制流到混合稀疏变换)和分块模式。我们提供了一个统一的比较矩阵,涵盖平台、精度、吞吐量、资源利用率和能效,并为每个设计附带了小型框图。最后,我们通过检查HLS、DSL和手写RTL之间的设计自动化权衡,提供了一个“经验教训”总结框,并为下一代边缘AI FPGA加速器在部分重配置、混合数据流和领域特定编译器流程方面规划了未来的研究方向。

英文摘要:

Edge-AI applications demand high-throughput, low-latency inference on FPGAs under tight resource and power constraints. This survey provides a comprehensive review of two key architectural decisions for FPGA-based neural network accelerators: (i) the dataflow (the order and manner in which data is moved and reused on chip), and (ii) the tiling/blocking strategy (how large tensors are partitioned to fit on-chip). We first present a broadened taxonomy of canonical dataflow styles: Weight-Stationary, Output-Stationary, Row-Stationary, and No-Local-Reuse, including formal definitions, pseudocode/diagrams, and real FPGA examples. We then discuss analytical frameworks (MAESTRO, Timeloop) and compare them with a concise feature table, illustrating how they model reuse, performance, and hardware costs, and include a case study of a 3x3 convolution layer to demonstrate typical tool outputs. Next, we detail multi-level tiling and loop unrolling/pipelining strategies for FPGAs, clarifying how each memory tier (registers, LUTRAM, BRAM, HBM) can be exploited. Our four case studies - FINN, FINN-R, FlightLLM, and SSR - highlight distinct dataflows (from binary streaming to hybrid sparse transformations) and tiling patterns. We include a unified comparison matrix covering platform, precision, throughput, resource utilization, and energy efficiency, plus small block diagrams for each design. We conclude by examining design automation trade-offs among HLS, DSL, and hand-coded RTL, offering a "lessons learned" summary box, and charting future research directions in partial reconfiguration, hybrid dataflows, and domain-specific compiler flows for next-generation edge AI FPGA accelerators.

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

↑