cs.LGJun 6, 2026

AttentionCap: Transformer Based Capacitance Matrix Learning Toward Full-Chip Extraction

Authors: Jiechen HuangHector R. RodriguezDingcheng YangZuochang YeYibo LinWenjian Yu

Organizations: Dept. Computer Science & Tech., BNRist, Tsinghua Univ., Beijing, China · School of IC, BNRist, Tsinghua Univ., Beijing, China · School of IC, Peking Univ., Beijing, China

Abstract

As capacitance extraction accuracy of rule-based pattern matching becomes difficult to sustain at advanced nodes, a growing trend emerges to develop deep-learning-based 2D capacitance models. However, existing MLP- and CNN-based methods constrain their input to fixed metal-layer combinations in a specific process node, limiting their usability in practice. Recognizing the inherent similarity between capacitance matrix and the prevailing attention mechanism, we propose AttentionCap, a customized Transformer for capacitance matrix learning, with a Gram representation framework, a physics-aligned symmetric-attention output layer, and a novel normalized Laplacian loss. We also introduce a process-node embedding to enable multi-node learning. Trained on synthetic data, AttentionCap attains 0.67%/3.99% self/coupling-capacitance error on unseen real designs under a multi-layer and multi-node setting, surpassing the CNN-Cap baseline with 4.6×\times/5.7×\times lower self/coupling error and 192×\times faster inference speed. A pretrained AttentionCap accurately transfers to an unseen node with only 5K samples and 4K finetuning steps. With sufficient accuracy on unseen real designs and strong transferability to new process nodes, AttentionCap offers highly practical value for modern EDA workflows. Code and data are available at https://github.com/THU-numbda/AttentionCap.

Explore similar work

CardsList
  1. Flash-CNNCap: Capacitance Extraction via Image Mapping

    Jul 26, 2026Hector R. Rodriguez, Jiechen Huang, Wenjian YuMapping