arXiv:2603.19330cs.ARcs.AI2026-03

用AI预测芯片性能,快1000倍且精度不降。

PAI: Fast, Accurate, and Full Benchmark Performance Projection with AI

  • 用LSTM模型分析程序执行特征,跳过复杂模拟
  • 对SPEC CPU 2017全套基准测试平均误差9.35%
  • 预测速度比传统方法快3个数量级,适合芯片设计前评估

现代SoC中复杂IP的指数级增长,对软硬件功耗与性能分析提出了迫切需求。传统周期精确仿真器因速度慢、维护难、易出错,难以在合理时间内完成全基准测试的预估,使芯片设计前的性能预测与竞争分析愈发困难。此前基于机器学习的方法或速度慢、或精度差,无法准确预测完整基准测试性能。为此,本文提出PAI,首个无需依赖详细仿真或指令级编码即可准确预测全基准测试性能的技术。PAI的核心是一个分层LSTM模型,利用程序执行中的微架构无关特征,预测性能指标。实验表明,PAI在处理SPEC CPU 2017基准套件时,平均IPC预测误差仅为9.35%,耗时仅2分57秒,相较现有最先进方法精度相当,但速度提升三个数量级。

原文摘要 · Abstract (English)

The exponential increase in complex IPs within modern SoCs, driven by Moore's Law, has created a pressing need for fast and accurate hardware-software power-performance analysis. Traditional performance simulators (such as cycle accurate simulators) are often too slow to simulate full benchmarks within a reasonable timeframe; require considerable effort for development, maintenance, and extensions; and are prone to errors, making pre-silicon performance projections and competitive analysis increasingly challenging. Prior attempts in addressing this challenge using machine learning fall short as they are either slow, inaccurate or unable to predict the performance of full benchmarks. To address these limitations, we present PAI, the first technique to accurately predict full benchmark performance without relying on detailed simulation or instruction-wise encoding. At the heart of PAI is a hierarchical Long Short Term Memory (LSTM)-based model that takes a trace of microarchitecture independent features from a program execution and predicts performance metrics. We present the detailed design, implementation and evaluation of PAI. Our initial experiments showed that PAI can achieve an average IPC prediction error of 9.35% for SPEC CPU 2017 benchmark suite while taking only 2 min 57 sec for the entire suite. This prediction error is comparable to prior state-of-the-art techniques while requiring 3 orders of magnitude less time.

芯片性能预测深度学习LSTM仿真加速

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。