arXiv:2611.08543cs.ARNov 2026

Manuscript Offprint

arXiv:2611.08543

SAFTAC: Simulation-Augmented Fine-Tuning of Open-Source LLMs for Analog Circuit Design

Junsheng Huang, Yifan Sun, Zhuoer Zhang, Ning Wei, Yening Liu, Michael Molter, Pavan Kumar Hanumolu, Elyse Rosenbaum, Bin Hu, Huan Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Circuit design for analog integrated circuits (ICs) is challenging because circuit topology, device sizing, and circuit performance are tightly coupled. Existing large language model (LLM)-based methods either rely on inference-time correction around frozen models or train on limited circuit types without directly using simulation outcomes as training signals. A key bottleneck is that existing datasets do not provide sufficient task information for training LLMs on end-to-end specification-conditioned design. To fill this gap, we first construct a large-scale simulation-grounded dataset with 8,626 design tasks across 10 different types of analog circuits, where each task includes a textual description, labeled I/O ports, loading condition, target specifications, a testbench, and a reference netlist. Using this dataset, we present SAFTAC, a simulation-augmented fine-tuning framework that trains LLMs to generate and revise analog circuit design. SAFTAC combines three-stage supervised fine-tuning, which progressively builds the capabilities required for analog circuit design and feedback-guided correction, with simulation feedback-augmented reinforcement fine-tuning, which further optimizes models using simulation-grounded rewards. We evaluate SAFTAC under single-pass generation and two-pass generation with simulation feedback, showing improvements over the strongest closed-source LLM by 15.9% and 7.8%, respectively.

1 Introduction

Analog integrated circuits (IC), such as amplifiers, oscillators, and voltage regulators, are used to process electrical signals that are continuous in both time and amplitude. A typical process of circuit design for analog ICs first defines the circuit topological structure, then selects concrete device and component values, and finally uses SPICE [20] simulation to verify whether the circuit satisfies the performance specifications. This is a fundamentally difficult task because circuit topology, component value assignments, and circuit performance are tightly coupled, and analog circuit design must navigate trade-offs among often competing specifications. This contrasts with circuit design for digital ICs [4, 7, 17], where voltages can often be abstracted as binary values and correctness can be checked through discrete functional equivalence. Consequently, off-the-shelf general-purpose large language models (LLMs) struggle to reliably satisfy stringent specifications in analog circuit design tasks, as they are not trained to reason jointly over circuit topology design, device and component value assignment, and simulation-grounded performance constraints.

One line of recent work adapts LLMs to analog circuit design through inference-time correction, external memory, or predefined topology libraries. These training-free methods [14, 15, 35, 34] keep the underlying LLM frozen: they can improve the surrounding design workflow, but do not turn design experience or simulation feedback into improved model capability. Moreover, in industrial

*Equal contribution. Correspondence to Junsheng Huang jh103@illinois.edu, Bin Hu binhu7@illinois.edu, and Huan Zhang huan@huan-zhang.com.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

settings, reliance on external APIs can limit autonomy and flexibility, since proprietary circuit data, testbenches, and simulation pipelines may need to be exposed outside the company. Training-based methods [11, 6, 5, 8], on the other hand, adapt LLMs for analog circuit design, but many focus on unconditional topology synthesis rather than specification-conditioned analog circuit design. Others are restricted to limited circuit types or rely on simplified reward signals without directly utilizing SPICE simulation outcomes. For example, the ICML 2025 work AutoCircuit-RL [32] is closely related to ours, as it also uses instruction tuning and reinforcement learning (RL). However, it focuses on a single circuit family, i.e., switching power converters, and guides RL with learned reward models rather than direct SPICE simulation outcomes.

A fundamental bottleneck of training-based methods for automated analog circuit design is the lack of large-scale, high-quality design-task datasets. Ideally, such a dataset should cover diverse circuit types, contain sufficient samples within each type, and provide complete task components, including textual description, target specifications, labeled I/O ports, a testbench, and circuit load. Existing datasets [19, 16, 3] are mostly limited in size, narrow in circuit coverage, or incomplete in task information, making them insufficient for training LLMs to generate and revise analog circuit designs under simulation-based feedback or simulation-grounded rewards.

To address these challenges, we develop a simulation-grounded data curation and LLM fine-tuning pipeline for analog circuit design. We first construct a large-scale analog circuit design-task dataset through an automated data curation pipeline that transforms raw circuit sources into complete design tasks. Each task includes a textual description, target specifications, labeled I/O ports, a testbench, circuit load, and a reference netlist. The resulting dataset contains 8,626 design tasks across 10 common analog circuit types. Building on this dataset, we propose SAFTAC (Simulation-Augmented Fine-Tuning for Analog Circuit design), which combines three-stage supervised fine-tuning (SFT) with simulation feedback-augmented reinforcement fine-tuning (RFT). The SFT stages progressively teach circuit-domain knowledge, component-level understanding, and simulation feedback-guided correction. The RFT stage further optimizes the model using rewards from a full circuit validation pipeline, including circuit topology check, Bayesian Optimization (BO)-based component sizing, and SPICE simulation. In addition to the standard netlist generation task, we include a simulation feedback-guided correction task, where the model revises failed netlists using rich diagnostic feedback from the validation pipeline. This enables the model to generate initial circuit designs and repair failed designs toward functional, specification-satisfying analog circuits.

References (39)