AIChipBench: telling LLM hardware agents where state diverges lifts pass rates by 25–47 points

AIChipBench: Benchmarking LLM Agents for Automated AI Accelerator Design

Guangyuan Wang, Chengran Li, Minchen Luo, Jichen Feng, Mengdi Wang, Yifan Zhang

cs.CL, cs.AI

2026-11-25

AIChipBench: feedback that locates the first state mismatch lifts decoder-RTL pass rates by 25–47 points over output-only feedback and halves agent-hours per pass.

What problem this solves

LLM coding agents already drive EDA toolchains: they edit hardware code and run lint, simulation, and synthesis. Existing RTL benchmarks (VerilogEval, RTLLM, CVDP) grade single-module generation or repo-scale bug fixing; none asks whether an agent can build a stateful accelerator that is exactly right. A language-model decoder is the hard case. Each decoding step emits logits and updates persistent state that later steps reuse, such as the attention KV cache and the recurrent state of GDN layers. A wrong state update can leave the current token correct and corrupt the output several steps later. In a small decoder built with exactly this defect, stored state is wrong at transaction 2, logits at transaction 5, the selected token at transaction 6; an output comparison over the first few steps passes the design. Two questions follow: what feedback does an agent need to find such a bug, and how does an evaluator certify exactness?

Method

Tasks ask agents to implement quantized decoders (Qwen3.5 nano/0.8B/4B, Gemma 3 4B, Gemma 4 E4B, Llama 3.2 1B/3B), embedding to output projection, in synthesizable RTL. The load-bearing mechanism is an integer oracle:

Budgets are realistic: one clean validation-and-synthesis pass on the 0.8B reference takes 162 minutes, so a 12-hour attempt fits fewer than five. Four agents (Sol 5.6, Astra 6, Opus 5.5, Fable 5.1, all in the same MathCode harness) made 9,136 attempts.

Results

MeasureResult
Full-state vs output-only feedbackacceptance up in all 12 agent-task cells, +25.0 to +46.9 pp; agent-hours per accepted design 13.4 → 6.5
Full-state vs a flag that state differs+9.4 to +37.5 pp, all 12 cells
Regrade of 69 accepted designs45 fail within the 32 steps their tests required; the 3 references stay exact throughout
Build a full-size decoder from interfaces26.0% (Gemma 4 E4B) to 39.5% (Llama 3.2-1B) accepted; same targets from a scaffold: 408 vs 239 of 704
PPA trackFable 5.1 improves 184/384, Sol 5.6 151, Astra 6 123, Opus 5.5 111; 571 of 1,536 attempts end with no correct design
Overall score (product of track rates ×100)Fable 5.1 25.0, Sol 5.6 24.5, Astra 6 16.8, Opus 5.5 16.5; same top two in all 200 random half-splits

The correctness track alone ranks differently: Sol 5.6 at 61.2%, Opus 5.5 at 55.9%, Astra 6 at 49.8%, Fable 5.1 at 48.3%; the overall gap comes mostly from the PPA track. Across the 144 regraded submissions, 482 of 624 failing sequences diverge in stored state first, a median of four steps before the output, and failures concentrate in bounded memory stalls (29 of 85) and reset after activity (28 of 85). On injected known defects, the full evaluator rejects 43 of 48 held-out defects; the public tests alone reject 3.

Why it matters

Two conclusions you can act on. First, for any target where internal state must be right (hardware, but equally databases or protocol implementations), debugging feedback has to expose that state and locate the first mismatch; output-only feedback turns debugging into blind guessing, and here the information is worth 25 to 47 percentage points plus halved agent-hours. Second, overfitting to development tests is measurable and severe: 148 designs that pass every public test fail final acceptance, and 45 of 69 accepted designs break on new sequences and conditions. Final grading has to run conditions the agent never saw. For model vendors, a score that multiplies reliability by optimize-without-breaking is closer to engineering reality than single-pass rates. This is a solid measurement paper and an incremental one; there is no new method here.

Limitations

Stated by the authors: tasks fix the module structure; agents do not place and route; graded horizons stop at 32 steps (regrade at 256); the state-feedback finding is untested on other stateful hardware.

Concerns from a close read. Part of the reference designs, which serve as ground truth, were drafted by an agent and then reviewed and edited by engineers; the 4B reference derives from a gate-passing submission by an outside agent with 70 lines changed. The test suites predate the reference RTL and no evaluated agent starts from its own code, but the ground truth is partly LLM-produced. Qwen3.5-nano sits below the benchmark's own 99% fidelity threshold (97.22%) and is kept for cost, so its results deserve a discount. All four agents share one harness, so the leaderboard measures model-plus-harness; the paper says so, and the caveat will get lost in translation. The product score is dimensionally awkward (what does 25/100 mean?), though the ordering is stable across 200 splits.

Terms

Source

Related papers

All paper explainers