Skip to main content

LaMAGIC: Advanced Circuit Formulations for Language-Model-based Topology Generation for Analog Integrated Circuits

Journal articles  - Journal Article
Chang, CC; Lin, WH; Shen, Y; Zhou, G; Chen, Y; Zhang, X
Published in: ACM Transactions on Design Automation of Electronic Systems
April 11, 2026

In the realm of electronic and electrical engineering, automation of analog circuit is increasingly vital given the complexity and customized requirements of modern applications. However, existing methods only develop search-based algorithms that require many simulation iterations to design a custom circuit topology, which is usually a time-consuming process. To this end, we introduce LaMAGIC, a language model-based topology generation model that leverages supervised finetuning for automated analog circuit design. LaMAGIC can efficiently generate an optimized circuit design from the custom specification in a single pass. The generated circuit is validated by the simulator to meet the performance requirement with high precision. Our approach involves a meticulous development and analysis of various input and output formulations for circuit. These formulations can ensure canonical representations and align with the autoregressive nature of LMs for representing analog circuits as graphs. In addition, our novel transformer model supports float-input to effectively learn the mapping between numerical performance and circuits. The experimental results show that LaMAGIC achieves a success rate of up to 96% under a strict tolerance of 0.01. Also, we examine the scalability and adaptability of LaMAGIC under scarce data scenario on more complex circuits. Our findings reveal the enhanced effectiveness of our succinct float-input canonical formulation with identifier, suggesting its suitability for handling intricate circuits. Our ablation study evaluates various design choices of LM training and inference, providing insights for future domain-specific generation tasks. This research not only demonstrates the potential of language models in graph generation, but also builds a foundational framework for future explorations in automated analog circuit design.

Duke Scholars

Altmetric Attention Stats
Dimensions Citation Stats

Published In

ACM Transactions on Design Automation of Electronic Systems

DOI

EISSN

1557-7309

ISSN

1084-4309

Publication Date

April 11, 2026

Volume

31

Issue

5

Related Subject Headings

  • Design Practice & Management
  • 4612 Software engineering
  • 4606 Distributed computing and systems software
  • 4009 Electronics, sensors and digital hardware
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Chang, C. C., Lin, W. H., Shen, Y., Zhou, G., Chen, Y., & Zhang, X. (2026). LaMAGIC: Advanced Circuit Formulations for Language-Model-based Topology Generation for Analog Integrated Circuits. ACM Transactions on Design Automation of Electronic Systems, 31(5). https://doi.org/10.1145/3799428
Chang, C. C., W. H. Lin, Y. Shen, G. Zhou, Y. Chen, and X. Zhang. “LaMAGIC: Advanced Circuit Formulations for Language-Model-based Topology Generation for Analog Integrated Circuits.” ACM Transactions on Design Automation of Electronic Systems 31, no. 5 (April 11, 2026). https://doi.org/10.1145/3799428.
Chang CC, Lin WH, Shen Y, Zhou G, Chen Y, Zhang X. LaMAGIC: Advanced Circuit Formulations for Language-Model-based Topology Generation for Analog Integrated Circuits. ACM Transactions on Design Automation of Electronic Systems. 2026 Apr 11;31(5).
Chang, C. C., et al. “LaMAGIC: Advanced Circuit Formulations for Language-Model-based Topology Generation for Analog Integrated Circuits.” ACM Transactions on Design Automation of Electronic Systems, vol. 31, no. 5, Apr. 2026. Scopus, doi:10.1145/3799428.
Chang CC, Lin WH, Shen Y, Zhou G, Chen Y, Zhang X. LaMAGIC: Advanced Circuit Formulations for Language-Model-based Topology Generation for Analog Integrated Circuits. ACM Transactions on Design Automation of Electronic Systems. 2026 Apr 11;31(5).

Published In

ACM Transactions on Design Automation of Electronic Systems

DOI

EISSN

1557-7309

ISSN

1084-4309

Publication Date

April 11, 2026

Volume

31

Issue

5

Related Subject Headings

  • Design Practice & Management
  • 4612 Software engineering
  • 4606 Distributed computing and systems software
  • 4009 Electronics, sensors and digital hardware