NeurIPS 2026QuestionsPapersAreasAboutMarkdown

PCBSchemaGen: Reward-Guided LLM Code Synthesis for Printed Circuit Boards (PCB) Schematic Design with Structured Verification

Huanghaohe Zou, Peng Han, Emad Nazerian, Mafu Zhang, Zhicheng Guo, Alex Huang

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: LLM Agents, Evals & Benchmarks › Hardware-Accelerated Code and System Benchmarking · Type: new method · Keywords: LLM code synthesis, circuit schematic generation, deterministic verifier, Thompson Sampling, reference-free verification

Areas: Code & Coding Agents › Code Verification › Verification benchmarks; Evaluation & Benchmarks › Language Model and Agent Benchmarks › Language Models for Hardware Design

Summary

PCBSchemaGen is a training-free inference-time framework that turns a frozen LLM into a verifiable, repairable PCB schematic generator by grounding decoding with a domain schema and refining candidates with a deterministic verifier and Thompson Sampling.

Explained to a 5-year-old

A big computer brain tries to draw circuit pictures. Usually we check drawings with simple tests, but for circuits there are no tests. So we give the brain a set of rules and a helper that points out mistakes. The brain keeps trying until it makes a picture that follows all the rules. This helps make circuit drawings without needing perfect examples.

Explained to a 5-year-old, longer

Imagine a super smart robot that can write code to draw electronic circuit diagrams. In most programming tasks, we can test the code with simple checks, but for circuits there are no easy tests because the correctness depends on many hidden rules about how parts connect. To solve this, the robot is given a big rule book that describes how real electronic parts fit together. It also has a special checker that looks at each drawing and says exactly where something is wrong, like a wrong wire connection. The robot uses a game-like method where it tries many drawings, learns from the checker, and picks the best ones. This way, the robot can create circuit diagrams that are correct even though we don’t have perfect example drawings to copy. It works without needing to train the robot on many examples, just by using the rules and the checker during the drawing process.

For a technical reader

The system creates circuit schematics by guiding a large language model with a domain schema derived from IC datasheets. A deterministic verifier scores candidate schematics and pin-level errors, and a Thompson Sampling bandit selects the best candidates for refinement. This inference-time process eliminates the need for per-task golden references and unit-test oracles.

Problem

Many code-synthesis tasks rely on unit tests to verify correctness, but domains such as circuit schematic design lack such oracles because correctness depends on structured physical constraints and pin-level assignments, and there are no per-task golden references.

Method

The approach induces a domain schema from IC datasheets to guide LLM decoding, pairs it with a deterministic multi-layer continuous-reward verifier that localizes pin-level errors, and refines candidate schematics using a Thompson Sampling bandit.

Results

The approach enables a 31B model to pass 81.3% of tasks on the benchmarks and transfers across both benchmarks without verifier changes, whereas a baseline collapses on hard designs.

Contributions

A training-free inference-time framework that uses a deterministic structural verifier and Thompson Sampling to synthesize verifiable circuit schematics without unit-test oracles, and an evaluation on 227 real-IC tasks across 22 circuit domains.

Practical relevance

It enables reliable LLM-based schematic generation for hardware design without requiring per-task golden references, facilitating safer and faster circuit development.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction