potentialpaper

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

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We introduce a simulation-grounded dataset and a fine-tuning framework for analog circuit design, enabling open-source LLMs to generate and revise specification-conditioned circuit designs using SPICE-based feedback.

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.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
15 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)forumreviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:43 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

SAFTAC combines staged SFT and simulation-feedback RL for analog circuit design, contributing an 8,626-task dataset. Gains over closed-source LLMs are solid. Weaknesses include opaque dataset provenance, single-model validation, and coarse failure analysis. These are addressable. A poster appropriately recognizes the engineering contribution and dataset value, while acknowledging the need for deeper transparency and broader validation.

Final justification

The rebuttal thoroughly addressed all initial weaknesses: dataset provenance was clarified with detailed expert curation, validation was extended across three model families (Llama, GLM, Qwen) demonstrating consistent gains, and failure-mode analysis was deepened. All reviewers were satisfied, with two raising scores to Accept. The work delivers a well-engineered, use-inspired contribution with a valuable dataset and strong empirical support. Poster remains appropriate, reflecting its focused scope and clear path for broader extension. My meta-review already incorporates this updated justification.

Area Chair gwwC · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

SAFTAC combines staged SFT and simulation-feedback RL for analog circuit design, contributing an 8,626-task dataset. Gains over closed-source LLMs are solid. Weaknesses include opaque dataset provenance, single-model validation, and coarse failure analysis. These are addressable. A poster appropriately recognizes the engineering contribution and dataset value, while acknowledging the need for deeper transparency and broader validation.

Final justification

The rebuttal thoroughly addressed all initial weaknesses: dataset provenance was clarified with detailed expert curation, validation was extended across three model families (Llama, GLM, Qwen) demonstrating consistent gains, and failure-mode analysis was deepened. All reviewers were satisfied, with two raising scores to Accept. The work delivers a well-engineered, use-inspired contribution with a valuable dataset and strong empirical support. Poster remains appropriate, reflecting its focused scope and clear path for broader extension. My meta-review already incorporates this updated justification.

1 comment
Authors · CommentOpenReview ↗

Thank you for the positive assessment of the engineering contribution and dataset value. We would like to briefly summarize how the three identified weaknesses have been addressed in our rebuttal.

[Dataset Provenance]

To clarify the dataset provenance and ensure high data quality, the curation and validation process involved two graduate researchers with more than 3 years of analog circuit design experience and two professors with more than 20 years of experience.

The raw circuits were collected from AnalogGenie and instructor-developed course materials. We manually removed incomplete examples and verified the schematic, netlist connectivity, I/O ports, and circuit type of each retained circuit. GPT-5.4 was then used to generate functionality-level descriptions, which were reviewed by experts to ensure correctness without explicitly revealing component-level connectivity. We further developed deterministic specification-assignment scripts and manually designed and validated circuit-type-specific testbench templates. Finally, Optuna-based multi-objective sizing with Ngspice simulation and farthest-point sampling was used to construct representative target specification tuples. Each specification tuple, together with its description, I/O definitions, load, and testbench forms one design task. Detailed information can be found in the response to reviewer tctu and VLFF.

[Validation Across Model Families]

To directly address the concern that the original validation relied on a single foundation-model family, we applied the complete SAFTAC training pipeline to additional open-source models, including Llama-3.1-8B-Instruct from the Llama family, GLM-4-9B-0414 from the GLM family, and Qwen3-4B from the Qwen family. The additional results show consistent improvements after applying SAFTAC, demonstrating that the effectiveness of the pipeline is not restricted to a certain model family or to a particular model scale. We will incorporate these results into the revised manuscript and more accurately describe the current experimental evidence and contributions. Detailed information can be found in the response to reviewer tctu.

[Failure-Mode Analysis]

We further analyzed the failure and correction behaviors of both open-source and closed-source general-purpose models. The main findings are as follows:

  • Open-source models primarily fail at generating syntactically valid netlists. General-purpose open-source models, including QwQ-32B, Qwen3-32B, and GPT-OSS-20B, frequently generate syntactically invalid netlists or incorrect circuit topologies. Even when explicit diagnostic feedback is provided, they often fail to repair these errors and continue producing invalid designs.
  • Strong general-purpose models exhibit substantial topology concentration. Claude Opus 4.7 and GPT-5.4 can generate structurally valid circuits, but their successful outputs are concentrated around a small number of topology templates and often fail to capture the structural variations required by different descriptions and target specifications. In contrast, SAFTAC learns a specification-aware distribution over topology variants and generates different circuit structures for different design objectives.
  • SAFTAC performs more targeted feedback-guided correction. When revising failed circuits, SAFTAC typically preserves the overall circuit complexity and makes localized modifications that address the identified design error. In contrast, strong general-purpose models more frequently introduce additional active branches or passive components, substantially expanding the circuit without necessarily resolving the underlying issue.

Detailed information can be found in the response to reviewer tctu.

We hope that these clarifications, additional experiments, and analyses adequately address the three concerns identified above, and we will incorporate them into the revised manuscript.

Reviewer VLFFOpenReview ↗
Rating
4/6
Confidence
5/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
use_inspired
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper introduces SAFTAC, a simulation-augmented fine-tuning approach for LLM-based analog circuit design. Its main contributions are a large-scale simulation-grounded dataset of 8,626 tasks across 10 analog circuit types, and a training pipeline combining three-stage SFT with simulation-feedback reinforcement fine-tuning. The framework enables LLMs to generate and revise circuit netlists using simulation feedback, achieving reported gains of 15.9% and 7.8% over the strongest closed-source LLM baseline in single-pass and two-pass settings, respectively.

Strengths and weaknesses

Strengths

