PerfReasoning: How Well Do LLMs Reason on Hardware Performance?
Dan Zhao, Karthikeyan Sankaralingam, Christos Kozyrakis, Qijing Huang
Key points
From the paper's conclusion- We introduce PerfReasoning, a benchmark that evaluates LLMs both as direct performance reasoners and as generators of analytical performance-model code.
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 15% 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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Rosetta: Automating First-Principles Performance Modeling Using Multi-Agent LLMsarXiv · 2026
- HPC-Bench: A Comprehensive Benchmark for High Performance Computing CodesarXiv · 2026
- AgentPerfBench: A Benchmarking and Evaluation Suite for Inference Performance of Agentic LLMsarXiv · 2026
- "LLM-Guided Microarchitecture Design Space Exploration on RISC-V: CVA6 and BOOM Trials with CPI, Area, Power, and Reasoning Traces"IEEE DataPort · 2026
- KD-DSE: A Knowledge-Driven LLM Framework for Fast Microarchitecture Design Space ExplorationarXiv · 2026
- Estimating GPU Roofline Arithmetic Intensity with Off-the-Shelf LLMs and Compiler ArtifactsarXiv · 2026