ARCS: Autoregressive Circuit Synthesis with Topology-Aware Graph Attention and Spec Conditioning
Organizations: New York University
Abstract
This paper presents ARCS (Autoregressive Circuit Synthesis), a system for amortized analog circuit generation. ARCS produces complete, SPICE-simulatable designs (topology and component values) in milliseconds rather than the minutes required by search-based methods. A hybrid pipeline combines two learned generators, a graph VAE and a flow-matching model, with SPICE-based ranking. It achieves 99.9% simulation validity (reward 6.43/8.0) across 32 topologies using only 8 SPICE evaluations, 40x fewer than genetic algorithms. For single-model inference, a topology-aware Graph Transformer with Best-of-3 candidate selection reaches 85% simulation validity in 97ms, over 600x faster than random search. The key technical contribution adapts Group Relative Policy Optimization (GRPO) to multi-topology circuit reinforcement learning. GRPO resolves a critical failure mode of REINFORCE, cross-topology reward distribution mismatch, through per-topology advantage normalization. This improves simulation validity by +9.6 percentage points over REINFORCE in only 500 RL steps (10x fewer). Grammar-constrained decoding additionally guarantees 100% structural validity by construction via topology-aware token masking.
Figures & tables
| Values | Specs | Graph | Valid | Speed | Data | |
| AnalogGenie | × | × | × | 93.2% | 1 s | Manual |
| LaMAGIC | × | × | ✓ | N/A | N/A | Synthetic |
| CircuitSynth | ✓ | × | × | N/A | 10 s | RL only |
| AstRL | ✓ | ✓ | × | N/A | N/A | RL only |
| DiffCkt | ✓ | × | ✓ | N/A | N/A | Synthetic |
| ARCS | ✓ | ✓ | ✓ | 100% † | 0.02 s | Auto |
| Example: Generated Buck Converter |
|---|
| START TOPO_BUCK SEP |
| SPEC_VIN VAL_12.0 SPEC_VOUT VAL_5.0 |
| SPEC_IOUT VAL_1.0 SEP |
| INDUCTOR VAL_100 H CAPACITOR VAL_22 F |
| RESISTOR VAL_5m MOSFET VAL_15m |
| END |
| Method | Params | Struct | SimValid | Reward |
|---|---|---|---|---|
| Random Search | — | — | 81.2% | 7.28 |
| Genetic Alg. | — | — | 80.0% | 7.48 |
| Baseline GPT (SL) | 6.5M | 86.0 1.9 % | 40.1 0.7 % | 3.37 0.06 |
| Two-Head (SL) | 6.8M | 96.2 1.0 % | 50.4 2.2 % | 3.89 0.09 |
| Graph Trans. (SL) | 6.8M | 93.2 1.4 % | 45.4 3.0 % | 3.86 0.15 |
| REINFORCE (5000) | 6.5M | 95.5 1.3 % | 43.5 1.2 % | 3.74 0.04 |
| Method | Struct | SimSuccess | SimValid | Reward |
|---|---|---|---|---|
| VCG-only | 100% | 95.6% | 85.3% | 5.53 |
| CCFM-only | 100% | 97.1% | 85.3% | 5.50 |
| Hybrid (VCG+CCFM) | 100% | 97.1% | 94.1% | 6.37 |
| Method | SPICE Evals | Reward (95% CI) | SimValid |
|---|---|---|---|
| Random Search | 1 | 5.18 [5.05, 5.31] | 91.4% |
| Genetic Alg. | 320 | 7.56 [7.53, 7.60] | 100.0% |
| VCG only | 1 | 5.34 [5.27, 5.42] | 94.0% |
| CCFM only | 1 | 5.51 [5.44, 5.58] | 95.7% |
| Hybrid | 8 | 6.43 [6.38, 6.48] | 99.9% |
| Variant | Struct | SimValid | Reward |
|---|---|---|---|
| ARCS + RL (full) | 98.1% | 52.5% | 3.49 |
| No RL (supervised only) | 90.6% | 46.9% | 3.24 |
| No spec conditioning | 58.8% | 38.8% | 2.60 |
| Tier 1 only (7 topos) | 100% | 20.6% | 3.77 |
| Method | Reward | Sims | Time |
|---|---|---|---|
| ARCS only | 5.45 | 3 | 0.8 s |
| GA cold-start | 7.43 | 220 | 47.3 s |
| GA warm-start | 7.18 | 113 | 19.7 s |
| Level | Struct % | Comp % | Avg Comp | Time |
|---|---|---|---|---|
| None | 0.0% | 0.0% | — | 269 ms |
| Grammar | 100% | 0.0% | 18.6 | 125 ms |
| Topology | 100% | 100% | 4.3 | 27 ms |
| Full | 100% | 100% | 4.3 | 25 ms |
| Conf. | SimValid | Reward | Time | Speedup | |
|---|---|---|---|---|---|
| 1 | 1.16 | 72.5% | 5.01 | 35 ms | 1,680 |
| 3 | 0.82 | 85.0% | 5.48 | 97 ms | 606 |
| 5 | 0.74 | 85.0% | 5.40 | 164 ms | 359 |
| 10 | 0.67 | 77.5% | 5.14 | 324 ms | 181 |
| 20 | 0.57 | 82.5% | 5.18 | 641 ms | 92 |
| 50 | 0.52 | 82.5% | 5.10 | 1.6 s | 37 |
| Metric | Value |
|---|---|
| Pearson correlation ( ) | 0.988 |
| Spearman rank corr. ( ) | 0.947 |
| MAE | 0.147 |
| RMSE | 0.390 |
| Within 0.5 | 93.4% |
| Within 1.0 | 97.8% |
| SL Generator | RL Generator | |||||
|---|---|---|---|---|---|---|
| Conf | RM | % | Conf | RM | % | |
| 1 | 5.16 | 5.16 | — | 5.06 | 5.06 | — |
| 3 | 5.05 | 5.15 | +2.0 | 5.08 | 5.18 | +2.1 |
| 5 | 5.03 | 4.71 | 6.5 | 5.12 | 5.16 | +0.7 |
| 10 | 5.08 | 5.22 | +2.7 | 5.30 | 5.16 | 2.5 |
| 20 | 5.18 | 4.81 | 7.2 | 5.04 | 5.17 | +2.5 |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Topology | Cat | Reward | 95% CI |
|---|---|---|---|
| current_mirror | B | 8.00 | [8.00, 8.00] |
| voltage_doubler | P | 7.96 | [7.96, 7.97] |
| shunt_regulator | R | 7.77 | [7.64, 7.85] |
| series_regulator | R | 7.59 | [7.41, 7.73] |
| sallen_key_lowpass | F | 7.49 | [7.36, 7.60] |
| common_emitter | B | 7.05 | [6.90, 7.20] |
Electronic Design Automation
Electronic Design Automation uses algorithms and software to design, verify, optimize, and manufacture electronic circuits and systems.
See all 212 papers