This paper addresses an important and practically relevant problem: specification-constrained analog circuit design using large language models. A major strength of the work is the construction of a relatively large-scale, simulation-validated dataset. According to the paper, the dataset contains 8,626 design tasks spanning 10 analog circuit categories. Each task is accompanied by rich information, including a textual description, I/O ports, load conditions, target specifications, a testbench, and a reference netlist.

The proposed training framework is also well motivated. By combining staged supervised fine-tuning with reinforcement fine-tuning driven by simulation feedback, the model is trained to perform both initial netlist generation and iterative circuit refinement. In particular, incorporating Bayesian optimization–based device sizing and SPICE simulation into the reward and evaluation loop makes the training objective more closely aligned with the verification process used in practical analog circuit design.

Weaknesses

The main concern is that the dataset construction process is not described in sufficient detail. It remains unclear where the circuit netlists were obtained, how the annotations were generated, and what procedures were used to ensure the correctness and quality of the training data. The paper would benefit from a more detailed explanation of how circuit categories, I/O ports, specifications, load conditions, and reference netlists were defined and annotated.

In particular, the automatic generation of testbenches for different circuit categories is itself a technically challenging task. However, the paper does not clearly explain how these testbenches were synthesized, validated, or reviewed by domain experts. Since the validity of the simulation results depends heavily on the correctness of the testbenches, this omission raises concerns about the reliability of the dataset and the resulting evaluation.

The dataset analysis is also relatively limited. The paper does not provide sufficient statistics on circuit complexity, such as device count, hierarchy depth, topological diversity, or the distribution of passive and active components. Such information would help readers better understand the difficulty and diversity of the benchmark.

Moreover, the circuit categories considered in the current dataset and evaluation appear relatively simple compared with real-world analog and mixed-signal design tasks. Important circuit classes, such as low-dropout regulators, phase-locked loops, ADC/DAC-related blocks, and more complex mixed-signal subsystems, are not included. This limits the strength of the paper’s claims regarding the generalizability of the proposed method.

Finally, several key implementation details are missing, including the process design kit, simulator, device models, process corner and operating-condition settings, and relevant simulation parameters. Without these details, it is difficult to assess the reproducibility of the reported results or their practical significance in a realistic analog design flow.

Questions

1.Could the authors provide more details about the source of the 8,626 circuit netlists? Are they collected from public datasets, generated internally, or derived from proprietary/internal circuit repositories? 2.How are the testbenches automatically generated for each circuit type? Since testbench construction is highly circuit-type and specification dependent, more details are needed on how correctness and coverage of the generated testbenches are ensured. 3.Could the authors provide statistics on circuit complexity, such as number of devices, number of nets, hierarchy depth, passive/active component distribution, and topology diversity? 4.The paper states that the constructed dataset contains topology information, testbenches, and circuit performance after BO-based sizing. However, in the described SFT stages, it is not entirely clear whether the model is trained in a specification-conditioned manner, i.e., taking target specifications as input and outputting a valid topology/netlist. How exactly is the constructed dataset used in the subsequent SFT and RFT stages? Which fields are used as model inputs and outputs in each training stage?

Limitations

The authors discuss some limitations, but several important limitations remain under-discussed.

Final justification

In the rebuttal, the authors addressed my concerns and provided comprehensive additional experiments on computational cost. I therefore agree to raise my score.

Formatting concerns

No major formatting or anonymity concerns.

6 comments
Authors · CommentOpenReview ↗

Thank you for your thoughtful and detailed feedback. Below, we address each of the weaknesses and questions you raised point by point.

[W1 & Q1: Clarification of Data Construction Pipeline]

Response: To ensure high data quality, the dataset curation and validation process involved two graduate researchers, each with more than three years of analog circuit design experience, and two professors, each with more than 20 years of analog circuit design experience.

Our circuit data were sourced from AnalogGenie and course materials. This raw data only contains circuit schematics and netlists, without corresponding natural language descriptions or testbenches. We manually inspected the AnalogGenie dataset and removed incomplete examples that are not suitable for analog circuit design tasks.

For each retained circuit, we first verified the correctness of the schematic, netlist connectivity, and I/O ports, and then determined its circuit type based on the schematic and netlist. GPT-5.4 then generated a functionality-level natural-language description, followed by expert review to ensure that the description accurately captured the circuit’s function and characteristics without explicitly revealing component-level connectivity.

Next, we used deterministic scripts to assign the appropriate specifications for each circuit type. For each circuit type, we manually designed the testbench template, which was then instantiated using the circuit’s I/O ports, predefined load, and assigned specifications. We also manually verified the testbench logic to ensure that the extracted specifications were computed correctly and yielded reasonable values.

Finally, we used Optuna-based multi-objective sizing with Ngspice simulation and applied farthest-point sampling to select a fixed number of representative Pareto points as target specification tuples. Each selected tuple, together with the description, I/O ports, load, and testbench, forms one design task in our dataset.

We thank the reviewer for raising this point. We will incorporate all the details above into the revised manuscript. We would also be happy to clarify any additional aspects of the dataset curation process that the reviewer considers important.

[W3 & Q3: Dataset Analysis]

Response: We thank the reviewer for this helpful question. Our circuits are represented as flattened netlists so hierarchy depth is fixed. The table below summarizes our dataset by circuit type, including the topological diversity and the averages of active, passive and total component counts. We would also add this information when revising our paper.

Circuit Type # unique netlist # active component # passive component # total component
Common Gate Amplifier 15 2 1.53 3.53
Common Source Amplifier 18 2.33 1.17 3.50
Source Follower 8 2.13 0.63 2.75
Current Mirror 12 3.25 0.33 3.58
Passive Mixer 6 3.17 1.67 4.83
Active Mixer 8 3.88 2.00 5.88
Differential Single-Ended Amplifier 23 8.17 0.57 8.74
Fully Differential Amplifier 11 7.36 1.09 8.45
Inverting Delay Cell 11 5.09 1.27 6.36
Non-Inverting Delay Cell 2 6.50 3.50 10.00

