NPS: A Framework for Accurate Program Sampling Using Graph Neural Network
Yuanwei Fang, Zihao Liu, Yanheng Lu, Jiawei Liu, Jiajie Li, Yi Jin,, Jian Chen, Yenkuang Chen, Hongzhong Zheng, Yuan Xie

TL;DR
NPS introduces a graph neural network-based framework for program sampling that significantly improves accuracy and robustness over traditional methods like SimPoint, facilitating faster and more precise workload characterization.
Contribution
The paper presents Neural Program Sampling (NPS), a novel GNN-based framework that learns execution embeddings for program sampling, outperforming existing approaches in accuracy and robustness.
Findings
NPS outperforms SimPoint by up to 63% in accuracy.
NPS reduces average error by 38%.
NPS demonstrates higher accuracy and generality than previous GNN approaches.
Abstract
With the end of Moore's Law, there is a growing demand for rapid architectural innovations in modern processors, such as RISC-V custom extensions, to continue performance scaling. Program sampling is a crucial step in microprocessor design, as it selects representative simulation points for workload simulation. While SimPoint has been the de-facto approach for decades, its limited expressiveness with Basic Block Vector (BBV) requires time-consuming human tuning, often taking months, which impedes fast innovation and agile hardware development. This paper introduces Neural Program Sampling (NPS), a novel framework that learns execution embeddings using dynamic snapshots of a Graph Neural Network. NPS deploys AssemblyNet for embedding generation, leveraging an application's code structures and runtime states. AssemblyNet serves as NPS's graph model and neural architecture, capturing a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Memory and Neural Computing · Machine Learning in Materials Science · Parallel Computing and Optimization Techniques
MethodsGraph Neural Network
