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

MOSAIC:面向异构NPU的工作负载驱动仿真与设计空间探索框架

TESSERA: A Workload-Driven Simulation and Design-Space Exploration Framework for Heterogeneous NPUs

Purdue University(普渡大学);Intel Corporation(英特尔公司)

Arghadip Das, Hoseok Kim, Soomin Lee, Arnab Raha, Deepak A Mathaikutty, Vijay Raghunathan

AI总结:

提出MOSAIC框架,通过分析仿真和设计空间探索,支持异构神经处理单元(HPU)的细粒度微架构设计,在20个工作负载上实现比同构基线平均46.91%的等面积能效提升。

摘要:

AI模型架构正在快速多样化。尽管密集矩阵乘法是当前CNN和Transformer的基础,但新兴架构(状态空间模型、通过快速傅里叶变换(FFT)的长卷积、Kolmogorov-Arnold网络和脉冲网络)并非以乘加运算(MAC)为主;它们的大量计算集中在向量和非MAC原语上,而同构、以MAC为中心的神经处理单元(NPU)对此处理不佳。这推动了由非相同瓦片构建的异构NPU(HPU)的发展。先前的异构设计仅改变一两个粗粒度旋钮(通常是MAC精度或阵列大小),并在狭窄的工作负载上评估;现有框架不支持细粒度HPU设计,其中瓦片在多个架构维度上同时不同。我们提出了MOSAIC,一个用于HPU微架构设计的分析型仿真器和设计空间探索(DSE)框架。MOSAIC搜索瓦片级异构的联合空间:除了阵列大小和精度,它还变化瓦片类型组成(大型Big、小型Little和非MAC专用功能瓦片)、数据流、稀疏模式、MAC引擎类型以及用于非MAC算子(FFT、脉冲积分、多项式)的专用功能单元。与先前模拟单一同构瓦片类型的仿真器不同,MOSAIC使用自身的能量、面积和时序模型对非MAC瓦片进行建模,并通过异构感知编译器将算子映射到混合瓦片上。结合分层扫描与遗传算法细化的多种子流水线返回帕累托最优设计,其成本模型校准至7纳米节点,并针对NVIDIA深度学习加速器(NVDLA)进行交叉验证。在20个工作负载套件上,MOSAIC找到的最佳通用HPU(约200 mm^2 Big+Little+Special-Function)相比最佳等面积同构基线实现了平均46.91%的等面积能效提升。

英文摘要:

AI model architectures are diversifying rapidly. While CNNs and transformers rely on dense matrix multiplication, emerging architectures (state-space models, fast Fourier transform (FFT)-based long convolutions, Kolmogorov-Arnold networks, and spiking networks) are not multiply-accumulate (MAC) dominated; they spend much of their computation on vector and non-MAC primitives that homogeneous, MAC-centric neural processing units (NPUs) serve poorly. This motivates heterogeneous NPUs (HPUs) built from non-identical tiles. However, prior designs vary only one or two architectural dimensions and target narrow workloads, while existing frameworks lack support for jointly exploring fine-grained tile-level heterogeneity. We present TESSERA, an analytical simulator and design-space-exploration (DSE) framework for HPU microarchitecture design. TESSERA jointly explores tile-type composition (large Big, small Little, and non-MAC Special-Function tiles), MAC array size, precision, dataflow, sparsity mode, MAC engine type, and special-function units for FFT, spiking-integrate, and polynomial operators. Unlike prior simulators that assume a single homogeneous tile type, TESSERA provides dedicated energy, area, and timing models for non-MAC tiles and maps operators across heterogeneous tiles with a heterogeneity-aware compiler. A multi-seed DSE pipeline combines stratified sampling with genetic-algorithm refinement to identify Pareto-optimal designs. Cost models are calibrated to a 7 nm node and cross-validated against NVIDIA's Deep Learning Accelerator (NVDLA). Across a 20-workload suite, the best general-purpose HPU found by TESSERA (~200 mm^2, Big+Little+Special-Function) achieves 46.91% mean energy savings over the best iso-area homogeneous baseline.

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

↑