[W4: Limited circuit complexity and coverage]

Response: Our preliminary experiments show that existing general-purpose language models do not perform optimally even on relatively simple analog circuit types (e.g., reported in Table 4, 5, 6 in our paper). This is in clear contrast to well-solved tasks like coding where more complex benchmarks are desirable. Given that, we currently focus on ten simple but representative circuit categories to improve the basic analog circuit design capabilities rather than directly starting with more complex system-level analog designs.

The primary goal of this work is not to cover all practical analog and mixed-signal systems, but to demonstrate that the training pipeline can effectively support specification-conditioned topology generation and feedback-guided correction across diverse circuit types. Although our paper demonstrates 10 circuit types, our framework is not tied to specific circuit types and can be extended to systems such as LDOs, PLLs, and ADC/DACs given appropriate descriptions, testbenches, and specifications. For these more complex system-level designs, our future work direction is a hierarchical task decomposition framework with multiple expert models collaborating across different design stages, which is mentioned in our Limitation section.

Authors · CommentOpenReview ↗

[W2 & Q2: Details of Testbenches]

Response: We first manually designed the testbench template for each circuit type. Each analog circuit design task contains the circuit type, I/O ports, target specifications, and external load information. Based on the circuit type, a deterministic script selects the corresponding template and instantiates it. Consequently. All design tasks of the same circuit type share the same simulation and specification-extraction logic.

Specifically, our testbench templates handle these circuit types:

  • Single-input, single-output amplifiers: Common source amplifiers, common gate amplifiers, and source followers share the same testbench. A tunable DC bias and a unit-amplitude AC small signal are applied at the input, while the specified capacitive or resistive load is connected at the output. AC and DC operating-point analyses are then used to extract the low-frequency gain, −3dB-3\mathrm{dB} bandwidth, and power.
  • Differential-input, single-ended-output amplifiers: Because their open-loop gain can reach 6060–100dB100\mathrm{dB}, direct open-loop simulation may drive the output into saturation or prevent a stable DC operating point, whereas physically breaking the feedback loop changes the original bias and small-signal loading conditions. We therefore use unity-gain feedback to establish a stable operating point and apply Tian’s method [1] to extract the loop gain without physically opening the loop. Since ngspice does not provide an equivalent to the Cadence Spectre stb analysis, we perform a series voltage injection and a parallel current injection at the same loop-probe point and combine the two AC responses to reconstruct the return ratio T(f)T(f). Under unity feedback, β=1\beta = 1, the reconstructed loop gain is equivalent to the amplifier open-loop gain. This response is used to extract the low-frequency gain, −3dB-3\mathrm{dB} bandwidth, unity-loop-gain frequency, and phase margin. Output swing, CMRR, and power are obtained from differential-input DC sweeps, differential- and common-mode AC simulations, and the supply current at the closed-loop operating point, respectively.
  • Fully differential amplifiers: An ideal common-mode-feedback loop is used to stabilize the output common-mode voltage, with identical external loads connected to both outputs. The differential loop gain is measured by voltage injection at an ideal balun-based cut point implemented with controlled sources. Because the driving-point impedance looking back toward the source is zero at this cut point, voltage injection alone is sufficient and no additional current-injection analysis is required. The resulting responses are used to extract gain, bandwidth, phase margin, differential output swing, CMRR, and power.
  • Current mirrors: All current mirrors share the same DC output-voltage sweep testbench. The output current is measured through the branch current of a series test voltage source, from which the current ratio and the valid output-voltage range—defined as the continuous region in which the output current remains within ±5%\pm 5\% of its nominal value—are computed. The output resistance is measured only when this valid region is sufficiently wide and the output current is nonzero, thereby avoiding invalid measurements at improper operating points.
  • Oscillators: Inverting and non-inverting delay-cell oscillators share the same transient simulation and waveform-analysis procedure, while differing in their ring interconnection. For a delay cell with explicit input and output ports, the generator automatically constructs an NN-stage ring oscillator according to the specification and handles single-ended, differential, and feedback-polarity configurations. Fully connected ring or relaxation oscillators are simulated directly. A small initial perturbation is applied to initiate oscillation, and the steady-state waveform is analyzed to extract oscillation status, frequency, duty cycle, and power. Failed simulations, insufficient amplitude, or an inadequate number of detected cycles are classified as non-oscillating rather than assigned a spurious frequency.
  • Mixers: Active and passive mixers share the same port-driving and spectral-analysis framework. The generator identifies the RF, LO, and IF ports and automatically configures single-ended or differential excitation, the RF source impedance, the large-signal LO input, and the IF load. Single-tone transient simulations with windowed FFT analysis are used to measure conversion gain, RF-to-IF leakage, LO-to-IF leakage, and average power. Two-tone simulations are used to extract IIP3 from the fundamental and third-order intermodulation components, with frequency-matching, local-noise-floor, and multi-amplitude consistency checks applied to reject invalid results caused by spectral leakage, noise, or compression.

[1] M. Tian et al., “Striving for Small-Signal Stability,” IEEE Circuits and Devices Magazine, 2001.

Authors · CommentOpenReview ↗

[W5: Implementation Details]

Response: We used SPICE compact models for NMOS and PMOS devices from a commercial 180nm180\mathrm{nm} CMOS process. Circuit simulations were performed using Ngspice v45.2 through its shared-library backend, interfaced via PySpice. All experiments used nominal corner device models at a nominal operating temperature of 27∘C27^\circ\mathrm{C}. For active circuits, the supply voltages were set to VDD=1.8VV_{\mathrm{DD}} = 1.8\mathrm{V} and VSS=0.0VV_{\mathrm{SS}} = 0.0\mathrm{V}, while the remaining bias conditions and external loads were specified individually according to the requirements of each circuit. We will include these implementation details in the revised version of our paper.

