FrontierEval/Benchmark

AIChipBench

Can LLM coding agents build the hardware that runs a language model? The design must match an integer reference, in outputs and in stored state, at every decoding step.

Guangyuan Wang1,2, Chengran Li, Minchen Luo3, Jichen Feng4,5, Mengdi Wang4†, Yifan Zhang4†

1Mila   2McGill University   3Erised Labs   4Princeton University   5University of Pennsylvania

01

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.

02

Two tracks,
one evaluator

An agent is a language model run in a tool-using harness: it inspects files, writes and revises hardware code, runs lint, simulation, and synthesis, reads test feedback, and submits a design within caps on wall time, tool calls, and output tokens.

Correctness

Build a decoder.

The agent starts from module interfaces or a working accelerator scaffold and implements a quantized decoder in RTL. Twelve tasks cover seven targets from the Qwen3.5, Gemma, and Llama 3.2 families.

PPA

Speed up a correct design.

The agent starts from a correct reference design and must raise throughput by at least 5% with at most 2% more LUTs while every check still passes. Four targets, on an AMD Alveo U250 FPGA at a 126 MHz target clock.

Evaluation

Frozen, held-out grading.

An integer oracle gives the exact outputs and stored state at every transaction. A submitted design is frozen and accepted only if it matches the oracle on held-out sequences, resets, and memory stalls, synthesizes, and leaves protected files intact.

One agent attempt: task inputs, the agent's edit-and-test loop against public tests, the frozen design passing an isolated evaluator, and the reported rates and cost.
One agent attempt. The agent starts from interfaces or a scaffold (correctness track) or from a correct design (PPA track) and debugs against public tests whose feedback depends on the setting. Its final RTL is then frozen and must pass every gate of an isolated evaluator.
03

Decoder targets

The correctness track has twelve tasks on seven decoder targets from three model families. Qwen3.5-nano is our name for a compact Qwen-derived configuration with four layers, width 256, and a 4,096-token vocabulary. Four of the targets are also the PPA targets.

TargetStepsFrom interfacesFrom a scaffoldPPA track
Qwen3.5-nano T2 4 layers180.5%––
Qwen3.5-nano T3 4 layers871.1%––
Qwen3.5-0.8B 24 layers32–78.9%Yes
Qwen3.5-4B 32 layers32–77.1%Yes
Gemma 4 E4B 42 layers3226.0%56.3%Yes
Llama 3.2 3B 28 layers3232.3%64.6%Yes
Gemma 3 4B (text) 34 layers3232.0%47.7%–
Llama 3.2-1B 16 layers3239.5%66.4%–

From interfaces and From a scaffold give the share of attempts accepted on that correctness-track task, pooled over the four agents. A dash means the benchmark has no such task.

04

Leaderboard

Each agent makes 472 attempts on the correctness track and 384 on the PPA track. The overall score multiplies the two track scores, so it is high only when both are.

Overall score

100 · c · q

  • Fable 5.125.021.8–28.4
  • Sol 5.624.521.2–28.1
  • Astra 616.814.1–19.7
  • Opus 5.516.513.7–19.4

0102030

Correctness track

c · acceptance rate over twelve tasks, %

  • Fable 5.152.2
  • Sol 5.662.4
  • Astra 652.4
  • Opus 5.557.1

050100

PPA track

q · rate of improved designs over four targets, %

  • Fable 5.147.9
  • Sol 5.639.3
  • Astra 632.0
  • Opus 5.528.9

050100

valuepaired bootstrap 95% interval

Table view
AgentOverall score95% intervalCorrectness cPPA q
Fable 5.125.021.8–28.452.247.9
Sol 5.624.521.2–28.162.439.3
Astra 616.814.1–19.752.432.0
Opus 5.516.513.7–19.457.128.9
05

Findings

  1. 01
    Agents adapt a scaffold more reliably than they build a full-size decoder from interfaces.On four full-size targets, 408 of 704 attempts from a scaffold are accepted, against 239 from interfaces.
  2. 02
    Agents do much better when told where state diverges.Feedback that locates the first state mismatch raises acceptance over output-only feedback in all 12 agent–task cells, by 25.0 to 46.9 points, and lowers the cost per accepted design from 13.4 to 6.5 agent-hours.
  3. 03
    Passing a test suite does not establish exactness.148 designs pass every public test and fail final acceptance. When frozen submissions are regraded, 45 of 69 accepted designs fail a new sequence or condition within the 32 steps their tests required.
  4. 04
    Longer horizons lower acceptance, and the budget binds.At the 1× budget, pooled acceptance falls from 252 to 115 of 288 attempts between one and 16 required decoding steps, and 489 of 1,888 correctness-track attempts end at a cap without submitting.
  5. 05
    Optimization often ends without a correct design.571 of 1,536 PPA attempts end without a correct design, although each started from one that passed every gate.
06

Citation

@misc{wang2026aichipbench,
  title  = {AIChipBench: Benchmarking LLM Agents for Automated AI Accelerator Design},
  author = {Wang, Guangyuan and Li, Chengran and Luo, Minchen and Feng, Jichen and Wang, Mengdi and Zhang, Yifan},
  year   = {2026},
  eprint = {2611.33093},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CL}
}