Mechanistic Critics for Sample-Efficient NPU Design-Space Exploration

Hugging Face Daily Papers Papers

Summary

The paper proposes CriticNPU, a sample-efficient design-space exploration framework for NPU architecture that uses an online-calibrated mechanistic critic with Roofline-style hardware limits to filter candidates and guide parameter changes. It achieves best-or-tied-best latency in 74% of prefill and 87.5% of decode settings across six LLM workloads while using roughly half the simulator calls of competitive baselines.

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.
Original Article
View Cached Full Text

Cached at: 11/19/26, 07:28 AM

Paper page - Mechanistic Critics for Sample-Efficient NPU Design-Space Exploration

Source: https://huggingface.co/papers/2611.24733

Abstract

NPUdesign-spaceexplorationforLLMinferencemainlyreliesonanexpensivesimulatorthatoftenreturnsonlyscalarfeedbacksuchaslatencyandpower.Suchfeedbackcanrankevaluatedconfigurations,butgiveslittleinformationfordecidingwhyaconfigurationissloworwhicharchitectureparametershouldbechangednext.Thislimitationisespeciallyseverebecauseprefillanddecodeworkloadscanbelimitedbydifferentresources,includingcomputethroughputandHBMbandwidth.WeproposeCriticNPU,asample-efficientDSEframeworkbuiltaroundanonline-calibratedmechanisticcriticforNPUarchitecturedesign.ThecriticusesexplicithardwarelimitstoevaluateNPUconfigurations:beforesimulation,itestimateswhetheraproposedconfigurationislikelytoimproveoverthecurrentbestandfiltersweakcandidates;aftersimulation,itaggregatesoperator-levelruntimesintoprefill/decodebottlenecksummariesandpredictstheeffectofcandidateparameterchanges.WeinstantiatethecriticwithaRoofline-stylemodelthatderivescomputeandmemorylimitsfromarchitectureparametersandcalibratesper-operator-typeeffectivelimitsusingsimulatorobservations.AndCriticNPUcombinesthiscriticwithaworkloadextractorandanarchitectureplannertoproposeconfigurations.AcrosssixLLMworkloadsand16deploymentconfigurationspermodel,CriticNPUachievesbest-or-tied-bestlatencyin74%ofprefilland87.5%ofdecodesettingswhileusingroughlyhalfthesimulatorcallsofcompetitiveDSEbaselines.Weconductextensiveablationstudiesanddetailedanalysestovalidatetheeffectivenessofourmethodfrommultipleperspectives.Ourcodeisavailableathttps://github.com/bruno686/CriticNPU.

View arXiv pageView PDFGitHub1Add to collection

Get this paper in your agent:

hf papers read 2611\.24733

Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash

Models citing this paper0

No model linking this paper

Cite arxiv.org/abs/2611.24733 in a model README.md to link it from this page.

Datasets citing this paper0

No dataset linking this paper

Cite arxiv.org/abs/2611.24733 in a dataset README.md to link it from this page.

Spaces citing this paper0

No Space linking this paper

Cite arxiv.org/abs/2611.24733 in a Space README.md to link it from this page.

Collections including this paper0

No Collection including this paper

Add this paper to acollectionto link it from this page.

Similar Articles

Reverse Engineering the Qualcomm NPU Compiler

Lobsters Hottest

Reverse engineering the Qualcomm NPU compiler reveals undocumented VTCM memory management, MILP-based placement, automatic precision alteration, and a hidden analytical simulator (Hextimate) for edge deployment optimization.