Exploiting Function-Family Structure in Analog Circuit Optimization

Zhuohua Liu, Kaiqi Huang, Qinxin Mei, Yuanqi Hu, Wei W. XingarXiv 2025 · DOI

Executive Summary

The Circuit Prior Network (CPN) revolutionizes analog circuit optimization by replacing generic "smooth" models with a foundation model that understands circuit physics. By leveraging a pre-trained transformer (TabPFN v2) and a novel acquisition rule, CPN achieves near-perfect surrogate accuracy with significantly fewer simulations than traditional Bayesian Optimization methods, reaching target performance levels up to 11.89× faster.

Problem Statement: The "Jagged" Reality of Analog Design

Analog circuit design is a massive industry, yet transistor sizing—the process of selecting optimal dimensions for every component—still consumes up to 50% of design time. This inefficiency stems from the fact that SPICE simulations are slow, design spaces are high-dimensional, and performance mappings are "jagged."

Most current optimization tools use Gaussian Process (GP) surrogates. GPs assume that circuit performance changes smoothly across the design space. However, real circuit physics involves exponential device laws, rational transfer functions, and sharp "regime-switching" (e.g., a transistor suddenly turning off). This mismatch means GPs often require hundreds of samples to "learn" the basic shape of a circuit's behavior, making them inefficient for practical design budgets.

Methodology: The Circuit Prior Network (CPN)

The authors introduce the Circuit Prior Network (CPN), which shifts the focus from fitting arbitrary functions to identifying members of a known "function family."

  1. TabPFN v2 as a Physics-Aligned Prior: Instead of a standard GP, CPN uses TabPFN v2, a tabular foundation model. This transformer is meta-trained on millions of synthetic tasks that include primitives found in circuits: exponentials, power laws, and piecewise boundaries. It essentially comes "pre-loaded" with an understanding of circuit-like behaviors.
  2. Direct Expected Improvement (DEI): Standard Bayesian Optimization assumes the model's prediction follows a simple Gaussian distribution. Because TabPFN provides a discrete, potentially multi-modal posterior, the authors developed DEI. This acquisition function calculates the "expected improvement" exactly over the model's discrete output, making it far more robust near sharp regime boundaries.
  3. Direct FoM Modeling: Rather than modeling every individual constraint separately, CPN models an aggregated Figure of Merit (FoM) directly. This approach is significantly faster and more effective at capturing how different metrics couple together.

Experimental Evaluation

The researchers evaluated CPN across six diverse analog circuits, ranging from low-dimensional amplifiers to high-dimensional power management blocks:

  • Two-stage & Three-stage OpAmps: Standard building blocks with tight stability constraints.
  • Bandgap Reference: Dominated by exponential temperature sensitivities.
  • FDDSD-Gm: A high-dimensional (53 variables) differential transconductance circuit.
  • LDO & Charge Pump: Power management circuits with complex regime-switching behaviors.

Key Results and Insights

CPN consistently outperformed 25 different baseline optimizers (including GP-BO, evolutionary algorithms, and neural surrogates) across all benchmarks.

Superior Surrogate Accuracy

In small-sample regimes (50–100 samples), CPN achieved an $R^2 \approx 0.99$. In contrast, GP-based methods often collapsed, achieving $R^2$ as low as 0.16 on the Bandgap circuit. This confirms that inductive bias matters: we don't need to learn circuit physics from scratch for every new design if the model is pre-trained on the right "vocabulary."

Surrogate accuracy ($R^2$) comparison. CPN maintains near-perfect accuracy even with very small sample sizes, whereas traditional GP models struggle with circuit-specific physics.

Optimization Efficiency and Design Quality

CPN reached target performance levels 3.34× to 11.89× faster than baselines. On some circuits, it found optimal designs in under 20 iterations, while others required 400+. Furthermore, CPN delivered up to 3.81× higher Figure of Merit (FoM) compared to the weakest baselines and consistently found the best constrained objectives.

Heatmap showing CPN (leftmost column) consistently achieving the best normalized constrained objectives across all six circuit benchmarks compared to 25 other methods.

Conclusion

The Circuit Prior Network demonstrates that moving away from hand-crafting kernels toward "systematic physics-informed structure identification" using foundation models is the future of analog design automation. While limited by the transformer's context window, CPN's ability to leverage synthetic priors sets a new standard for simulation-efficient optimization.

Summary updated

BibTeX
@misc{liu2025exploiting,
  author = {Zhuohua Liu and Kaiqi Huang and Qinxin Mei and Yuanqi Hu and Wei W. Xing},
  title = {{Exploiting Function-Family Structure in Analog Circuit Optimization}},
  year = {2025},
  eprint = {2512.00712},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.00712},
}
Figure