MINISA:下一代可重构推理加速器的最小指令集架构
MINISA: Minimal Instruction Set Architecture for Next-gen Reconfigurable Inference Accelerator
AI总结:
MINISA通过虚拟神经元粒度编程,减少芯片外指令流量,提升推理加速器性能,实现高达31.6倍的端到端加速。
摘要:
现代可重构AI加速器依赖丰富的映射和数据布局灵活性以维持高利用率,但通过细粒度微控制暴露这种灵活性会导致从离散内存中获取配置位的高昂控制开销。本文提出了MINISA,一种最小指令集,可在虚拟神经元(VNs)粒度上编程可重构加速器,保留硬件灵活性并避免不必要的控制成本。首先,我们引入FEATHER+,一种对FEATHER的适度改进,消除了运行时数据流/布局切换所需的冗余芯片内复制,并支持动态情况,其中输入和权重数据在执行前不可用,用于离线布局操作。MINISA将FEATHER+的控制抽象为三种布局设置指令(输入、权重、输出VNs)和一个映射指令(设置数据流)。这减少了控制和指令足迹,同时保留了FEATHER+支持的合法映射和布局空间。我们的结果表明,在各种大小下的50 GEMM工作负载(涵盖AI(GPT-oss)、FHE和ZKP)中,MINISA将芯片外指令流量的几何均值减少因素从35x到(4x10^5)x。这消除了消耗微指令周期96.9%的指令获取停滞,为16x256 FEATHER+实现高达31.6倍的端到端加速。我们的代码:https://github.com/maeri-project/FEATHER/tree/main/minisa。
英文摘要:
Modern reconfigurable AI accelerators rely on rich mapping and data-layout flexibility to sustain high utilization across matrix multiplication, convolution, and emerging applications beyond AI. However, exposing this flexibility through fine-grained micro-control results in prohibitive control overhead of fetching configuration bits from off-chip memory. This paper presents MINISA, a minimal instruction set that programs a reconfigurable accelerator at the granularity of Virtual Neurons (VNs), the coarsest control granularity that retains flexibility of hardware and the finest granularity that avoids unnecessary control costs. First, we introduce FEATHER+, a modest refinement of FEATHER, that eliminates redundant on-chip replication needed for runtime dataflow/layout co-switching and supports dynamic cases where input and weight data are unavailable before execution for offline layout manipulation. MINISA then abstracts control of FEATHER+ into three layout-setting instructions for input, weight, and output VNs and a single mapping instruction for setting dataflow. This reduces the control and instruction footprint while preserving the legal mapping and layout space supported by the FEATHER+. Our results show that MINISA reduces geometric mean off-chip instruction traffic by factors ranging from 35x to (4x10^5)x under various sizes under 50 GEMM workloads spanning AI (GPT-oss), FHE, and ZKP. This eliminates instruction-fetch stalls that consume 96.9% of micro-instruction cycles, yielding up to 31.6x end-to-end speedup for 16x256 FEATHER+. Our code: https://github.com/maeri-project/FEATHER/tree/main/minisa.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。