ChiProgramBench: Can LLM Agents Rebuild Efficient Circuits from Pin-Level Experiments?
Abstract
Understanding and rebuilding a system that can be run but not fully inspected is a core engineering skill.
One designs experiments, forms hypotheses about how the system works, tests and revises them, and finally builds a replacement.
To evaluate this capability of LLM agents in the hardware domain, we present ChiProgramBench, a benchmark of 18 tasks derived from open-source processors, accelerators, codecs, transforms, interconnects, and control circuits.
Agents drive inputs, observe outputs, and submit a gate-level netlist for the replacement core using a public standard-cell library.
The black-box setting identifies clocks and resets, specifies the ports, capacity, and timing of any fixed SRAM outside the core, and lists the remaining pins by width and direction under anonymous names.
The function-guided setting also states the circuit's purpose and each pin's role.
Hidden test cases compare the submitted netlist's outputs with the reference cycle by cycle.
Power, delay, and area earn credit relative to the reference only when every case passes.
Across 648 trials of 6 LLM agent configurations, successful agents recover algorithms and numerical conventions, yet only 15.7% of trials in each setting pass every case.
The mean functional score, the cycle-weighted share of passed cases, is 28.3% in the black-box setting and 31.8% with function guidance.
Of the 102 fully passing designs, only 11 improve on the reference's combined power, area, and delay, demonstrating that behavioral recovery and efficient implementation remain distinct challenges in hardware.