cs.AINov 23, 2026

ChiProgramBench: Can LLM Agents Rebuild Efficient Circuits from Pin-Level Experiments?

Authors: Tianrun Gou, Qingyao Yang, Wendong Xu, Liang Chen, Kuan Li, Ngai Wong

Organizations: UniPat AI · The University of Hong Kong

Abstract

Understanding a system that can be run but not inspected is a core engineering skill: one designs experiments, forms hypotheses about hidden state and timing, discards those that observations refute, and finally builds a replacement that works and is efficient. To evaluate this capability of LLM agents in the hardware domain, we present ChiProgramBench, 18 tasks derived from open-source processors, accelerators, codecs, transforms, interconnects, and control circuits. Agents can only drive and read the pins of a hidden, stateful simulated reference, then submit a gate-level netlist made of public library cells. Agents work in two settings: black-box discovery gives only anonymized functional pins and the interfaces of fixed memories, while function-guided reconstruction adds the circuit's purpose and each pin's role. Hidden test cases compare outputs with the reference cycle by cycle; power, delay, and area earn credit relative to the reference only when every case passes. Across 432 trials of 6 LLM agent configurations, successful agents recover algorithms and numerical conventions, yet only 12.0% of black-box and 14.8% of function-guided trials pass every case. Function-guided reconstruction raises the mean functional score, the cycle-weighted share of passed cases, from 24.6% to 30.9%. Of the 58 fully passing designs, only three improve on the reference's combined power, area, and delay, so behavioral recovery and efficient implementation remain distinct challenges.

Figures & tables

Explore similar work

CardsList
  1. HWRE-Bench: Can LLM Agents Understand Hardware They Did Not Design?

    Nov 23, 2026Peilong Zhou, Cangyuan Li, Kaiyan Chang +1LLM Agent EvaluationProcess-Based Agent Evaluation

  2. HWE-Bench: Benchmarking LLM Agents on Real-World Hardware Bug Repair Tasks

    Apr 16, 2026Fan Cui, Hongyuan Hou, Zizhang Luo +2Automated Program RepairElectronic Design Automation

  3. AIChipBench: Benchmarking LLM Agents for Automated AI Accelerator Design

    Nov 24, 2026Guangyuan Wang, Chengran Li, Minchen Luo +3Coding Agent BenchmarksAI Coding Agents