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

通过数据流系统-加速器协同设计缓解带宽瓶颈

Mitigating the Bandwidth Wall via Data-Streaming System-Accelerator Co-Design

École Polytechnique Fédérale de Lausanne (EPFL)(洛桑联邦理工学院);HES-SO University of Applied Sciences and Arts Western Switzerland(瑞士西部应用科学大学)

Qunyou Liu, Marina Zapater, David Atienza

AI总结:

本文提出一种统一的系统-加速器协同设计方法,通过分页数据流和计算与传输的显式重叠优化Transformer推理,实现端到端性能提升,展示了在多种数据类型和系统配置下的高效能表现。

摘要:

Transformer在自然语言处理和计算机视觉中革新了AI,但其大计算和内存需求对硬件加速构成了主要挑战。实际中,端到端吞吐量往往受限于分页数据移动和互连带宽,而非原始MAC计数。本文提出了一种统一的系统-加速器协同设计方法,通过分页数据流和计算与传输的显式重叠优化Transformer推理,实现端到端性能提升,展示了在多种数据类型和系统配置下的高效能表现。

英文摘要:

Transformers have revolutionized AI in natural language processing and computer vision, but their large computation and memory demands pose major challenges for hardware acceleration. In practice, end-to-end throughput is often limited by paged data movement and interconnect bandwidth rather than raw MAC count. This work proposes a unified system-accelerator co-design approach for transformer inference that jointly optimizes a matrix accelerator and its system integration through paged streaming dataflows and explicit overlap of compute and transfer. On the hardware side, we introduce MatrixFlow, a loosely coupled 16x16 systolic-array accelerator with a page-aligned block matrix multiplication method using 4 KB tiles, a small on-chip buffer of about 20 KB, and a pipelined schedule of DMA, compute, and DMA-out to utilize interconnect bandwidth efficiently. On the system side, we develop Gem5-AcceSys, an extension of the gem5 full-system simulator that explores standard interconnects such as PCIe and configurable memory hierarchies including Direct Memory, Direct Cache, and Device Memory modes with SMMU/TLB effects. We evaluate the co-design using gem5 simulations on representative transformer models including BERT and ViT across multiple data types and system setups. Results show up to 22x end-to-end speedup over a CPU-only baseline and 5x to 8x gains over state-of-the-art loosely and tightly coupled accelerators. We further show that a standard PCIe-based host-memory design can achieve about 80 percent of the performance of on-device HBM. Overall, paged streaming and pipeline overlap, rather than large local SRAMs, are the most effective levers for efficient transformer inference under realistic system constraints.

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

↑