arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.08161cs.LGcs.ARcs.NAmath.NA
收藏

AttentionCap: 基于Transformer的电容矩阵学习用于全芯片提取

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

Dept. Computer Science & Tech., BNRist, Tsinghua Univ., Beijing, China(清华大学计算机科学与技术系,北京信息科学与技术国家研究中心);School of IC, BNRist, Tsinghua Univ., Beijing, China(清华大学集成电路学院,北京信息科学与技术国家研究中心);School of IC, Peking Univ., Beijing, China(北京大学集成电路学院)

Jiechen Huang, Hector R. Rodriguez, Dingcheng Yang, Zuochang Ye, Yibo Lin, Wenjian Yu

AI总结:

提出AttentionCap,一种定制化Transformer,结合Gram表示、对称注意力输出层和归一化拉普拉斯损失,实现多层多节点下的高精度电容矩阵预测,速度提升192倍。

摘要:

随着基于规则的模式匹配的电容提取精度在先进节点上难以维持,开发基于深度学习的2D电容模型的趋势日益增长。然而,现有的基于MLP和CNN的方法将其输入限制在特定工艺节点的固定金属层组合上,限制了其在实际中的可用性。认识到电容矩阵与流行的注意力机制之间的固有相似性,我们提出了AttentionCap,一种定制化的Transformer用于电容矩阵学习,具有Gram表示框架、物理对齐的对称注意力输出层以及新颖的归一化拉普拉斯损失。我们还引入了工艺节点嵌入以实现多节点学习。在合成数据上训练后,AttentionCap在多层多节点设置下,对未见过的真实设计实现了0.67%/3.99%的自电容/耦合电容误差,相比CNN-Cap基线,自电容/耦合误差降低了4.6倍/5.7倍,推理速度提高了192倍。预训练的AttentionCap仅需5000个样本和4000步微调即可准确迁移到未见过的节点。凭借对未见过的真实设计的足够精度和对新工艺节点的强迁移能力,AttentionCap为现代EDA工作流程提供了很高的实用价值。代码和数据可在https://github.com/THU-numbda/AttentionCap获取。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