[Q4: How is the model trained in a specification-conditioned manner?]

Response: Specification conditioning is introduced only in the third SFT stage and during RFT. We show the model input and output of all training stages in the following tables.

Training Stage Training Task Model Input Model Output
First SFT Stage Circuit Knowledge Acquisition A complete SPICE-format netlist Corresponding circuit name with functional description
Second SFT Stage Masked Component Prediction A partially masked netlist in which a component or connection is removed Masked component or connection prediction with reasoning trace
Third SFT Stage Simulation Feedback-Guided Correction Topology design task with an initial failed netlist and simulation feedback Failure Analysis, feedback-informed modifications and a corrected netlist

Reinforcement Fine-Tuning Stage (two training tasks)

Training Task Model Input Model Output
Topology Design Tasks Textual description, I/O ports, and target specifications Design analysis and an initial netlist
Simulation Feedback-Guided Correction Tasks Topology design task with an initial failed netlist and simulation feedback Failure analysis, feedback-informed modifications, and a corrected netlist

Appendix C.1 provides a concrete input-output example for each training stage. We will explain it more clearly in our revision.

Reviewer tctuOpenReview ↗
Rating
5/6
Confidence
5/5
Quality
4/4
Clarity
4/4
Significance
4/4
Originality
3/4
Contribution type
use_inspired
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes SAFTAC, a simulation-augmented fine-tuning pipeline for adapting an open-source large language model to analog circuit design. The work also introduces a simulation-grounded dataset of analog circuit design tasks containing natural-language descriptions, specifications, testbenches, and reference netlists. The resulting model demonstrates strong performance across multiple analog circuit generation settings and substantially outperforms general-purpose language models.

Strengths and weaknesses

Strengths:

  • The paper addresses an important and timely problem by exploring how large language models can be adapted to analog circuit design.
  • The construction of a large-scale simulation-grounded analog circuit design dataset with natural-language descriptions is one of the paper's strongest contributions.
  • The proposed multi-stage training pipeline is well motivated and combines curriculum supervised fine-tuning with simulation-feedback-based reinforcement fine-tuning in a practical and coherent manner.
  • The experimental evaluation is comprehensive, including single-pass generation, iterative refinement with simulation feedback, out-of-distribution circuit types, ablation studies, and integration with an existing inference-time optimization pipeline.
  • The proposed approach consistently outperforms both larger open-source and strong closed-source language models, demonstrating the effectiveness of domain-specific fine-tuning for analog circuit generation.
  • The paper is well organized, clearly written, and presents the methodology and experimental results in a logical and easy-to-follow manner.

Weaknesses:

  • The simulation-grounded dataset is arguably one of the strongest contributions of the paper, yet its construction and characterization are not described in sufficient detail. In particular, the exact origin of the reference netlists, the contribution of open-source versus internal sources, and the overall topology diversity of the dataset remain unclear. Although the paper reports the total number of design tasks and the number of tasks for each circuit type, additional statistics describing the number of unique circuit topologies and the relationship between source circuits and generated design tasks would improve transparency and help readers better understand the diversity of the training corpus.
  • While the empirical evaluation demonstrates substantial improvements over general-purpose language models, it provides relatively limited insight into where these improvements originate. In particular, it remains unclear whether baseline models primarily fail because they generate syntactically invalid SPICE netlists, incorrect circuit topologies, circuits that cannot be successfully sized by Bayesian Optimization, or valid circuits that ultimately fail to satisfy the target specifications. A more detailed breakdown of these failure modes would provide deeper insight into the advantages and remaining limitations of the proposed framework.
  • The paper presents SAFTAC as a general framework for adapting open-source LLMs to analog circuit design, yet the proposed training strategy is validated using only a single foundation model. Additional discussion regarding the expected generality of the framework beyond Qwen3-8B would better align the scope of the claims with the current experimental validation.
Questions
  1. Could the authors provide additional statistics regarding the composition of the simulation-grounded dataset? In particular, it would be helpful to report the number of unique circuit topologies for each circuit type, clarify the relationship between source circuits and generated design tasks, and provide additional information regarding the contribution of the different open-source and internal data sources.
  2. The protocol for the out-of-distribution evaluation could be described more explicitly. It is not entirely clear at which stage the held-out topology split is introduced. Specifically, are the held-out circuit types excluded throughout the entire training pipeline, including all supervised fine-tuning stages, or are they introduced only during the reinforcement fine-tuning stage? Clarifying this protocol would make the reported OOD results easier to interpret.
  3. The evaluation protocol involving the eight rollouts could be described more explicitly. It is not entirely clear how the reported performance metrics are computed from these multiple generations. For example, are all eight rollouts independently evaluated, is only a single rollout used for computing the reported accuracy, or are the results aggregated across rollouts? Clarifying how the rollout strategy is incorporated into the evaluation protocol would make the reported performance easier to interpret and reproduce.
  4. Could the authors provide a more detailed analysis of the failure modes of SAFTAC and the baseline language models? For example, separating failures due to syntactically invalid SPICE netlists, incorrect circuit topologies, unsuccessful Bayesian Optimization, simulation failures, and circuits that fail to satisfy the target specifications would provide additional insight into where the proposed training strategy provides the largest benefit.
  5. Could the authors comment on the computational cost of the proposed pipeline? In particular, it would be helpful to report the approximate inference time for generating a circuit and the additional runtime introduced by the Bayesian Optimization stage, as this would help readers better understand the practical applicability of the method.

