QuArch: A Benchmark for Evaluating LLM Reasoning in Computer Architecture

Shvetank Prakash, Andrew Cheng, Mark Mazumder, Arya Tschand, Varun Gohil, Jeffrey Jian Ma, Jason Yik, Zishen Wan, Jessica Quaye, Elisavet Lydia Alvanaki, Avinash Kumar, Chandrashis Mazumdar, Tuhin Khare, Alexander Ingare, Ikechukwu Uchendu, Radhika Ghosal, Abhishek Tyagi, Chenyu Wang, Andrea Mattia Garavagno, Sarah Yueqi Gu, Alice Guo, Grace Hur, Luca Carloni, Tushar Krishna, Ankita Nayak, Amir Yazdanbakhsh, Vijay Janapa Reddi

Introduction

Computer architecture serves as the critical bridge between high-level software abstractions and low-level hardware implementations. Designing these systems requires navigating complex multi-objective optimization spaces, constantly balancing Power, Performance, and Area (PPA). Despite the recent proliferation of Large Language Model (LLM) benchmarks for math, coding, and general science, computer architecture has remained a notable blind spot.

Existing systems benchmarks focus heavily on code synthesis (e.g., Verilog or RTL generation) rather than testing whether a model grasps the underlying architectural principles—such as why a specific cache replacement policy suits a given workload or how timing side-channels emerge from short-circuit evaluation. To address this, researchers have introduced QuArch, the first comprehensive benchmark designed to evaluate how LLMs reason about computer architecture.

The QuArch Benchmark

To systematically evaluate architectural competency, the researchers developed a four-tier skills framework:

  1. Recall: Retrieving facts and definitions.
  2. Analyze: Deducing system behavior from a scenario (e.g., calculating cache hit rates).
  3. Design: Proposing architectural features while balancing constraints.
  4. Implement: Translating designs into executable artifacts, like simulation scripts.

QuArch v1.0 comprises 2,671 expert-validated question-answer pairs, split between 1,547 multiple-choice and 1,124 free-response questions. The dataset includes 2,123 text-only and 548 multimodal questions featuring datapaths, circuit schematics, and timing charts. It covers 13 core areas, predominantly Processor Architecture (37%), Memory Systems (25%), and Interconnects (8%).

The dataset was constructed using a rigorous three-pronged approach: synthetic generation via LLMs followed by expert review, digitization of complex academic exams, and crowdsourcing from domain experts to ensure challenging, "agent-proof" reasoning problems.

Key Insights: Where LLMs Succeed and Fail

The evaluation reveals a stark "Knowledge vs. Reasoning" gap. While frontier models excel at Recall tasks (scoring around 90%), their performance drops precipitously on Analyze and Design tasks. This indicates that models are largely memorizing textbook facts rather than learning to solve applied architectural problems. Specific weaknesses include:

  • Architecture-Semantics: Models struggle to predict how high-level code interacts with hardware, often missing nuances like how a compiler or processor handles short-circuit logic.
  • Default Bias: LLMs frequently make unconventional implicit assumptions (such as word-level addressing) unless standard industry conventions (like byte-addressability) are explicitly stated in the prompt.
  • State Tracking Failures: Architecture requires maintaining a mental model of data flow. LLMs frequently lose track of consistent system states, causing cascading errors in latency or throughput calculations.
  • Multimodal Weakness: Even advanced vision-language models perform approximately 5% worse on questions containing diagrams or tables compared to text-only equivalents.

Results and Real-World Impact

Frontier models currently lead the QuArch leaderboard, yet the best performers only achieve reasoning accuracies in the 71–73% range. Other frontier models struggle even more, dropping as low as 34% on advanced questions.

However, the benchmark also serves as a powerful training tool. In a case study focusing on machine learning hardware accelerator design, models fine-tuned on a minimal subset of QuArch (just 45 questions) proposed designs that were 1.99× more area-efficient than those generated by base models, yielding up to 40% more viable solutions overall.

To scale evaluation for open-ended responses, the researchers employed an LLM-as-a-judge approach. This automated grading demonstrated an 85.48% agreement rate with human experts—closely trailing the 90.75% agreement rate observed between two human experts.

Limitations and Future Directions

Currently, the Design and Implement categories in QuArch are smaller than Recall and Analyze due to the inherent difficulty of authoring and validating high-level architectural problems.

Looking ahead, the researchers aim to evolve QuArch into an agentic benchmark. Instead of answering static questions, future models will be tasked with interacting with real-world architectural toolchains—such as simulators and power estimators—in an iterative loop. Additionally, improving multimodal training will be crucial to help models interpret architectural schematics with human-level proficiency.

Summary updated

BibTeX
@inproceedings{prakash2026quarch,
  author = {Shvetank Prakash and Andrew Cheng and Mark Mazumder and Arya Tschand and Varun Gohil and Jeffrey Jian Ma and Jason Yik and Zishen Wan and Jessica Quaye and Elisavet Lydia Alvanaki and Avinash Kumar and Chandrashis Mazumdar and Tuhin Khare and Alexander Ingare and Ikechukwu Uchendu and Radhika Ghosal and Abhishek Tyagi and Chenyu Wang and Andrea Mattia Garavagno and Sarah Yueqi Gu and Alice Guo and Grace Hur and Luca Carloni and Tushar Krishna and Ankita Nayak and Amir Yazdanbakhsh and Vijay Janapa Reddi},
  title = {{QuArch: A Benchmark for Evaluating LLM Reasoning in Computer Architecture}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=yU6X1XZl8t},
}
Figure