Skip to main content

LaMAGIC2: Advanced Circuit Formulations for Language Model-Based Analog Topology Generation

Publication ,  Conference
Chang, CC; Lin, WH; Shen, Y; Chen, Y; Zhang, X
Published in: Proceedings of Machine Learning Research
January 1, 2025

Automation of analog topology design is crucial due to customized requirements of modern applications with heavily manual engineering efforts. The state-of-the-art work applies a sequence-tosequence approach and supervised finetuning on language models to generate topologies given user specifications. However, its circuit formulation is inefficient due to O(|V |2) token length and suffers from low precision sensitivity to numeric inputs. In this work, we introduce LaMAGIC2, a succinct float-input canonical formulation with identifier (SFCI) for language model-based analog topology generation. SFCI addresses these challenges by improving component-type recognition through identifier-based representations, reducing token length complexity to O(|V |), and enhancing numeric precision sensitivity for better performance under tight tolerances. Our experiments demonstrate that LaMAGIC2 achieves 34% higher success rates under a tight tolerance of 0.01 and 10X lower MSEs compared to a prior method. LaMAGIC2 also exhibits better transferability for circuits with more vertices with up to 58.5% improvement. These advancements establish LaMAGIC2 as a robust framework for analog topology generation. Code available at https://github.com/turtleben/LaMAGIC.

Duke Scholars

Published In

Proceedings of Machine Learning Research

EISSN

2640-3498

Publication Date

January 1, 2025

Volume

267

Start / End Page

7351 / 7360
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Chang, C. C., Lin, W. H., Shen, Y., Chen, Y., & Zhang, X. (2025). LaMAGIC2: Advanced Circuit Formulations for Language Model-Based Analog Topology Generation. In Proceedings of Machine Learning Research (Vol. 267, pp. 7351–7360).
Chang, C. C., W. H. Lin, Y. Shen, Y. Chen, and X. Zhang. “LaMAGIC2: Advanced Circuit Formulations for Language Model-Based Analog Topology Generation.” In Proceedings of Machine Learning Research, 267:7351–60, 2025.
Chang CC, Lin WH, Shen Y, Chen Y, Zhang X. LaMAGIC2: Advanced Circuit Formulations for Language Model-Based Analog Topology Generation. In: Proceedings of Machine Learning Research. 2025. p. 7351–60.
Chang, C. C., et al. “LaMAGIC2: Advanced Circuit Formulations for Language Model-Based Analog Topology Generation.” Proceedings of Machine Learning Research, vol. 267, 2025, pp. 7351–60.
Chang CC, Lin WH, Shen Y, Chen Y, Zhang X. LaMAGIC2: Advanced Circuit Formulations for Language Model-Based Analog Topology Generation. Proceedings of Machine Learning Research. 2025. p. 7351–7360.

Published In

Proceedings of Machine Learning Research

EISSN

2640-3498

Publication Date

January 1, 2025

Volume

267

Start / End Page

7351 / 7360