General Suggestions:

  1. The discussion of related datasets could be further strengthened by including recent large-scale specification-aware analog circuit datasets, such as FALCON: An ML Framework for Fully Automated Layout-Constrained Analog Circuit Design (NeurIPS 2025). In addition, it would be helpful to more explicitly distinguish concepts such as circuit families, circuit types, unique topologies, design tasks, and simulated circuit instances when comparing existing datasets, as these quantities are not directly comparable across different works.
  2. The title and abstract present SAFTAC as a general framework for fine-tuning open-source LLMs for analog circuit design, whereas the current experimental validation is conducted using a single foundation model. While this is acknowledged as a limitation of the current work, the reviewer suggests that the scope of the claims in the title and abstract more closely reflects the presented experimental evidence. The paper would therefore be strengthened by either (1) extending the experimental validation to additional open-source LLM families, thereby providing stronger evidence for the broader claim, or (2) slightly narrowing the wording of the title and abstract to better match the current scope of the study.
  3. Since the pretrained Qwen3-8B baseline is an important reference point for evaluating the effectiveness of the proposed fine-tuning pipeline, it would be helpful to include its quantitative results directly in the main comparison tables, in addition to Figure 3, to facilitate comparison with the other evaluated language models.
  4. If feasible, the reviewer strongly encourages the authors to publicly release the simulation-grounded dataset, prompts, testbenches, and evaluation scripts. In the reviewer's opinion, the dataset is one of the most valuable contributions of this work, and making these resources publicly available would substantially improve reproducibility and facilitate future research on LLM-assisted analog circuit design.
Limitations

Yes

Final justification

The reviewer initially assessed the paper positively, with the main concerns regarding dataset characterization, failure-mode analysis, and evidence supporting the generality of the SAFTAC framework. The rebuttal and subsequent discussion satisfactorily addressed these concerns and substantially strengthened the paper.

In particular, the authors provided clearer characterization of the dataset and its sources, a detailed analysis of failure modes, and additional experiments applying the complete SAFTAC pipeline to Llama and GLM models. The latter directly addresses the reviewer's concern regarding generalization beyond a single foundation-model family.

Overall, the reviewer considers SAFTAC a strong and technically solid contribution to LLM-based analog circuit design, supported by comprehensive empirical evaluation. The reviewer therefore maintains the Accept (5) recommendation.

Formatting concerns

No

7 comments
Authors · CommentOpenReview ↗

We sincerely thank the reviewer for the thorough and encouraging assessment of our work. We have conducted additional experiments on different models. We will address each of the weaknesses and questions you raised point by point.

[W1 & Q1: Clarification of Data Construction Pipeline]

Response: The reference netlists were sourced from AnalogGenie and course materials. Because the circuits in AnalogGenie were directly extracted from textbooks, the collection contains many incomplete instructional examples that are not suitable for simulation-based design tasks. We therefore manually inspected the collected circuits and removed these incomplete examples.

Each validated reference netlist represents a concrete circuit instance with a fixed component-level connectivity structure. For each reference circuit, we perform Optuna-based multi-objective sizing with Ngspice and obtain a feasible Pareto frontier over the relevant specifications. We then apply farthest-point sampling to select multiple representative Pareto points as target specification tuples. Each selected tuple, together with the circuit description, I/O ports, loads, and testbench, forms an analog circuit design task. Consequently, multiple design tasks can be derived from the same reference netlist, differing primarily in their target specifications. The table below reports the number of unique netlists for each circuit type, providing a direct characterization of the topology diversity in our dataset.

Circuit Type # Unique Netlists
Common Gate Amplifier 15
Common Source Amplifier 18
Source Follower 8
Current Mirror 12
Passive Mixer 6
Active Mixer 8
Differential Single-Ended Amplifier 23
Fully Differential Amplifier 11
Inverting Delay Cell 11
Non-Inverting Delay Cell 2

We thank the reviewer for raising this point. We will incorporate all the details above into the revised manuscript. We would also be happy to clarify any additional aspects of the dataset curation process that the reviewer considers important.

[W3 & S2: Other Open-source LLMs]

Response: Thank you for raising this important point regarding the generality of SAFTAC. We additionally applied the whole training pipeline of SAFTAC to Qwen3-4B, with the corresponding results reported in the table below. Our method remains effective when transferred to models of different scales. Experiments on additional model families are still ongoing, and we will include the results once they become available.

Single-Pass Generation Common Gate Common Source Current Mirror Source Follower Passive Mixer Average
Qwen3-4B 34.2% 14.8% 37.1% 38.8% 2.0% 25.4%
SAFTAC w/o RFT 35.0% 32.6% 50.2% 56.1% 36.1% 42.0%
SAFTAC (ours) 37.5% 38.3% 54.1% 61.0% 39.3% 46.0%
Two-Pass Generation with Simulation Feedback Common Gate Common Source Current Mirror Source Follower Passive Mixer Average
Qwen3-4B 36.7% 26.2% 42.4% 44.1% 3.9% 30.6%
SAFTAC w/o RFT 43.7% 48.4% 53.3% 59.6% 45.7% 50.1%
SAFTAC (ours) 52.0% 56.3% 61.7% 65.8% 52.5% 57.7%

[Q2: OOD Result Clarification]

Response: The held-out topology split is introduced after the second SFT stage. Specifically, the five OOD circuit types are excluded from all training examples used in the third SFT stage and the reinforcement fine-tuning stage. They are not excluded from the first or second stage SFT, which are intended to teach general SPICE syntax, circuit-domain knowledge, and component-level connectivity. Importantly, neither of these two stages uses target specifications or specification-conditioned design tasks; therefore, no specification information from the held-out circuit types is exposed during these stages. Our OOD evaluation measures whether the specification-conditioned design and simulation-feedback correction capabilities learned during the third SFT stage and RFT transfer to circuit types unseen in these task-specific training stages. We will clarify this explicitly in the revised paper.

