arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.05941cs.LGcs.AI
收藏

基于广义交叉图嵌入的GNN拥塞预测

Generalizable Cross-Graph Embedding for GNN-based Congestion Prediction

McGill University(麦吉尔大学)

Amur Ghose, Vincent Zhang, Yingxue Zhang, Dong Li, Wulong Liu, Mark Coates

摘要:

目前,随着技术节点的缩放,在早期设计阶段的准确预测模型可以显着减少设计周期。特别是在逻辑综合期间,预测由于不正确的逻辑组合而导致的单元拥塞可以减少后续物理实现的负担。已经尝试使用图神经网络(GNN)技术来解决逻辑合成阶段期间的拥塞预测。然而,它们需要信息单元特征来实现合理的性能,因为GNN的核心思想建立在消息传递框架上,这在早期逻辑合成阶段是不切实际的。为了解决这个问题,我们提出了一个框架,可以直接学习嵌入给定的网表,以提高我们的节点功能的质量。流行的基于随机游走的嵌入方法,如Node2vec、LINE和DeepWalk,都存在交叉图对齐和对不可见网表图的泛化能力差的问题,导致性能低下,运行时成本高昂。在我们的框架中,我们引入了一个更好的替代方案,以获得节点嵌入,可以概括整个网表图使用矩阵分解方法。我们提出了一种有效的小批量训练方法,在子图的水平,可以保证并行训练,并满足大规模网表的内存限制。我们目前的结果利用开源EDA工具,如DREAMPLACE和OPENROAD框架上的各种公开可用的电路。通过将网表顶部的学习嵌入与GNN相结合,我们的方法提高了预测性能,推广到新的电路线,并且在训练中是有效的,潜在地节省了运行时间的$90 \%$。

英文摘要:

Presently with technology node scaling, an accurate prediction model at early design stages can significantly reduce the design cycle. Especially during logic synthesis, predicting cell congestion due to improper logic combination can reduce the burden of subsequent physical implementations. There have been attempts using Graph Neural Network (GNN) techniques to tackle congestion prediction during the logic synthesis stage. However, they require informative cell features to achieve reasonable performance since the core idea of GNNs is built on the message passing framework, which would be impractical at the early logic synthesis stage. To address this limitation, we propose a framework that can directly learn embeddings for the given netlist to enhance the quality of our node features. Popular random-walk based embedding methods such as Node2vec, LINE, and DeepWalk suffer from the issue of cross-graph alignment and poor generalization to unseen netlist graphs, yielding inferior performance and costing significant runtime. In our framework, we introduce a superior alternative to obtain node embeddings that can generalize across netlist graphs using matrix factorization methods. We propose an efficient mini-batch training method at the sub-graph level that can guarantee parallel training and satisfy the memory restriction for large-scale netlists. We present results utilizing open-source EDA tools such as DREAMPLACE and OPENROAD frameworks on a variety of openly available circuits. By combining the learned embedding on top of the netlist with the GNNs, our method improves prediction performance, generalizes to new circuit lines, and is efficient in training, potentially saving over $90 \%$ of runtime.

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

↑