Summary
Designing hardware to run language models can be tricky because small mistakes in tracking internal state can cause errors that show up only after many steps. The authors study how AI coding agents build these hardware designs and find that giving feedback that points out where the internal state first goes wrong helps them improve much more than feedback based only on final output errors. Even with such feedback, many designs fail on new tests or cannot be sped up effectively. The study suggests that future hardware design tools should provide detailed debugging information about internal state, and benchmarks must include challenging final tests beyond initial development.
What this means in practice
- •For hardware design teams: Improve AI hardware decoder designs by integrating state-aware debugging feedback to reduce errors and design time.
- •For ai accelerator benchmark developers: Develop more robust benchmarks that include hidden state tests and resets to better validate hardware decoder designs.
Authors
Guangyuan Wang, Chengran Li, Minchen Luo, Jichen Feng, Mengdi Wang, Yifan Zhang
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.