Introduction
In Electronic Design Automation (EDA), routing congestion is a critical bottleneck. It occurs when wire demand exceeds available routing tracks in a specific region of a chip. Traditionally, congestion is only accurately identified late in the design cycle, during physical placement and routing. Discovering significant congestion at this stage often necessitates a costly return to the logic synthesis phase, potentially wasting weeks of engineering effort.
Predicting congestion early—specifically at the logic synthesis stage—is highly desirable but challenging. At this stage, physical coordinates are unavailable; only the netlist (a graph of logic gates and their interconnections) exists. While Graph Neural Networks (GNNs) are theoretically well-suited for netlist analysis, they struggle with feature scarcity and the "generalization gap"—the inability of proximity-based embeddings (like Node2vec) to align across different circuit designs for inductive learning.
Proposed Framework
The researchers from Huawei’s Noah’s Ark Lab and McGill University propose a GNN-based framework that leverages structural embeddings to enable cross-graph congestion prediction. Unlike traditional methods that rely on physical layout features, this approach extracts features directly from the netlist topology.
The end-to-end pipeline involves generating ground-truth congestion labels from a placement tool, which are then mapped back to the netlist nodes. For inference, the netlist is partitioned into sub-graphs, structural embeddings are encoded, and a GNN model predicts congestion levels.
Structural Embedding via Matrix Factorization
A core contribution of this work is the use of matrix-factorization-based structural embeddings instead of random-walk-based proximity embeddings. Proximity-based methods learn node representations relative to their neighbors in a specific graph, making them difficult to generalize to new, unseen circuits without expensive alignment steps.
In contrast, the proposed method uses a modified version of InfiniteWalk to factorize a Pointwise Mutual Information (PMI) matrix derived from the graph's Laplacian. This captures structural similarity—identifying nodes that play similar functional roles across different circuits.
To handle the massive scale of industrial netlists, the framework employs sub-graph partitioning using the METIS tool. Netlists are broken into clusters (typically ~5,000 nodes), allowing for efficient, parallelized matrix factorization and mini-batch GNN training.
Model Architecture and Training
The framework utilizes a GraphSAGE architecture. Each node's input feature vector is a concatenation of basic cell attributes (e.g., cell area, pin count) and its learned structural embedding. The authors found that a relatively shallow model (2 layers) was most effective, avoiding the "oversmoothing" common in deeper GNNs where node representations become too similar. The final node representations are passed through a Multi-Layer Perceptron (MLP) to produce the congestion prediction.
Experimental Results
The model was evaluated on the Superblue (DAC 2012) and OPENROAD datasets. Key findings include:
- Superior Accuracy: The method consistently outperformed existing state-of-the-art models like CongestionNet across Pearson, Spearman, and Kendall correlation metrics.
- Generalization: The structural embeddings provided a significant performance boost when predicting on "unseen" circuits, demonstrating true inductive learning capability.
- Efficiency: By avoiding embedding alignment and using sub-graph partitioning, the framework achieved a 90% reduction in training time compared to standard GNN sampling approaches.
Conclusion and Future Work
This research demonstrates that structural embeddings derived from matrix factorization are a powerful tool for early-stage congestion prediction in EDA. By creating a "universal language" for circuit nodes, the model can generalize across diverse chip designs. Future work aims to integrate these predictions directly into congestion-aware placement tools and explore the theoretical underpinnings of why matrix factorization synergizes so effectively with sub-graph clustering in this domain.
Summary updated