AIChipBench: Benchmarking LLM Agents for Automated AI Accelerator Design

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

arXiv:2611.33093 · 2026-11-28 공개 · arXiv · PDF

llm-agents benchmarking performance-optimization hardware-design rtl-code quantized-models debugging-feedback accelerator-design

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.

한국어 요약

한 줄 요약

AIChipBench는 LLM 코딩 에이전트가 언어 모델 디코더 하드웨어를 정확히 구현할 수 있는지 평가하는 벤치마크로, 상태(state) 검증을 중점으로 한다.

핵심 기여도

핵심 아이디어

AIChipBench는 언어 모델 디코더의 상태(state)가 여러 토큰 뒤에 오류를 유발할 수 있다는 문제를 해결하기 위해 설계되었다. 기존 테스트는 출력만 비교하기 때문에 상태 오류를 놓칠 수 있다. 따라서 AIChipBench는 실행 가능한 정수 오라클(integer oracle)을 사용해 각 디코딩 단계에서 예상되는 출력과 저장된 상태를 명확히 정의한다. 이는 RTL 코드로 구현된 하드웨어 설계가 정확한지 확인하는 핵심이다.

또한, 디버깅 과정에서 상태 불일치를 지적하는 피드백이 설계 개선에 효과적임을 실험적으로 입증했다. 예를 들어, 첫 번째 상태 불일치를 지적하는 피드백은 출력만 기반한 피드백보다 수용률을 25.0~46.9%포인트 높이고, 에이전트 당 수용 설계를 위한 시간을 절반으로 줄인다. 이는 상태 검증이 디버깅 과정에서 필수적임을 시사한다.

기술적 접근법

주요 결과

의의 및 한계

AIChipBench는 디코더 하드웨어 설계에서 상태(state) 검증의 중요성을 강조하며, LLM 코딩 에이전트의 디버깅 능력을 정량적으로 평가할 수 있는 새로운 벤치마크를 제시한다. 특히, 상태 오류는 출력 테스트로는 감지하기 어렵고, 독립적인 테스트 데이터가 필요하다는 점을 실험적으로 입증했다.

그러나, 일부 설계는 최적화 과정에서 정확도가 저하되며, 이는 성능 향상과 정확도 유지 사이의 균형 문제를 드러낸다. 또한, 일부 에이전트는 제한된 예산 내에서 설계를 완성하지 못하는 경우가 있어, 에이전트의 신뢰성과 효율성도 중요한 고려 요소이다.

실용적 활용

AIChipBench는 AI 가속기 설계, 하드웨어 검증, LLM 기반 코딩 에이전트 평가 등에 활용 가능하다. 특히, 디코더 하드웨어의 상태(state) 오류를 사전에 감지하고, 설계 과정에서 디버깅 피드백을 개선하는 데 기여할 수 있다. 산업적으로는 FPGA 기반 가속기 개발, 클라우드 인프라 최적화, 실시간 언어 모델 처리 등에 적용 가능하다.