Authors · CommentOpenReview ↗

[W2 & Q4: Analysis of Failure Mode]

Response: We divided the generated designs into five categories:

  • Syntactically Invalid Netlist: The netlist cannot be parsed as a syntactically valid circuit.
  • Topology Check Failure: The netlist fails our rule-based topology-checking script. Common issues include the absence of a DC path, floating nodes, incorrect I/O ports, and incorrect MOS bulk connections.
  • BO Sizing Failure: The circuit is structurally valid, but Bayesian optimization cannot find device parameters that yield a feasible operating point within 200 trials.
  • Specification Not Met: The circuit can be successfully sized and simulated, but one or more specifications remain outside their target ranges.
  • Successful Design: The circuit can be successfully sized and simulated, and all performance metrics fall within their target ranges.

The classification is deterministic and does not rely on any LLM as a judge.

The table below shows the distribution of failure modes for single-pass generation and two-pass generation with simulation feedback. A notable finding is that general-purpose open-source models, including QwQ-32B, Qwen3-32B, and GPT-OSS-20B, frequently fail to generate syntactically valid netlists. Moreover, even when provided with explicit diagnostic feedback, these models often fail to repair their initial netlists and continue to produce invalid topologies, indicating limited capability for reliable analog circuit design.

Boldface highlights the notably high rates of syntactically invalid netlists generated by the three open-source general-purpose models.

Single-Pass Generation Syntactically Invalid Netlist Topology Check Failure BO Sizing Failure Specification Not Met Successful Design
Claude-Opus-4.7 0.1% 6.5% 0.1% 37.8% 55.5%
GPT-5.4 0.0% 7.9% 0.0% 40.3% 51.8%
QwQ-32B 25.7% 4.6% 0.0% 31.1% 38.6%
Qwen3-32B 22.3% 3.6% 0.0% 34.1% 40.0%
GPT-OSS-20B 32.3% 4.4% 0.0% 31.6% 31.7%
SAFTAC (Ours) 0.0% 4.2% 1.1% 23.3% 71.4%
Two-Pass Generation with Simulation Feedback Syntactically Invalid Netlist Topology Check Failure BO Sizing Failure Specification Not Met Successful Design
Claude-Opus-4.7 0.1% 3.9% 0.6% 25.1% 70.4%
GPT-5.4 1.8% 0.1% 0.0% 31.2% 66.9%
QwQ-32B 26.4% 10.9% 2.0% 16.6% 44.1%
Qwen3-32B 16.9% 11.5% 0.0% 18.3% 53.3%
GPT-OSS-20B 36.6% 5.8% 0.3% 16.2% 41.1%
SAFTAC (Ours) 0.0% 3.8% 0.2% 17.8% 78.2%

We further analyze the results of Claude Opus 4.7 and GPT-5.4. The table below reports the total number of unique successful topologies generated across the five circuit types. Strong general-purpose models can generate structurally valid netlists, but their outputs exhibit substantial topology concentration and often fail to capture the structural variations implied by the circuit descriptions. In contrast, SAFTAC learns a specification-aware distribution over topological variants rather than repeatedly generating only one or two canonical templates. This enables it to produce different netlists tailored to different target specifications.

Boldface indicates the highest total number of unique successful topologies.

Claude-Opus-4.7 GPT-5.4 SAFTAC (Ours)
Total Unique Successful Topology Count 32 59 81

We observe another notable pattern when comparing the correction behavior of SAFTAC with that of strong general-purpose models. The table below reports the average device counts in two settings. SAFTAC tends to make targeted local modifications while preserving the original circuit complexity. In contrast, Claude Opus 4.7 and GPT-5.4 more frequently expand the topology by introducing additional active branches or passive components, as reflected by their increased device counts after feedback. These results suggest that SAFTAC can identify and correct specific design errors, whereas general-purpose models tend to rely on broader structural expansion during revision.

Average Device Counts in Single-Pass Generation Average Device Counts in Two-Pass Generation with Simulation Feedback
Claude-Opus-4.7 3.59 4.09
GPT-5.4 4.70 5.06
SAFTAC (Ours) 3.54 3.50
Authors · CommentOpenReview ↗

[Q3: Evaluation Protocol Explanation]

Response: For each test instance, we perform eight independent generations under the same settings, with no context shared across rollouts. Each generation would independently go through circuit topology check, BO sizing, and SPICE simulation. A rollout is counted as successful only if it satisfies all target specifications. Let TT denote the total number of test instances, and let cic_i denote the number of successful rollouts among the eight generations for the ii-th test instance. The reported accuracy, i.e., the specification pass rate or pass@1, is computed as 1T∑i=1Tci8\frac{1}{T}\sum_{i=1}^{T}\frac{c_i}{8}, equivalently, the total number of successful rollouts divided by 8T8T. Thus, the metric is not computed by selecting a single rollout. We will make all the details clear in the revised version.

[Q5: Computational Cost]

Response: Each candidate circuit undergoes Bayesian optimization (BO)-based sizing for 200 trials, corresponding to 200 SPICE simulations. We implement early stopping: once BO finds a parameter configuration that satisfies all target specifications, the search terminates and returns the current sizing parameters.

For evaluation, we consider the five circuit types included during training, with 64 design tasks per circuit type and eight generated samples per task, yielding 2,560 candidate designs in total. In the single-pass generation, inference takes 213 s, while BO sizing takes 170 s in total for all candidate designs. In the second round generation with simulation feedback, response generation takes 101 s, followed by 108 s for BO sizing in total across all regenerated designs. On average, completing the full two-pass generation process with simulation feedback requires approximately 0.12 s of inference and 0.11 s of BO sizing per test instance. This computational overhead is manageable and reasonable for a simulation-grounded analog circuit design pipeline. We will include these computational-cost measurements in the revised manuscript.

