TRANSMISSION // 2611.31082v1
Can AI Agents Rebuild a Circuit They Can Only Probe?
Source published
ChiProgramBench tests whether LLM agents can infer hidden circuits through pin-level experiments and rebuild them as efficient gate-level designs. Complete correctness was uncommon, and efficient implementations were rarer still.

A circuit can be tested without being opened. But can an AI agent learn enough from its inputs and outputs to rebuild it, including its timing and hidden state, and make the replacement efficient? ChiProgramBench evaluates that challenge across 18 hardware tasks.
Learning a circuit from its pins
Engineers sometimes need to replace hardware whose design files are unavailable, even though a simulator or device can still be run. Matching a few ordinary inputs is not enough: a replacement may fail when a transaction is interrupted, a consumer applies backpressure, or reset arrives at a particular moment. Reconstructing a stateful circuit means choosing experiments that reveal not just what it computes, but how it behaves over time.
ChiProgramBench, introduced in an arXiv preprint by Tianrun Gou and colleagues, tests whether large language model (LLM) agents can complete that loop: probe a hidden circuit, infer its behavior, and submit a replacement that is both correct and efficient.
The benchmark contains 18 tasks drawn from open-source processors, accelerators, codecs, transforms, interconnects, and control circuits. Agents interact with a simulated reference through its pins. They can drive inputs and read outputs, but cannot inspect the reference’s files. Their submission must be a gate-level netlist built from cells in a public library—not simply a high-level circuit description.
The researchers tested two information settings. In black-box discovery, functional pins are anonymized; agents are told their widths and given the interfaces of fixed memories. In function-guided reconstruction, agents also learn the circuit’s purpose and the role of each pin. Neither setting reveals internal state transitions or protocol timing, which agents must investigate.
Hidden test cases compare the submitted circuit with the reference cycle by cycle. Tests cover computation as well as reset, recovery, backpressure, and protocol interactions. Power, delay, and area count toward the score only if every hidden case passes. This strict rule distinguishes a circuit that works on many tests from one that clears the full functional bar.
Better clues helped, but did not solve the task
Across 432 trials involving six LLM-agent configurations, full passes were uncommon: 12.0% of black-box trials and 14.8% of function-guided trials passed every case. Function guidance raised the mean functional score—the cycle-weighted share of passed test cases—from 24.6% to 30.9%. Gains varied by task, and descriptions did not remove the need to discover timing, buffering, and interactions between signals.
Some submissions came close without succeeding completely: 16 exceeded a 99% functional score but still failed at least one case. The score weights cases by their number of cycles, so a long workload that is mostly correct can outweigh shorter failures.
The paper’s examples show why carefully chosen tests matter. In an FFT task, an agent used memory traffic and constant-input experiments to infer a complex-data pipeline, then investigated mode-dependent scaling, rounding, and behavior during gaps between frames. One reconstructed design passed all 101 hidden cases, but its area and power remained higher than the reference. In an Ethernet task, agents scored above 99% functionally yet missed ARP-response and protocol-arbitration cases. The authors suggest that repeating familiar transactions may leave competing explanations of conditional behavior unresolved.
Correct behavior did not usually translate into a more efficient implementation. Of the 58 submissions that passed every case, only three improved on the reference’s combined power–area–delay product. Among those passing designs, median area was 1.22 times the reference and median power was 1.52 times the reference; median delay was roughly equal. Because PPA credit is available only after a full pass, one missed case rules out that credit entirely.
What the benchmark does—and does not—show
The results suggest that discovering a circuit’s behavior and implementing it efficiently are distinct challenges. Function descriptions helped agents make progress, but probe-call volume alone did not predict success. The authors identify experiments that distinguish competing state and protocol models, accurate implementation, and optimization that preserves behavior as separate capabilities to measure.
There are important limits. The 18 tasks do not represent every kind of hardware or demonstrate that agents can safely replace deployed circuits. Each agent configuration received two trials per task in each setting, under a six-hour time limit; results may differ with other models, tools, budgets, or tasks. The authors also note that agents might recall the public upstream designs, a possible confound left for future work.
Passing the hidden tests is not proof of full equivalence: the tests are finite. Reported delay is measured before layout and excludes wire parasitics, so it does not establish physical-chip timing. ChiProgramBench is presented as a preprint, and its findings should be treated as provisional rather than independently established conclusions. It offers a structured test of circuit reconstruction while leaving open how well these results transfer beyond its simulated tasks and evaluation setup.
- ChiProgramBench
- LLM agents
- hardware reconstruction
- circuit design
- active experimentation
- gate-level netlists
- hardware benchmarks
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
AI Helps Rebuild Readable Designs From Digital Circuits
Supporting evidence: Both studies illustrate the limits of checking only observed cases: in ChiProgramBench, some submissions with functional scores above 99% still failed hidden cases; RTLREX instead reports formal equivalence proofs for its PA-30 benchmarks and complete-domain simulation for its truth-table suite. These findings support the bounded point that observed agreement is not equivalent to exhaustive validation; the tasks and verification methods differ, so their success rates are not directly comparable.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2611.31082v1 — Original paper
Excerpt reference:
static/papers/2611.31082v1.md:61-128
Basis: Paper text
Source SHA-256:c5f84c7b33c6109e0f888cdd1c7666809d3d3f8b8d477d901296c01b4da1c19a2611.31082v1 — Original paper
Excerpt reference:
static/papers/2611.31082v1.md:855-901
Basis: Paper text
Source SHA-256:c5f84c7b33c6109e0f888cdd1c7666809d3d3f8b8d477d901296c01b4da1c19a2611.10798v2 — Original paper
Excerpt reference:
static/papers/2611.10798v2.md:1119-1232
Basis: Paper text
Source SHA-256:f7fe7bf60cff7db59cb9716bbceb49b3572c4178b42733e7fa227285c4022ca5
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
How closely do LLM agents match human behavior in interactive tasks?
Source published
Shared keywords: llm agents
MemChain Gives AI Agents a Working Memory Trace
Source published
Shared keywords: llm agents
Teaching LLM Agents What to Remember
Source published
Shared keywords: llm agents
Why AI Agents Can Agree With Themselves—and Still Fail Each Other
Source published
Shared keywords: llm agents
HarnessFlow searches for better AI-agent software without changing the model
Source published
Shared keywords: llm agents