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.
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.
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.
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.
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.
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.
| Target | Steps | From interfaces | From a scaffold | PPA track |
|---|---|---|---|---|
| Qwen3.5-nano T2 4 layers | 1 | 80.5% | – | – |
| Qwen3.5-nano T3 4 layers | 8 | 71.1% | – | – |
| Qwen3.5-0.8B 24 layers | 32 | – | 78.9% | Yes |
| Qwen3.5-4B 32 layers | 32 | – | 77.1% | Yes |
| Gemma 4 E4B 42 layers | 32 | 26.0% | 56.3% | Yes |
| Llama 3.2 3B 28 layers | 32 | 32.3% | 64.6% | Yes |
| Gemma 3 4B (text) 34 layers | 32 | 32.0% | 47.7% | – |
| Llama 3.2-1B 16 layers | 32 | 39.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.
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
| Agent | Overall score | 95% interval | Correctness c | PPA q |
|---|---|---|---|---|
| Fable 5.1 | 25.0 | 21.8–28.4 | 52.2 | 47.9 |
| Sol 5.6 | 24.5 | 21.2–28.1 | 62.4 | 39.3 |
| Astra 6 | 16.8 | 14.1–19.7 | 52.4 | 32.0 |
| Opus 5.5 | 16.5 | 13.7–19.4 | 57.1 | 28.9 |
Findings
- 01Agents 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.
- 02Agents 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.
- 03Passing 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.
- 04Longer 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.
- 05Optimization 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.
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}
}