跳到正文
arXiv (Robotics + Hardware + Signal)· Yicheng He, Yuqi Xue, Tianyang Wu, Jian Huang, Bin Hu·· 6 天前AI 评分38

CriticNPU:面向NPU架构设计的机理评论器实现高效设计空间探索

Mechanistic Critics for Sample-Efficient NPU Design-Space Exploration

AI 导读

CriticNPU是一个面向NPU架构设计的样本高效设计空间探索框架,核心是在线校准的机理评论器,用显式硬件上限在仿真前筛选弱候选、仿真后将算子级运行时间聚合为prefill/decode瓶颈摘要。

正文 · 原文

arXiv:2611.24733v1 Announce Type: new Abstract: NPU design-space exploration for LLM inference mainly relies on an expensive simulator that often returns only scalar feedback such as latency and power. Such feedback can rank evaluated configurations, but gives little information for deciding why a configuration is slow or which architecture parameter should be changed next. This limitation is especially severe because prefill and decode workloads can be limited by different resources, including compute throughput and HBM bandwidth. We propose CriticNPU, a sample-efficient DSE framework built around an online-calibrated mechanistic critic for NPU architecture design. The critic uses explicit hardware limits to evaluate NPU configurations: before simulation, it estimates whether a proposed configuration is likely to improve over the current best and filters weak candidates; after simulation, it aggregates operator-level runtimes into prefill/decode bottleneck summaries and predicts the effect of candidate parameter changes. We instantiate the critic with a Roofline-style model that derives compute and memory limits from architecture parameters and calibrates per-operator-type effective limits using simulator observations. And CriticNPU combines this critic with a workload extractor and an architecture planner to propose configurations. Across six LLM workloads and 16 deployment configurations per model, CriticNPU achieves best-or-tied-best latency in 74% of prefill and 87.5% of decode settings while using roughly half the simulator calls of competitive DSE baselines. We conduct extensive ablation studies and detailed analyses to validate the effectiveness of our method from multiple perspectives. Our code is available at https://github.com/bruno686/CriticNPU.

来源:arXiv (Robotics + Hardware + Signal) · arxiv.org