AIChipBench: Benchmarking LLM Agents for Automated AI Accelerator Design

Guangyuan Wang, Chengran Li, Minchen Luo, Jichen Feng, Mengdi Wang, Yifan ZhangarXiv 2026

TL;DR

Can AI coding agents design the very hardware chips that run AI models? AIChipBench puts LLM agents to the test on building and optimizing hardware accelerators for modern language models, revealing that silent bugs in persistent memory—not basic math—are the primary bottleneck. Giving agents debugging tools that expose internal hardware state doubles their success rate and halves engineering time, offering a clear blueprint for automated chip design.

What Problem Does This Paper Address?

Language models generate text one token at a time, carrying forward a "memory" (like the attention key–value cache) from step to step. When engineers design custom hardware accelerators in Register-Transfer-Level (RTL) code—the blueprint describing how data moves between chip registers on every clock tick—managing this persistent state is notoriously tricky.

Imagine a hardware module stalls for a few clock cycles, accidentally saving a memory entry twice. The chip might still spit out the right token right now, hiding the bug until several steps later when that corrupted memory is read back. If an AI coding agent is only told "token #6 is wrong," it is left hunting for a needle in a multi-thousand-line haystack. Furthermore, agents can easily overfit their designs to pass basic development tests while leaving latent state bugs intact. Prior benchmarks lacked ways to inspect step-by-step hardware state on complex, multi-step AI accelerators.

Methods

To evaluate agents realistically, the authors built an environment mimicking a multi-step hardware engineering workflow under strict time, token, and tool-call budgets.

Overview of an agent attempt and isolated evaluation in AIChipBench

The core innovation is an executable integer oracle—a hidden mathematical contract fixing every bit width, rounding rule, and lookup table. At every transaction, the oracle knows both the exact output logits and every integer of internal state the hardware should commit.

The authors test agents across two tracks:

  1. Correctness Track: Agents write synthesizable RTL from scratch (interfaces) or adapt a working accelerator scaffold. Crucially, the authors vary debugging feedback across three levels: output-only (just logits), coarse-state (flagging that state diverged), and full-state (pinpointing the exact layer, token, and memory word that went wrong).
  2. PPA (Power, Performance, Area) Track: Starting from a verified design, agents must boost throughput by $\ge 5\%$ while increasing chip area—measured in FPGA Look-Up Tables (LUTs)—by $\le 2\%$.

Once submitted, designs are frozen and tested in isolation against held-out sequences, mid-run resets, and memory stalls, then physically routed for an AMD Alveo U250 FPGA board.

Datasets

The paper introduces AIChipBench, featuring 12 correctness tasks and 4 PPA optimization targets built around quantized decoders from three model families: Qwen3.5 (nano, 0.8B, 4B), Gemma 3 & 4 (4B, E4B), and Llama 3.2 (1B, 3B). Unlike single-shot RTL benchmarks (such as VerilogEval or RTLLM), AIChipBench requires multi-hour iterative debugging across repositories spanning 6,800 to 31,800+ lines of RTL, enforcing bit-exactness against floating-point models ($\ge 99\%$ top-1 token agreement on full-scale targets). No training datasets are used; the suite strictly evaluates tool-using coding agents.

Key Insights and Ideas

  • Pinpointing state bugs is a superpower: Telling an agent where internal state diverged (full-state feedback) doesn't just help it find bugs—it dramatically speeds up fixing them compared to merely knowing a state bug exists (coarse-state).
  • State rots silently before outputs fail: When testing designs on extended sequences, persistent state diverges a median of four decoding steps before any error appears in the output tokens. Short, output-only tests routinely give broken hardware a passing grade.
  • Correctness is fragile under optimization: Hardware speedups require delicate changes to buffering and scheduling. Over a third of all agent attempts to optimize a working chip ended up breaking its functional correctness.
  • Scaffolds beat blank slates: Agents reliably adapt existing parameterized accelerators, but struggle mightily when forced to wire up full-size decoders from bare module interfaces under fixed budgets.

Key Results

Four agents (Sol 5.6, Fable 5.1, Astra 6, and Opus 5.5) logged 9,136 attempts inside the MathCode harness:

AIChipBench leaderboard across overall score, correctness, and PPA tracks
  • Overall Leaderboard: Multiplying correctness and PPA rates places Fable 5.1 (25.0) and Sol 5.6 (24.5) well ahead of Astra 6 (16.8) and Opus 5.5 (16.5). Sol 5.6 led on correctness (62.4% task-averaged acceptance), while Fable 5.1 dominated optimization (47.9% improved).
  • The Value of State Feedback: In matched trials, full-state feedback boosted acceptance by 25.0 to 46.9 percentage points over output-only feedback across every single agent–task pair, cutting cost from 13.4 to 6.5 agent-hours per accepted chip.
  • Hidden Fragility: Across the correctness track, 148 designs passed every public test the agent could see, yet failed hidden evaluation. When 69 accepted designs were stress-tested on new conditions (like memory stalls and mid-stream resets), 45 failed within 32 steps.
  • Real-World Hardware: Improved PPA designs achieved median speedups of 12.2% to 17.0%. When physically placed, routed, and tested on an Alveo U250 FPGA board, real power measurements tracked post-route estimates within $-0.6\%$ to $+3.5\%$.

Limitations and Future Work

AIChipBench fixes the high-level module architecture upfront, meaning agents don't invent new chip architectures from scratch. Additionally, agents only edit RTL—physical placement and routing happen automatically post-submission, and evaluation targets FPGAs rather than custom silicon (ASICs). Finally, graded decoding horizons cap at 32 steps (256 in regrading). Testing whether state-aware feedback similarly accelerates other stateful hardware domains remains an open avenue for future work.

Summary updated

Abstract

A language-model decoder carries state between decoding steps, and in hardware a wrong state update can leave the current token correct and corrupt the output several tokens later, so a design can pass output tests and still be wrong. AIChipBench asks what LLM coding agents need to build such hardware correctly. Agents implement quantized Qwen3.5, Gemma 3, Gemma 4, and Llama 3.2 decoders in synthesizable register-transfer-level (RTL) code against an executable integer reference that specifies the outputs and the stored state at every decoding step. They debug against public tests under fixed budgets; their frozen designs are graded on held-out token sequences, resets, memory stalls, and synthesis, and a second track asks them to speed up a correct design at nearly fixed area. Across 9,136 attempts by four coding agents, the difficulty lies in stored state. Feedback that points to the first state mismatch raises acceptance over output-only feedback in all 12 agent--task cells of a matched study, by 25.0 to 46.9 percentage points, and halves the agent-hours per accepted design. Regraded on new sequences and conditions, 45 of 69 accepted designs fail within the 32 steps their tests required. More than a third of attempts to speed up a correct design end without one. An overall score ranks Sol 5.6 and Fable 5.1 above Astra 6 and Opus 5.5, and both halves of the instances give this order in all 200 random splits. Hardware agents therefore need debugging feedback that exposes stored state, and their benchmarks need final tests well beyond the development cases.
BibTeX
@misc{wang2026aichipbench,
  author = {Guangyuan Wang and Chengran Li and Minchen Luo and Jichen Feng and Mengdi Wang and Yifan Zhang},
  title = {{AIChipBench: Benchmarking LLM Agents for Automated AI Accelerator Design}},
  year = {2026},
  eprint = {2611.33093},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33093},
}
Figure