Transferable Parasitic Estimation via Graph Contrastive Learning and Label Rebalancing in AMS Circuits
Shen, Hua, Zou et al.
Graph representation learning on Analog-Mixed Signal (AMS) circuits is crucial for various downstream tasks, e.g., parasitic estimation. However, the scarcity of design data, the unbalanced distribution of labels, and the inherent diversity of circuit implementations pose significant challenges to learning robust and transferable circuit representations. To address these limitations, we propose CircuitGCL, a novel graph contrastive learning framework that integrates representation scattering and label rebalancing to enhance transferability across heterogeneous circuit graphs. CircuitGCL employs a self-supervised strategy to learn topology-invariant node embeddings through hyperspherical representation scattering, eliminating dependency on large-scale data. Simultaneously, balanced mean squared error (BMSE) and balanced softmax cross-entropy (BSCE) losses are introduced to mitigate label distribution disparities between circuits, enabling robust and transferable parasitic estimation. Evaluated on parasitic capacitance estimation (edge-level task) and ground capacitance classification (node-level task) across TSMC 28nm AMS designs, CircuitGCL outperforms all state-of-the-art (SOTA) methods, with the $R^2$ improvement of $33.64\% \sim 44.20\%$ for edge regression and F1-score gain of $0.9\times \sim 2.1\times$ for node classification. Our code is available at https://github.com/ShenShan123/CircuitGCL.
본 논문은 아날로그 혼합 신호(AMS) 회로의 기생 파라미터 추정 문제를 해결하기 위해 CircuitGCL 프레임워크를 제안한다. 본 프레임워크는 그래프 대조 학습과 레이블 재균형 기법을 통해 회로 설계 데이터 부족, 레이블 분포 불균형, 회로 구현 다양성으로 인한 문제를 해결한다. CircuitGCL은 자기 감독 전략을 채택하여 초구면 표현 산란을 통해 위상 불변 노드 임베딩을 학습하며, 동시에 균형 평균 제곱 오차(BMSE)와 균형 소프트맥스 교차 엔트로피(BSCE) 손실 함수를 도입하여 회로 간 레이블 분포 차이를 완화한다. TSMC 28nm AMS 설계에 대한 실험 결과, 본 방법은 엣지 회귀 작업에서 R² 33.64%~44.20% 향상, 노드 분류 작업에서 F1 점수 0.9×~2.1× 향상을 달성했다.
현대 AMS 회로는 아날로그 모듈(예: 증폭기, 발진기)과 디지털 서브시스템(예: 제어기, SRAM 어레이)을 통합하며, 설계 과정에서 대량의 수동 반복 작업이 필요하다. 공정 노드가 계속 축소됨에 따라 기생 효과가 점점 더 중요해지고 있으며, 특히 기생 전용량은 회로 성능에 큰 영향을 미쳐 전파 지연 증가, 전력 소비 상승, 신호 무결성 저하를 초래한다.
전통적인 설계 흐름은 배치 후 시뮬레이션에 의존하여 기생 효과를 검증하는데, 이 방법은 시간이 오래 걸리고 비용이 많이 든다. 배치 전 단계에서의 기생 파라미터 예측은 설계 반복 횟수를 크게 줄이고 설계 효율을 높일 수 있다. 그래프 신경망(GNN)은 회로를 그래프 구조로 모델링하여 기생 파라미터를 예측할 수 있는 효과적인 솔루션을 제공한다.
CircuitGPS는 이중 앵커 최단 경로 거리(DSPD)를 위치 인코딩으로 사용하지만, 계산 및 저장 비용이 그래프 크기에 따라 이차적으로 증가한다. CircuitGCL의 GCL 사전 훈련은 높은 병렬성과 우수한 모델 확장성을 가지며, 대규모 회로에서 DSPD보다 현저히 우수하다.