NPUMeter: Automatic Operator Optimization for Ascend NPU with Accurate Analytical Performance Models

With the rapid development of AI and deep learning, computational demands are increasing significantly. While GPUs excel in parallel computing, they fall short in terms of energy efficiency, specialization, and processing latency. In contrast, Neural Processing Units (NPUs), such as the Ascend NPUs, designed specifically for deep learning tasks, demonstrate superior performance. However, the architecture specialization makes operator development more challenging, leading to a reliance on manual tuning and optimization, which incurs significant time cost and developing effort. To address this issue, we propose NPUMeter, an automatic operator optimization framework for Ascend NPUs built upon accurate and comprehensive analytical performance models. NPUMeter comprises two components: 1) an analytical performance model that accurately estimates operator latency on NPU given different configurations of optimization parameters; 2) an efficient design space exploration (DSE) algorithm that automatically searches for the optimal parameter configuration in a large design space within minutes. Experimental results demonstrate that NPUMeter achieves high estimation accuracy, with an average error below 5%. It effectively generates near-optimal configurations for various operators, achieving up to a 1.46 × performance speedup compared to the configuration generated by the Ascend C compiler while reducing the DSE time from hours to minutes.

Authors

Institutions

Publication Details

Journal
ACM Transactions on Architecture and Code Optimization
Published
2026-06-09
DOI
https://doi.org/10.1145/3820380
Primary Topic
Advanced Neural Network Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

NPUMeter: Automatic Operator Optimization for Ascend NPU with Accurate Analytical Performance Models

Jieru Zhao, Yuting Mai, Qiuliang Wang, Chen Chen et al.
ACM Transactions on Architecture and Code Optimization
Advanced Neural Network Applications
article

NPUMeter: Automatic Operator Optimization for Ascend NPU with Accurate Analytical Performance Models

Jieru Zhao, Yuting Mai, Qiuliang Wang, Chen Chen, Haibo Xu, Wenchao Ding, Weichuang Zhang, Minyi Guo, Yi Li, Yufei Shangguan, Quan Chen
article en

Abstract

With the rapid development of AI and deep learning, computational demands are increasing significantly. While GPUs excel in parallel computing, they fall short in terms of energy efficiency, specialization, and processing latency. In contrast, Neural Processing Units (NPUs), such as the Ascend NPUs, designed specifically for deep learning tasks, demonstrate superior performance. However, the architecture specialization makes operator development more challenging, leading to a reliance on manual tuning and optimization, which incurs significant time cost and developing effort. To address this issue, we propose NPUMeter, an automatic operator optimization framework for Ascend NPUs built upon accurate and comprehensive analytical performance models. NPUMeter comprises two components: 1) an analytical performance model that accurately estimates operator latency on NPU given different configurations of optimization parameters; 2) an efficient design space exploration (DSE) algorithm that automatically searches for the optimal parameter configuration in a large design space within minutes. Experimental results demonstrate that NPUMeter achieves high estimation accuracy, with an average error below 5%. It effectively generates near-optimal configurations for various operators, achieving up to a 1.46 × performance speedup compared to the configuration generated by the Ascend C compiler while reducing the DSE time from hours to minutes.

ACM Transactions on Architecture and Code Optimization
Guizhou University (CN), Shanghai Jiao Tong University (CN), Robotics Research (United States) (US), Huawei Technologies (United Kingdom) (GB)
Affordable and clean energy
Openalex Percentile: Top 5%
Advanced Neural Network Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.