Self-Learning AI Agent Beats Human Experts at Chip-Design Scripting
Original paper: Self-Evolving Beyond Human-Crafted Experience for EDA Scripting
"Imagine a baker experimenting in a private test kitchen to master obscure, poorly documented pastry recipes. Instead of relying on outdated cookbooks, the baker tests a recipe, observes whether the cake rises or collapses in the oven, and logs the precise fix into a three-tier binder. By systematically throwing out fluke results and keeping only proven rules, the baker builds a custom manual far superior to any standard handbook."
Designing modern microchips requires writing thousands of complex scripts for highly specialized, poorly documented software tools. Automating this scripting process with self-evolving AI dramatically speeds up microchip development cycles and reduces costly human troubleshooting. Beyond hardware design, this self-correcting framework provides a clear blueprint for training AI agents on complex, niche software across any industry.
- AI agent writes microchip design scripts by learning from past failures.
- A three-tier memory system automatically filters out wrong or fluke lessons.
- Beats traditional human-crafted cheat sheets on tough design benchmarks.
📑 Original arXiv Technical Abstract
The growing complexity of electronic systems demands efficient design flows, yet EDA scripting remains a bottleneck: proprietary APIs are sparsely documented, and errors often appear as silent failures or cryptic exceptions. Hand-crafted knowledge helps but is difficult to maintain as toolchains evolve. We present ZhuLong-SE (Self-Evolution), an execution-grounded LLM agent that learns reusable knowledge from prior task traces. Building on ZhuLong, it enhances the task-level harness with API retrieval, documentation responses, isolated sandbox execution, and static checking, then adds governed cross-task self-evolution. Beyond solving individual tasks, ZhuLong-SE distills past execution traces into a three-tier memory store governed by ground-truth anchoring, disconfirmation filtering, held-out rollback, and anti-leakage retrieval. On the 158-task EDA-Eval-PyAether benchmark, the full task-level harness, with self-evolution disabled, achieves 92.4% pass@1 and outperforms ZhuLong on all five tested LLM backbones. On a harder instance-disjoint test set, self-evolution from the bare configuration surpasses a human-crafted-experience baseline by 2.5 percentage points (80.0% vs. 77.5% pass@1).
✍️ Are you an author of this paper? Add code/demo links or a note
Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.