arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.07526cs.ARcs.LG
收藏

从大语言模型到硅芯片:基于强化学习的ASIC架构探索用于设备端AI推理

From LLM to Silicon: RL-Driven ASIC Architecture Exploration for On-Device AI Inference

XgenSilicon Inc.(XgenSilicon公司)

Ravindra Ganti, Steve Xu

AI总结:

本文提出一种基于强化学习的编译器,联合优化ASIC架构、内存层次和工作负载划分,以提升设备端AI推理性能。

摘要:

我们提出了一种基于强化学习的编译器,联合优化从3nm到28nm的ASIC架构、内存层次和工作负载划分,用于AI推理。设计空间被建模为一个单一的马尔可夫决策过程,包含混合离散-连续动作和统一的功率-性能-面积(PPA)目标。使用Soft Actor-Critic(SAC)与专家混合门控探索网格拓扑、核心微架构和运算符放置的联合空间。我们在两个工作负载上进行了验证:Llama 3.1 8B FP16(高性能模式,3nm下每秒处理29809个标记)和SmolVLM(低功耗模式,所有节点功耗低于13mW,频率10MHz)。在7个工艺节点上,强化学习自动适应网格大小和每块配置,包括异构FETCH、VLEN和内存分配,无需节点特定的手动重新调整。

英文摘要:

We present an RL-driven compiler that jointly optimizes ASIC architecture, memory hierarchy, and workload partitioning for AI inference across 3nm to 28nm. The design space is formulated as a single Markov Decision Process with mixed discrete-continuous actions and a unified Power-Performance-Area (PPA) objective. Soft Actor-Critic (SAC) with Mixture-of-Experts gating explores the joint space of mesh topology, per-core microarchitecture, and operator placement. We validate on two workloads, Llama 3.1 8B FP16 (high-performance mode, 29809 tokens per second at 3nm) and SmolVLM (low-power mode, less than 13 mW at all nodes, 10 MHz). Across 7 process nodes, the RL automatically adapts mesh sizes and per-tile configurations, including heterogeneous FETCH, VLEN, and memory allocation without node-specific manual retuning.

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

↑