[S3: Qwen3-8B baseline]

Response: We report the results of the pretrained Qwen3-8B baseline in the table below. The pretrained model exhibits limited analog circuit design capability, achieving average success rates of only 27.4% and 28.7% under single-pass generation and two-pass generation with simulation feedback, respectively. After applying our training pipeline, these rates increase substantially to 71.4% and 78.2%, demonstrating the effectiveness of the proposed domain-specific training pipeline. We will add these results to Table 4 and Table 5 for reference in the revision.

Single-Pass Generation Common Gate Common Source Current Mirror Source Follower Passive Mixer Average
Qwen3-8B 27.2% 40.8% 36.7% 30.7% 1.8% 27.4%
SAFTAC 56.4% 79.5% 75.8% 77.5% 67.6% 71.4%
Two-Pass Generation with Simulation Feedback Common Gate Common Source Current Mirror Source Follower Passive Mixer Average
Qwen3-8B 28.3% 42.4% 37.9% 32.4% 2.7% 28.7%
SAFTAC 67.8% 81.8% 82.8% 80.1% 78.5% 78.2%

[S1: Related Work]

Response: We will add FALCON [1] to the related-work discussion and clarify that it addresses a complementary problem. First, FALCON focuses on specialized millimeter-wave circuits, whereas our dataset covers ten representative analog circuit types. Second, FALCON studies topology selection within a predefined topology library, while our work trains LLMs to directly generate circuit topologies from natural-language descriptions and revise failed designs using simulation feedback. Third, FALCON’s approximately one million examples are parameterized simulation instances, whereas our dataset contains 8,626 specification-conditioned design tasks, each comprising a circuit description, I/O ports, load conditions, target specifications, and a testbench.

As for the suggestion of more explicitly distinguishing concepts, in our terminology, a circuit type denotes a functional circuit category, a netlist represents a specific circuit realization, and a design task is a complete instance comprising a natural-language description, I/O ports, load, target specifications, and testbench. We thank the reviewer for the suggestion, and will make sure to clarify these in the revised version.

[S4: Publication]

Response: We fully agree with the reviewer and are currently completing the required release procedures. We will publicly release the dataset, training code, prompts, testbenches, evaluation scripts, and other related resources.

[1] Mehradfar, Asal, et al. "FALCON: An ML framework for fully automated layout-constrained analog circuit design."

Reviewer aHRmOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
use_inspired
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes SAFTAC, a simulation-augmented fine-tuning framework. It 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. The paper also constructs a large-scale simulation-grounded dataset for analog circuit design tasks, which contains 8,626 design tasks across 10 common analog circuit types. Experiments on this dataset that SAFTAC achieves soTA performance.

Strengths and weaknesses

Strengths: The paper addresses an important use-inspired problem and presents a complete simulation-augmented pipeline, including a large-scale task dataset, three-stage supervised fine-tuning, simulation feedback-augmented reinforcement fine-tuning, and soTA results on analog circuit design tasks. Weaknesses:

  1. The appendix provides detailed prompt templates and formatting rules, but the dataset-level quality control process is still not sufficiently analyzed.
  2. The reward design is relatively coarse, since it only uses three levels for topology failure, full success, and intermediate cases, without modeling specification margins or partial satisfaction.
  3. The algorithmic originality is somewhat limited, since the main technical components are adapted from existing SFT, GRPO. The main novelty lies more in system integration and task construction for analog circuit design.
  4. The paper provides training hyperparameters and hardware information, but the end-to-end runtime and evaluation cost are still not sufficiently analyzed, such as the number of SPICE simulations per test instance, wall-clock time, and cost per successful design.
Questions
  1. The dataset is a central part of the paper, but I would like to see more analysis of the actual data quality. The appendix gives many prompt templates and formatting rules, but it is still not very clear how the generated descriptions, testbenches, target specifications, and expert checks were filtered or corrected in practice.
  2. The RFT reward seems quite simple. It uses -1 for topology-check failure, 1 for full success, and 0 for other cases. Some discussion on why specification margins or partial specification satisfaction are not used would make this design choice clearer.
  3. The main technical components seem to come from existing SFT, GRPO, and simulation-based validation. I think the paper should state more explicitly what the main novelty of SAFTAC is, beyond putting these components together for analog circuit design.
  4. The paper gives training hyperparameters and hardware information, but the practical cost of the full pipeline is still hard to judge. It would be useful to report things like the number of SPICE simulations per test instance, wall-clock time, or cost per successful design.
Limitations

yes

Final justification

I recommend acceptance. The rebuttal and subsequent discussion have addressed the major concerns raised in my original review. The remaining limitations are minor, and the strengths of the work outweigh them.

Formatting concerns

None.

4 comments
Authors · CommentOpenReview ↗

We greatly appreciate the reviewer’s insightful feedback and positive assessment of our work. We have conducted additional experiments on an alternative reward design. We will address each of the weaknesses and questions you raised point by point.

[W1 & Q1: Data Quality Control]

Response: To ensure high data quality, the dataset curation and validation process involved two graduate researchers, each with more than three years of analog circuit design experience, and two professors, each with more than 20 years of analog circuit design experience.

First, the raw circuits collected from AnalogGenie and course materials were manually inspected. This raw data only contains circuit schematics and netlists, without corresponding natural language descriptions or testbenches. Examples with missing components, wrong connectivity, inconsistent schematics and netlists, or invalid I/O definitions were removed. For each retained circuit, the experts verified the schematic, netlist connectivity, and I/O ports before assigning its circuit type.

Second, GPT-5.4 was used only to generate functionality-level descriptions. Each generated description was reviewed and corrected by the experts to ensure that it accurately captured the circuit’s function and characteristics without explicitly revealing component-level connectivity.

