PaperarXiv:2611.33093 · cs.CL · Nov 24, 2026
AIChipBench: Benchmarking LLM Agents for Automated AI Accelerator Design
Guangyuan Wang, Chengran Li, Minchen Luo, Jichen Feng, Mengdi Wang, Yifan Zhang
A carefully instrumented benchmark with matched, block-bootstrapped comparisons and candid reporting of where effects are weak. The feedback-locality finding is a concrete lesson for test-feedback design in agent loops. The headline claims rest on high-acceptance tasks, a single harness and opaque agent identities. The optimization-fragility claim conflates agent behavior with the absence of checkpointing, and the composite leaderboard is the least robust part.
Novelty
3 out of 5Rigor
4 out of 5Reproducibility
2 out of 5Relevance to harnesses
3 out of 5
TL;DR
A benchmark in which coding agents write synthesizable RTL for quantized LLM decoders and are graded against an integer oracle that fixes outputs and stored state at every step. The clearest result is that feedback naming the first mismatching state word roughly doubles pooled acceptance over output-only feedback (144 to 295 of 384). That result comes from three small or scaffolded, high-acceptance tasks run through a single harness.
Adversarial review by Harness Hub · Nov 27, 2026 · read full text (truncated) · Suggest a correction
Original abstract (authors’ text, select to expand)
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.
Filed undermemoryevaluationcoding-agentsagentsllm
Summary
AIChipBench gives LLM coding agents a quantized decoder target: Qwen3.5-nano, 0.8B or 4B; Gemma 3 4B; Gemma 4 E4B; Llama 3.2-1B; or Llama 3.2 3B. The agent starts from a workspace that holds either interfaces only or a working scaffold. It has lint, simulation, bounded property checks and synthesis, under caps on wall time, tool calls and output tokens. An executable integer oracle, whose source agents cannot read, fixes every arithmetic decision. It also fixes the committed state (KV cache, GDN recurrent state, metadata) at each transaction. A frozen submission is accepted only if it passes all five gates: - integrity of protected files; - the full public suite, rerun with state checks; - a held-out suite with new weights and sequences, nonzero cache positions, reset after activity, memory stalls and parameter reload; - synthesis; - local checks. A PPA track starts from a correct design on an Alveo U250. It counts an attempt as improved only if the design stays correct, gains at least 5% throughput and grows LUTs by at most 2%. Four agents (Sol 5.6, Astra 6, Opus 5.5, Fable 5.1), all run through one harness (MathCode), make 9,136 attempts. Diagnostic studies cover: - feedback content: output-only, coarse-state or full-state; - horizon, state condition and budget, on one nano scaffold; - regrading of accepted designs out to 256 steps; - place-and-route and board power.
Key findings
- Feedback study (Section 4.2): pooled acceptance is 144, 208 and 295 of 384 under output-only, coarse-state and full-state feedback. Agent-hours per accepted design fall from 13.4 [11.3, 16.2] to 6.5 [5.9, 7.3].
- Full-state beats output-only by 25.0 to 46.9 points in all 12 agent-task cells. Full-state beats coarse-state by 9.4 to 37.5 points, with intervals excluding zero in seven cells. Coarse-state over output-only excludes zero in only two cells (Table 35).
- Detection versus repair (Table 37): agents find a state defect in 151 of 166 full-state attempts and 142 of 169 coarse-state attempts. They repair it in 123 of 166 and 87 of 169, so the difference lies mostly in repair.
- Regrading (Section 4.3): 45 of 69 accepted submissions fail at least one sequence within 32 steps, while 2,123 of their 2,208 sequences stay exact. 17 of the 85 failing sequences are wrong in state only. Output checks extended to 48 steps miss none (Figure 5c).
- 148 designs pass every public test and fail final acceptance. Under output-only feedback, 219 of 384 attempts submit a design that passes every visible check, 199 pass the full public suite, and 144 are accepted.
- Starting workspace (Table 5): pooled scaffold adaptation is accepted in 47.7 to 78.9% of attempts. Full-size construction from interfaces is accepted in 26.0 to 39.5%, at 46 to 184 agent-hours per accepted design.
- PPA track (Table 2): of 1,536 attempts, 965 stay correct and 569 meet Equation 3. Fable 5.1 improves 184/384 and Opus 5.5 111/384. Of the 571 attempts without a correct design, 377 reach a cap and 194 submit an incorrect design.
- Budget binds: 489 of 1,888 correctness-track attempts end at a cap. In the controlled matrix at 1x budget, acceptance falls from 252/288 at 1 step to 115/288 at 16 steps (Table 6).
- Overall score (Figure 2, Section 3): Fable 5.1 25.0, Sol 5.6 24.5, Astra 6 16.8, Opus 5.5 16.5. The ranking differs between the correctness track, the PPA track and the controlled matrix.
The paper at a glance
- Target decoder plus integer oracle (outputs and state per transaction)
- Agent in sandboxed workspace (interfaces or scaffold) with lint/sim/synth tools under caps
- Public tests with output-only, coarse-state or full-state feedback
- Freeze and hash RTL
- Isolated grading: integrity, public, held-out, synthesis, local checks
- PPA track: improved if correct, at least 5% throughput, at most 2% LUT growth; place-and-route and board power
Data table
| Method | attempts |
|---|---|
| Output-only feedback | 144 attempts |
| Coarse-state feedback | 208 attempts |
| Full-state feedback (first mismatching state word) (this paper) | 295 attempts |
Why it matters
For harness builders the transferable lesson concerns test-feedback design, not chip design. When the artifact being built carries hidden state across steps, a test runner that reports the first divergent internal value lets the agent finish far more often than one that reports only the eventual wrong output. In this study pooled acceptance rises from 144 to 295 of 384 and cost per success roughly halves. The decomposition shows that locating the mismatch matters more than flagging that state is wrong, and that the difference lies in repair rather than detection. The paper also supports two practices: freezing submissions and grading them on held-out tests, and treating slow tool calls (162 minutes per validation pass) as a budget that decides many outcomes. Harness builders should also note something the paper does not frame as a harness issue. Most failed optimization attempts end at a cap with broken RTL, a failure mode that checkpointing the last correct state would address. The RTL, FPGA and PPA content is irrelevant to anyone not building hardware agents. Every result runs through one harness, so nothing here compares harness designs directly.
Issues (9)
- High severityWhere in paper: Section 1 (regime paragraph); Section 3 opening; Table 8
All four agents run through one harness (MathCode) and are identified only by product-style names. The main text gives no underlying model checkpoints, sampling settings or prompts, although Table 8 lists these as required manifest fields. The paper concedes that results 'describe a model and its harness together.' The leaderboard therefore cannot separate model capability from harness behavior, and the agent ranking may not transfer to other harnesses.
- High severityWhere in paper: Abstract; Section 4.2; Table 5; Section 2.3
The headline feedback result (25.0 to 46.9 points in all 12 cells) is measured only on nano T2, nano T3 and the Qwen3.5-0.8B scaffold task. These are among the highest-acceptance settings in Table 5, at 80.5%, 71.1% and 78.9% pooled. The nano target also falls below the paper's own 99% fidelity threshold, at 97.22%. The abstract and conclusion generalize to 'hardware agents' without testing feedback on full-size construction from interfaces, where acceptance is 26.0 to 39.5%.
- Medium severityWhere in paper: Section 4.5; Figure 6b; Abstract
The claim that 'correctness is fragile under optimization' (more than a third of PPA attempts end without a correct design) is largely a cap artifact. 377 of the 571 such attempts reach a cap with RTL that fails the checks, and only 194 submit an incorrect design. Every attempt started from a gate-passing design, so a harness that kept or reverted to the last correct checkpoint would remove most of these failures. The paper attributes the outcome to the agents rather than to the harness's lack of checkpointing.
- Medium severityWhere in paper: Section 2.1 gate (ii); Section 4.3; Table 35
At grading, the public suite is rerun 'with state checks whatever feedback the agent saw.' Output-only agents are therefore graded on criteria they could not observe. Part of the gap between 219 attempts that pass visible checks, 199 that pass the full public suite, and 144 accepted reflects this visibility mismatch rather than debugging ability alone. The coarse-state arm partly controls for this, but its gain over output-only excludes zero in only two of 12 cells.
- Medium severityWhere in paper: Abstract; Section 4.3; Figure 5c; Appendix D.6
The abstract's '45 of 69 accepted designs fail' reads as widespread incorrectness. At the sequence level, 2,123 of 2,208 sequences stay exact. Only 5 of the 45 failing designs are wrong in state only within 32 steps, and output checks extended to 48 steps miss none. The case that output tests are insufficient is about test length as much as state visibility.
- Medium severityWhere in paper: Section 2.2; Section 4.1; Section 4.4
Outcomes are strongly budget-bound. About 26% of correctness attempts end at a cap, and one validation-plus-synthesis pass takes 162 minutes. Rankings shift between experiments: on the controlled matrix Fable 5.1 has 445 of 864 accepted against 385 for Sol 5.6, which ranks first on the correctness track. Per-agent differences therefore partly reflect how each agent spends a slow, fixed tool budget.
- Low severityWhere in paper: Section 2.4; Section 3; Section 3.2; Appendix Table 64
The overall score 100*c*q is a product the authors chose, and the gap 'comes mostly from the PPA track.' The PPA criterion uses evaluator throughput: after routing, 74 of 569 nominal improvements are lost and 33 are gained. The split-half stability claim (all 200 splits) covers only the top-two versus bottom-two partition, not the order within each pair.
- Low severityWhere in paper: Section 2.1 example task; Appendix A.1
Some reference designs are partly agent-produced. The 4B reference was 'derived from a gate-passing submission of a model outside the four evaluated agents,' and agents drafted components of the 0.8B and Llama 3.2 3B references. The drafting models are not identified, so possible affinity with an evaluated agent cannot be ruled out.
- Low severityWhere in paper: Section 2.4; Section 3.2; Table 1
The PPA and board results require an AMD Alveo U250, Vivado 2024.1, board power instrumentation, and proprietary agents with caps up to 30 h per attempt. Few groups can rerun them even with the released repository.
Questions for the authors
- What models and checkpoints underlie Sol 5.6, Astra 6, Opus 5.5 and Fable 5.1, and does the feedback effect hold under a different harness?
- Does full-state feedback give a comparable gain on full-size construction from interfaces (Gemma 4 E4B, Llama 3.2 3B)?
- How many of the 377 capped PPA attempts had passed the correctness checks at some earlier point, so that checkpoint reversion would have saved them?
- How much of the output-only deficit remains if those designs are graded only on longer output checks, for example 48 steps?
- Which model produced the submission from which the Qwen3.5-4B reference was derived?
Tools on the same problem
Products and open-source projects in the directory closest in meaning to this paper.
Open source · THUDM
Related papers
arXiv:2610.36589 · cs.AI · Oct 27, 2026
Coding agents are beginning to develop the production-grade AI infrastructure that trains and serves large models, yet existing benchmarks cover only single kernels or single-GPU tasks, and grade with tests and prompts that misjudge both correct and incorrect patches. We introduce InfraDev, a benchmark of 36 tasks built from real-world pull requests to Megatron-LM, vLLM, and verl, covering infrastructure development for training, inference, and reinforcement learning. Each task asks an agent to reimplement a real change that spans many files and must run correctly across many GPUs. To grade such changes, we jointly synthesize hidden probes, which enforce the requirements the original tests leave unchecked, and a prompt that states every interface the probes call without revealing the solution. We also design a shared execution environment that reuses dependencies and artifacts across tasks, cutting storage by 52-57% and build time by 13-14% on Megatron-LM and vLLM. Across six frontier models, the best resolves only 38.9% of the tasks; the probes reject 32% of the submissions that pass every official test, and with the original pull request descriptions as prompts, no model resolves a single task. Failure analysis shows that structural and state errors dominate and that agents' own tests rarely check memory, time, or traffic. Turning these findings into an agent skill raises the resolved rate of a frontier model on the Megatron-LM tasks by 10.5%.
Yangshen Deng, Jiaqi Ruan +4
arXiv:2610.32648 · cs.SE · Oct 23, 2026
Large language model (LLM)-based coding agents may propose invalid actions that are not applicable in the execution environment, such as accessing non-existent paths or missing packages. We term this mismatch hallucinated tool use. A preliminary study of 4,398 agent trajectories reveals that these hallucinations are pervasive and costly, requiring a median of 3 additional interaction steps and 22.4K tokens to recover. Existing frameworks rely on reactive, post-execution feedback, wasting runtime resources. Nevertheless, since an agent's execution environment is grounded in concrete codebase and harness components, many action prerequisites can be extracted and validated prior to execution. To this end, we introduce StateMirror, a lightweight pre-execution detector. StateMirror intercepts actions at the harness boundary, extracts state predicates via AST and command analysis, and deterministically validates them against the live repository. By pinpointing exact environment mismatches before execution, StateMirror preempts invalid actions and subsequent recovery cycles. Evaluation on 2,508 actions shows StateMirror achieves 0.940 precision and 0.817 F1 in detecting such hallucinations, surpassing the strongest LLM judge by 35.3% in F1 while reducing median detection latency from 17.73 s to 1.50 ms with zero token consumption. For practical mitigation, StateMirror's pre-execution feedback enables agents to rectify over 95% of hallucinated tool calls. During live mitigation on 79 tasks, StateMirror reduces agent execution time by 15.8% and token consumption by 11.8% while maintaining task resolution.
Shiwen Shan, Yintong Huo +2
arXiv:2611.32973 · cs.SE · Nov 24, 2026
Autonomous specification engineering requires coding agents to translate functional requirements into executable tests and use the results to discover and validate defects. However, existing benchmarks evaluate coding agents on explicitly specified test generation tasks, commonly providing an issue description, a designated test entry point, or files to inspect, leaving the ability to determine what to test and where to investigate insufficiently evaluated. Relying on such clues bypasses the challenge of mapping requirements to implementations and proactively uncovering unknown defects. We propose SpecEngineeringBench, comprising 100 instances from 78 open-source Python repositories across 16 application categories, with multiple recorded defects in each instance. Two independent tasks evaluate complementary capabilities: generating test suites and discovering defects through execution analysis. The evaluation combines test validity, defect detection, and coverage with localization precision and recall. Across seven frontier coding agents, results reveal that test validity and coverage decouple from defect exposure: agents achieve a 91.47% Head Pass Rate and 80.48% Change-focused Coverage alongside a 26.36% Fail-to-Pass Rate, while localization recall drops from 78.11% at the file level to 51.29% at the function level. Autonomous test generation improves file, function, and hunk localization recall by 4.99, 2.77, and 2.69 percentage points over relying solely on existing repository test suites.
Xingjian Wang, Shijian Wang +11
arXiv:2611.24324 · cs.AI · Nov 18, 2026
AI coding agents have become one of the most popular applications of large language models. Yet, agentic AI comes at the cost of a tremendous amount of GPU compute resources, which limits its profitability and its viability at scale. In this paper, we investigate whether smaller, cheaper models can cut this cost without sacrificing accuracy. We evaluate 36 popular large and small open-weight models released since 2024 on a software engineering benchmark, and find that recent small models are closing the accuracy gap compared to their large counterparts. We investigate the structure of this gap and find that the gap is highly concentrated around hard tasks that small language models fail to solve while achieving remarkably good accuracy for easy and medium complexity tasks. Following this observation, we show that by utilizing a hybrid inference strategy that tries a small model first and escalates to a large one only when needed, we can achieve up to 33% reduction in total GPU-hour costs and 16.4% on all tasks from SWE-bench Verified, without sacrificing accuracy. Strikingly, this simple cascade nearly matches an oracle-style task router, highlighting a practical path for deploying cost-aware coding agents in production without complex learned task routers and with minimal engineering complexity.
Boxi Zhou, German Sviridov +2
arXiv:2611.33893 · cs.MA · Nov 25, 2026
LLM-based coding agents are increasingly used for long-horizon tasks such as building an entire program from a specification. Products like Codex and Claude Code let an agent delegate work to parallel subagents, multiplying run cost, yet it remains unclear whether and when delegation produces a better program. We compare a single agent with a main agent delegating to subagents on repository-construction tasks from NL2Repo and ProgramBench (which also provides an executable reference program). We compare scores at equal time and equal cost, run intervention experiments, and analyze fine-grained behavior. On randomly drawn tasks, parallel subagents raise hidden-test pass rates by only about 1 to 5 percentage points at up to 3.8x the cost of a single agent. Their gain is larger on hard tasks, where we find evidence of three mechanisms. Self-checking: with GPT-5.6 Sol, one sentence telling a single agent to probe the reference program first recovers most of this gain at a fraction of the cost; from GPT-5.6 Sol to GPT-6.1 Sol, the gain shrinks as single agents check their own work more. Fresh context: in extended runs, a single agent that periodically starts a new session with an empty conversation makes faster early progress in every comparison than one that resumes its conversation. Modularity: multi-agent runs produce more modular code (more files and shorter functions), closer to the upstream source. We observe similar patterns in a smaller replication with Opus 5.5 on Claude Code. Overall, subagents help when (i) a single agent stops checking too early, (ii) a long session keeps editing with little improvement, or (iii) modular code helps on the task; otherwise, they mainly add cost.
Zhiheng Lyu, Chengyu Yin +1
arXiv:2610.36015 · cs.SE · Oct 26, 2026
Background: To localize a fault, a coding agent can reason from source code alone or use debugger assistance by running the program and stepping through it in an interactive debugger. While earlier agents struggled with static execution tracing and debugger operation, frontier LLMs have improved at both. Objective: We evaluate how accurately coding agents localize faults without tools across original and transformed programs, how much debugger assistance improves accuracy and at what cost, and how agents use it when optional. Methods: We seed 610 single-line faults into 144 LeetCodeDataset solutions and rewrite each faulty program with five recipes of behavior-preserving transformations. Agents based on Sol 6.1, Luna 6, and Qwen 3.8 localize each fault with no, optional, or encouraged debugger assistance. Results: Without tools, the agents localized 98.2 to 99.9% of faults in original and 96.7 to 99.9% in transformed programs, losing accuracy mainly where recipes restructured loops and conditions. Encouraged assistance removed 63% and 61% of Luna 6's and Qwen 3.8's remaining transformed errors (+2.1 and +1.3 percentage points) at 14.7 to 27.0 times the token use, while Sol 6.1 stayed at 99.9%. With optional assistance, Luna 6 and Qwen 3.8 still gained +1.5 and +1.3 points, though the agents used the interactive debugger in only 0.2 to 6.2% of runs. Conclusions: On short, precisely specified programs, current coding agents localize nearly all faults from source code alone, and debugger assistance removes most errors that remain. Given the choice, agents executed the program far more often than they stepped through it, yet kept most of the benefit.
Christoph Daxerer, Johann Glock +4