[논문 리뷰] LaMAGIC: Language-Model-based Topology Generation for Analog Integrated Circuits
LaMAGIC는 언어 모델의 감독 미세조정을 통해 사양에서 아날로그 회로 토폴로지를 한 번에 생성하며, 0.01 공차 하에서 최대 0.96의 성공률을 달성하고 더 복잡한 6부품 회로로의 강건한 전이성을 보여준다.
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 pioneering 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. Our approach involves a meticulous development and analysis of various input and output formulations for circuit. These formulations can ensure canonical representations of circuits and align with the autoregressive nature of LMs to effectively addressing the challenges of representing analog circuits as graphs. The experimental results show that LaMAGIC achieves a success rate of up to 96\% under a strict tolerance of 0.01. We also examine the scalability and adaptability of LaMAGIC, specifically testing its performance on more complex circuits. Our findings reveal the enhanced effectiveness of our adjacency matrix-based circuit formulation with floating-point input, suggesting its suitability for handling intricate circuit designs. 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.
연구 동기 및 목표
- 복잡한 사양과 증가하는 맞춤화 요구를 고려한 자동화된 아날로그 회로 설계의 필요성 해결.
- 회로 토폴로지를 그래프로 한 번에 생성하는 언어 모델 기반 접근법 개발.
- 회로를 그래프 표현으로 내장 가능한 자동회귀 친화적 표현을 생성하기 위한 입력/출력 형식 연구.
- 더 복잡한(6부품) 회로로의 확장성과 학습된 설계의 이전 가능성 평가.
제안 방법
- 인코더-디코더 트랜스포머(Flan-T5-base, 248M 매개변수)가 생성하는 시퀀스를 사용하여 회로 설계를 그래프 생성으로 형식화.
- 다양한 입력/출력 형식 비교: Naïve Formulation (NF), Canonical Form (CF), Canonical Form with New Duty Cycle Encoding (CFDC), Adjacency-Matrix-based with text input (PM), 그리고 Float-input Adjacency-based (FM).
- 회로를 간선 생성 및 토폴로지 생성 작업으로 표현하고, 자동회귀 손실 및 그래프 생성을 위한 T5 스타일 마스킹 언어 모델링을 사용.
- 랜덤 노드 순서 치환으로 데이터 보강을 통해 순열 불변성과 일반화 강화.
- 3–6 부품의 NGSPICE-검증 전력-컨버터 데이터세트에서 미세조정하고, 허용오차 t 하에서의 성공률 및 목표 사양과 시뮬레이션 성능 간 MSE로 평가.

실험 결과
연구 질문
- RQ1언어 모델을 미세조정하여 사양으로부터 직접 유효한 아날로그 회로 토폴로지를 생성할 수 있는가?
- RQ2회로의 자동회귀 그래프 생성을 가장 잘 지원하는 입력/출력 형식은 무엇인가?
- RQ3이 접근법은 더 복잡한(6부품) 회로로의 확장성과 더 작은 토폴로지에서의 전이 학습에 얼마나 잘 작동하는가?
- RQ4데이터 보강과 정점 순서 치환이 생성 성능에 미치는 영향은 무엇인가?
주요 결과
- 가장 우수한 형식들이 순진한 기준선보다 성능이 뛰어나며, 허용오차 0.01에서 최대 0.96의 성공률을 달성했다.
- 부동 소수점 입력을 갖는 인접 기반 형식(FM)은 6부품 회로에서 강력한 성능과 전이 가능성을 보여준다.
- PM(텍스트 기반 인접) 및 CF/CFDC는 간선 및 토폴로지 생성을 위한 강력한 결과를 제공하며, FM은 더 넓은 허용오차에서 토폴로지 작업에 뛰어나다.
- 회로 생성을 위해 Encoder-만(LM)은 수렴하지 못해 그래프 자동회귀 생성 모델링의 필요성을 강조한다.
- 노드 순서 무작위 보강을 통한 데이터 보강은 특히 수치 입력 형식에서 생성 성능을 향상시킨다.
- 6부품 전이 실험에서 FM 및 PM이 CF/CFDC보다 더 높은 MSE 견고성을 보이며 규모에 대한 강건성을 시사한다.

이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.