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

MFSA:一种具备原生微缩放支持的多格式脉动阵列

MFSA: A Multi-Format Systolic Array with Native Micro Scaling Support

University of Washington(华盛顿大学)

Jiayi Wang, Kearnan Bishop, Ang Li

AI总结:

该研究提出具备原生微缩放支持的多格式脉动阵列MFSA,通过PE级共享数据通路与阵列级OBSR降低开销,在28nm工艺下实现多格式高效支持,面积和能耗开销显著低于朴素方案。

摘要:

AI工作负载越来越多地在模型、层和执行阶段采用低精度格式,如BF16、FP16、FP8变体、FP4、微缩放(MX)和INT模式,以平衡精度、内存占用和吞吐量,这反过来要求硬件以灵活高效的方式支持这些格式。我们提出MFSA,一种权重驻留型多格式脉动阵列,通过两种架构选择实现面积效率。在处理单元(PE)层面,MFSA采用基于点积累加器的处理单元,该单元从现有开源跨精度FPU扩展而来,支持降低精度格式(FP32、FP16、BF16、CFP8、FP4、INT16、INT8、INT4),具备共享数据通路和比例吞吐量缩放。在阵列层面,MFSA采用在线块缩放重基准化(OBSR)处理块缩放格式,该方法在块边界将每个块缩放因子折叠到运行中的FP32部分和中,无需添加第二个跨块累加器,从而降低了块缩放支持的额外开销。在台积电28nm工艺、1GHz频率下,匹配吞吐量的BF16、FP8、FP4级联FMA-PE基线的面积分别是单格式DPA-PE的1.5倍、2.5倍、4.5倍,差距随子字并行度增大而扩大。布线后的16×16 MFSA达到FP32、BF16、FP8、FP4的峰值0.5、1、2、4 TOPS,且与朴素MX实现基线相比,OBSR将额外MX开销的面积降低64.2%、能耗降低67.5%,同时不损害真实大语言模型(LLM)轨迹上的数值稳定性。在BF16+CFP8脉动阵列基础上增加所有其他格式的支持,仅需25.7%的额外面积。OBSR还可扩展到非2的幂次块缩放:将E4M3缩放因子的小数部分折叠到MFPE点积中,可同时支持NVFP4和OCP MX,相比CFP8+FP4基线,面积增加11.8%、能耗增加7.3%,仅为朴素实现成本的一半以下。

英文摘要:

AI workloads increasingly employ low-precision formats such as BF16 / FP16, FP8 variants, FP4, Micro Scaling (MX), and INT modes across models, layers, and execution stages to balance accuracy, memory footprint, and throughput, which in turn requires hardware to support these formats in a flexible and efficient way. We present MFSA, a weight-stationary multi-format systolic array that achieves area efficiency through two architectural choices. At the PE level, MFSA uses dot-product-accumulator-based processing elements extended from an existing open-source trans-precision FPU to support reduced-precision formats (FP32/FP16/BF16/CFP8/FP4/INT16/INT8/INT4) with a shared datapath and proportional throughput scaling. At the array level, MFSA employs Online Block-Scale Rebasing (OBSR) for block-scaled formats, which folds each block scale into the running FP32 partial sum at block boundaries without adding a second cross-block accumulator, thereby reducing the additional overhead of block-scaling support. In TSMC 28 nm at 1 GHz, matched-throughput BF16/FP8/FP4 cascaded FMA-PE baselines are 1.5x/2.5x/4.5x larger than the single-format DPA-PE, the gap growing with subword parallelism. A routed 16x16 MFSA reaches a peak 0.5/1/2/4 TOPS of FP32/BF16/FP8/FP4, and OBSR cuts the incremental MX overhead by 64.2% in area and 67.5% in energy versus a naive MX implementation baseline, without hurting the numerical stability on real LLM traces. Adding support for all other formats based on a BF16+CFP8 systolic array costs 25.7% additional area. OBSR also extends to non-power-of-two block scales: folding the fractional part of an E4M3 scale into the MFPE dot product supports NVFP4 alongside OCP MX for 11.8% area and 7.3% power over a CFP8+FP4 base, less than half the cost of a naive implementation.

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

↑