CIRCUITSYNTH: Leveraging Large Language Models for Circuit Topology Synthesis
Prashanth Vijayaraghavan, Luyao Shi, Ehsan Degan, Xin Zhang
TL;DR
Circuit topology synthesis is challenging due to the enormous design space and limitations of traditional methods. The authors propose CIRCUITSYNTH, a two-phase LLM-based framework that first autoregressively generates circuit topologies from a component pool and then refines them using a circuit validity classifier and a differentiable generation objective with Gumbel-softmax. Key contributions include a large labeled dataset of valid/invalid topologies, a RoBERTa-based validity classifier, and a joint loss that improves validity and efficiency of generated circuits, as validated against SPICE simulations. The results show CircuitSynth outperforms zero-shot, ICL, and vanilla fine-tuning baselines, with smaller models achieving performance competitive with larger prompt-tuned models, highlighting its practical potential for automated power-converter design and design constraint adherence.
Abstract
Circuit topology generation plays a crucial role in the design of electronic circuits, influencing the fundamental functionality of the circuit. In this paper, we introduce CIRCUITSYNTH, a novel approach that harnesses LLMs to facilitate the automated synthesis of valid circuit topologies. With a dataset comprising both valid and invalid circuit configurations, CIRCUITSYNTH employs a sophisticated two-phase methodology, comprising Circuit Topology Generation and Circuit Topology Refinement. Experimental results demonstrate the effectiveness of CIRCUITSYNTH compared to various fine-tuned LLM variants. Our approach lays the foundation for future research aimed at enhancing circuit efficiency and specifying output voltage, thus enabling the automated generation of circuit topologies with improved performance and adherence to design requirements.
