PerfReasoning: How Well Do LLMs Reason on Hardware Performance?
Dan Zhao, Karthikeyan Sankaralingam, Christos Kozyrakis, Qijing Huang
Abstract
Performance modeling is central to hardware design and software optimization, yet constructing these models requires structured reasoning about computation, data reuse, storage, and movement. We introduce PerfReasoning, a benchmark that evaluates LLMs both as direct performance reasoners and as generators of analytical performance-model code. Given workload, architecture, and mapping specifications, models compare mappings and predict off-chip traffic and buffer requirements. The strongest closed-source models exceed 90% on reasoning-based Q&A, and the best open-weight model reaches 82.4%. However, model construction is substantially harder: while GPT-5.6 Sol exceeds 80% pass rate, all other model configurations average below 45% and vary markedly across runs. Task-specific RL raises a 4B model's mapping-reasoning accuracy by 15.7 points, whereas feedback-free multi-round self-revision prompting is not reliably effective. PerfReasoning exposes the gap between plausible architectural reasoning and reliable performance-model construction. We will publicly release the benchmark to support reproducible evaluation and track future progress.
Create a lesson
Metadata
- Categories
- cs.AI, cs.PF
Related papers
The convergent laboratory: when AI reasoning, autonomous experiments, high performance and quantum computing reshape chemistry
Shared title terminologycs.AIEliu Huerta, Xiaoyun Wang, Geetika Gupta et al.
GUT: Quantifying and Optimizing the Reasoning Uncertainty of LLMs via Graph Complexity
Shared title terminologycs.AIShuang Liang, Xin-Yu Hu, Xiang-Jun Ou et al.
Do LLMs Exhibit Coherent Knowledge Structures in Mathematical Reasoning? A Perspective from Knowledge Space Theory
Shared title terminologycs.AIPeng Cui, Heejin Do, Mrinmaya Sachan
Large Language Models (LLMs) for Telecom Root Cause Analysis (RCA): A Structured Reasoning Framework for Evidence-Grounded Diagnosis
Shared title terminologycs.AIHao Zhou, Mandar Kulkarni, Hao Chen et al.
CAPTA: Identifying LLMs Behind AI Agents
Shared title terminologycs.AIKailun Yan, Yue Huang, Sisi Duan
GeoSurge: Geometry-Grounded Multimodal Reasoning for Auditable Liver Resection Planning
Shared title terminologycs.AIWenjie Deng, Zijian Tu, Xueyin Zhou et al.