Transferable Parasitic Estimation via Graph Contrastive Learning and Label Rebalancing in AMS Circuits

Shan Shen, Shenglu Hua, Jiajun Zou, Jiawei Liu, Jianwang Zhai, Chuan Shi, Wenjian Yu

Introduction

In modern Analog-Mixed Signal (AMS) integrated circuit design, "parasitics"—unintended electrical effects such as capacitive coupling between interconnects—pose a significant challenge. These effects can degrade signal integrity and ruin circuit performance, yet they are typically only accurately characterized after the physical layout is completed. This late-stage discovery often leads to costly design iterations.

While Graph Neural Networks (GNNs) have emerged as a promising tool for predicting parasitics at the schematic stage, they face three fundamental hurdles: data scarcity due to proprietary designs, circuit heterogeneity across different architectures, and extreme label imbalance where a few large parasitic values dominate design failure but are rare in training data. This paper introduces CircuitGCL, a novel framework designed to overcome these challenges through self-supervised contrastive learning and specialized loss functions, enabling robust "zero-shot" transfer across diverse circuit designs.

Methodology

CircuitGCL addresses the limitations of traditional GNNs through two primary technical innovations: the Representation Scattering Mechanism (RSM) and a suite of Balanced Loss functions.

Representation Scattering Mechanism (RSM)

To handle circuit heterogeneity and data scarcity, the authors implement RSM, a self-supervised contrastive learning strategy. Instead of relying solely on labeled data, the model learns to map circuit components (nodes) onto a high-dimensional hypersphere. By "scattering" these embeddings to ensure uniform distribution and pushing dissimilar components apart, the model develops a topology-invariant feature space. This allows the model to learn the underlying "language" of circuit connectivity rather than over-fitting to a specific design architecture. The architecture utilizes a dual-encoder setup (online and target encoders) with an Exponential Moving Average (EMA) to ensure stable learning and prevent representation collapse.

Label Rebalancing (BMSE & BSCE)

Standard machine learning models often struggle with the "long-tail" distribution of parasitic values, where the vast majority of values are negligible. To ensure the model accurately predicts the rare but critical high-value parasitics, CircuitGCL replaces standard Mean Squared Error (MSE) with Balanced MSE (BMSE) for regression tasks and Balanced Softmax Cross-Entropy (BSCE) for classification. These functions treat the label distribution as a statistical prior, mathematically forcing the model to prioritize accuracy on underrepresented, high-impact parasitic values.

Experimental Setup and Results

The framework was evaluated using designs implemented in TSMC 28nm CMOS technology. To test the model's transferability, it was trained on a medium-scale SSRAM design and then subjected to zero-shot testing on entirely different architectures, including digital/SRAM hybrids (DIGITAL_CLK_GEN), timing controllers, and complex large-scale memory structures (SANDWICH-RAM).

Performance Metrics

CircuitGCL demonstrated significant improvements over existing state-of-the-art (SOTA) methods like ParaGraph and DLPL-Cap:

  • Edge Regression (Coupling Capacitance): The model achieved an $R^2$ improvement ranging from 33.6% to 44.2% across various unseen test sets.
  • Node Classification (Ground Capacitance): The framework achieved an F1-score gain between 0.9× and 2.1× compared to baselines.
  • Scalability: By utilizing RSM, the authors eliminated the need for computationally expensive positional encodings, making the model more scalable to massive, complex circuits like the SANDWICH-RAM, where previous methods often failed to generalize.

Discussion and Future Work

The success of CircuitGCL highlights the power of physics-informed representation learning. By scattering embeddings on a hypersphere, the model naturally clusters functionally similar components—such as repeated inverter cells—regardless of their placement in a specific design. This property is what enables the high performance in zero-shot transfer scenarios.

While the current work focuses on parasitic capacitance within the 28nm node, the framework is designed to be extensible. Future research directions include:

  1. Expanding Parasitic Scope: Extending the framework to estimate resistance, inductance, and IR drop.
  2. Cross-Node Transfer: Investigating how well representations transfer across different manufacturing processes (e.g., from 28nm to 7nm).
  3. EDA Integration: Incorporating CircuitGCL into automated "RC-aware" placement and routing tools to streamline the Electronic Design Automation pipeline.

Conclusion

CircuitGCL represents a significant step forward in automated circuit design. By combining graph contrastive learning with label rebalancing, it provides a robust, transferable solution for early-stage parasitic estimation, reducing the need for expensive data generation and enabling faster, more reliable AMS circuit development.

Summary updated

BibTeX
@inproceedings{shen2025transferable,
  author = {Shan Shen and Shenglu Hua and Jiajun Zou and Jiawei Liu and Jianwang Zhai and Chuan Shi and Wenjian Yu},
  title = {{Transferable Parasitic Estimation via Graph Contrastive Learning and Label Rebalancing in AMS Circuits}},
  booktitle = {ICCAD},
  year = {2025},
  doi = {10.1109/iccad66269.2025.11240660},
}
Figure