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

SSM-RDU:一种面向长序列状态空间模型的可重构数据流单元

SSM-RDU: A Reconfigurable Dataflow Unit for Long-Sequence State-Space Models

Sho Ko, Kunle Olukotun

AI总结:

本文提出面向长序列状态空间模型的可重构数据流单元架构扩展,通过轻量级互连增强实现FFT和扫描操作的空间映射,在极低开销下相对GPU和基线RDU取得显著加速。

摘要:

长序列状态空间模型(SSMs),如Hyena和Mamba,用更高效的FFT和扫描操作取代了自注意力的二次复杂度。然而,由于执行模型僵化以及专为密集矩阵运算优化,GPU等现代加速器并不适合这些非GEMM工作负载。本文提出对基线可重构数据流单元(RDU)进行架构扩展,以高效支持基于FFT和基于扫描的SSMs。通过在计算瓦片内引入轻量级互连增强,扩展后的RDU实现了FFT和扫描数据流的空间映射,且面积和功耗开销不到1%。该架构在Hyena上实现了相比GPU 5.95倍和基线RDU 1.95倍的加速,在Mamba上分别实现了相比GPU和基线RDU 2.12倍和1.75倍的加速。

英文摘要:

Long-sequence state-space models (SSMs) such as Hyena and Mamba replace the quadratic complexity of self-attention with more efficient FFT and scan operations. However, modern accelerators like GPUs are poorly suited to these non-GEMM workloads due to rigid execution models and specialization for dense matrix operations. This paper proposes architectural extensions to a baseline Reconfigurable Dataflow Unit (RDU) that efficiently support FFT-based and scan-based SSMs. By introducing lightweight interconnect enhancements within compute tiles, the extended RDU enables spatial mapping of FFT and scan dataflows with less than 1% area and power overhead. The resulting architecture achieves a 5.95X speedup over the GPU and a 1.95X speedup over the baseline RDU for Hyena, and a 2.12X and 1.75X speedup over the GPU and baseline RDU, respectively, for Mamba.

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

↑