Third, testbench is generated by deterministic scripts written by our expert teams. We first assigned the appropriate specifications for each circuit type and generated the corresponding testbench based on the I/O ports, predefined load, and specifications. With this, we used Optuna-based multi-objective sizing with Ngspice simulation and applied farthest-point sampling to select a fixed number of representative Pareto points as target specification tuples. Each selected tuple, together with the description, I/O ports, load, and testbench, forms one design task in our dataset.

We thank the reviewer for raising this point. We will incorporate all the details above into the revised manuscript. We would also be happy to clarify any additional aspects of the dataset curation process that the reviewer considers important.

[W2 & Q2: Reward Design]

Response: In response to the insightful comment, we conducted additional experiments on an alternative reward design. The reward is defined as

rpartial={−1,if the circuit fails the topology check,1K∑k=1KI![sk is satisfied],otherwise,r_{\mathrm{partial}} = \begin{cases} -1, & \text{if the circuit fails the topology check},\\\\[4pt] \frac{1}{K}\sum_{k=1}^{K}\mathbb{I}\\!\left[s_k \text{ is satisfied}\right], & \text{otherwise}, \end{cases}

Here, rpartialr_{\mathrm{partial}} denotes the partial reward, KK is the total number of specifications, sks_k is the kk-th specification, and I[⋅]\mathbb{I}[\cdot] is an indicator function that equals 1 when sks_k is satisfied and 0 otherwise.

As shown in the table below, using partial specification satisfaction as the reward leads to worse performance than the sparse reward. We conjectured that in analog circuit design, rewarding partial specification satisfaction is not necessarily meaningful, because a circuit may satisfy some numerical specifications while still relying on an incorrect or fundamentally flawed topology; such rewards may therefore encourage the model to preserve and further optimize an invalid intermediate design. A more principled partial reward would assign credit only after the model has produced a partially valid circuit structure, which we leave as an important direction for future work due to the challenge of identifying and simulating a partially correct circuit.

Single-Pass Generation Common Gate Common Source Current Mirror Source Follower Passive Mixer Average
SAFTAC w. partial rewards 46.5% 70.7% 61.3% 68.4% 62.1% 61.8%
SAFTAC 56.4% 79.5% 75.8% 77.5% 67.6% 71.4%
Two-Pass Generation with Simulation Feedback Common Gate Common Source Current Mirror Source Follower Passive Mixer Average
SAFTAC w. partial rewards 57.8% 76.6% 72.5% 73.4% 75.6% 71.2%
SAFTAC 67.8% 81.8% 82.8% 80.1% 78.5% 78.2%
Authors · CommentOpenReview ↗

[W3 & Q3: Novelty]

Response: The novelty of SAFTAC does not lie in modifying SFT or GRPO, but in developing a domain-specific post-training framework that addresses the specific challenges of analog circuit design.

First, analog circuit design is inherently data-limited. Existing circuit corpora are typically small and weakly annotated, often providing only a SPICE netlist and a coarse circuit label. Such data can teach basic netlist syntax and general circuit knowledge, but are insufficient for practical analog circuit design. To better exploit these limited resources, we introduce a circuit-specific data augmentation strategy in the second SFT stage: from each available netlist, we generate multiple component-masked variants and train the model to reconstruct the missing circuit structures. This turns each scarce circuit example into several structure-recovery tasks, encouraging the model to learn reusable circuit patterns, local connectivity constraints, and functional dependencies among components rather than merely memorizing complete netlists.

Second, circuit simulation provides structured feedback at multiple stages: topology checking localizes syntax, connectivity, and I/O errors; Bayesian sizing tests whether the proposed topology admits feasible device parameters; and SPICE simulation quantifies each specification violation. A key part of SAFTAC is to design training algorithms that make this heterogeneous simulator feedback usable as supervision, which is not provided by standard SFT or generic RFT. Specifically, our feedback-based SFT uses these diagnostics to teach the model to make targeted revisions to initial failed netlists. Our RFT further combines two training tasks: standard netlist generation and simulation feedback-guided correction. This enables the LLM to both generate initial designs and revise failed ones using simulation feedback.

Therefore, SAFTAC’s main contribution is a coherent, domain-specific training solution that augments limited circuit data and simulator feedback into effective supervision for open-ended analog circuit design tasks.

[W4 & Q4: Computational Cost]

Response: Each candidate circuit undergoes Bayesian optimization (BO)-based sizing for 200 trials, corresponding to 200 SPICE simulations. We implement early stopping: once BO finds a parameter configuration that satisfies all target specifications, the search terminates and returns the current sizing parameters.

For evaluation, we consider the five circuit types included during training, with 64 design tasks per circuit type and eight generated samples per task, yielding 2,560 candidate designs in total. In the single-pass generation, inference takes 213 s, while BO sizing takes 170 s in total for all candidate designs. In the second round generation with simulation feedback, response generation takes 101 s, followed by 108 s for BO sizing in total across all regenerated designs. On average, completing the full two-pass generation process with simulation feedback requires approximately 0.12 s of inference and 0.11 s of BO sizing per test instance. This computational overhead is manageable and reasonable for a simulation-grounded analog circuit design pipeline. We will include these computational-cost measurements in the revised manuscript.

Authors · CommentOpenReview ↗

As the rebuttal period is coming to an end, we would like to kindly ask whether you have any remaining questions or concerns regarding our responses. We would be happy to provide any additional clarification or analysis that may be helpful.

Reviewer aHRm · CommentOpenReview ↗

Thank you for the detailed rebuttal and the additional clarifications. Based on your responses and the discussion with other reviewers, I believe that most of my previous concerns have been adequately addressed. In particular, the additional explanations regarding dataset construction, reward design, computational cost, and the broader validation have clarified the main issues I raised. I have no further questions at this stage.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…