[Paper Review] LHNN: Lattice Hypergraph Neural Network for VLSI Congestion Prediction
This paper proposes LHNN, a lattice hypergraph neural network that models VLSI circuit congestion using a heterogeneous graph structure combining geometric and topological message passing. By jointly regressing routing demand and classifying congestion, LHNN achieves over 35% higher F1 score than U-Net and Pix2Pix on ISPD 2011 and DAC 2012 benchmarks, demonstrating superior accuracy and robustness in congestion prediction.
Precise congestion prediction from a placement solution plays a crucial role in circuit placement. This work proposes the lattice hypergraph (LH-graph), a novel graph formulation for circuits, which preserves netlist data during the whole learning process, and enables the congestion information propagated geometrically and topologically. Based on the formulation, we further developed a heterogeneous graph neural network architecture LHNN, jointing the routing demand regression to support the congestion spot classification. LHNN constantly achieves more than 35% improvements compared with U-nets and Pix2Pix on the F1 score. We expect our work shall highlight essential procedures using machine learning for congestion prediction.
Motivation & Objective
- To address the limitations of current machine learning models in VLSI congestion prediction, which often discard netlist information and rely solely on geometric receptive fields.
- To preserve full netlist data throughout the learning process, enabling both topological and geometric message propagation in circuit representation.
- To improve prediction accuracy by jointly learning routing demand regression and congestion classification using multi-head supervision.
- To develop a graph neural network architecture that automatically generates meaningful features from netlist and layout data, reducing reliance on hand-crafted features.
Proposed method
- Proposes a lattice hypergraph (LH-graph) that integrates hypergraphs for netlist representation and lattice graphs for geometric layout, preserving full netlist structure.
- Designs a heterogeneous graph neural network, LHNN, with separate message passing modules for topological (hypergraph) and geometric (lattice) connections.
- Employs multi-head supervision by training on both routing demand maps and congestion masks, enabling complementary signal learning.
- Introduces feature generation modules that automatically derive G-cell features like pin density and net density from netlist and layout data.
- Uses residual and multi-head attention mechanisms in message passing blocks to enhance representation learning across long-range topological and geometric dependencies.
- Applies label balancing with a factor γ to handle class imbalance in congestion maps during training.
Experimental results
Research questions
- RQ1Can a graph neural network that preserves full netlist data during training improve congestion prediction accuracy compared to CNN-based methods?
- RQ2Does joint learning of routing demand and congestion classification lead to better performance than single-task learning in VLSI placement?
- RQ3To what extent do topological connections via nets contribute to accurate congestion prediction compared to purely geometric message passing?
- RQ4Can meaningful features for congestion prediction be automatically generated from netlist and layout data, reducing dependence on hand-crafted features?
Key findings
- LHNN achieves a 37.44% improvement in F1 score over U-Net and a 35.39% improvement over Pix2Pix on uni-channel congestion prediction tasks.
- Removing the hypergraph message passing module causes the largest performance drop, indicating that topological connections are critical for accurate prediction.
- The joint regression and classification branch significantly improves performance, showing that routing demand maps provide essential supervisory signals.
- Even when G-cell features like pin and net density are removed, LHNN maintains an F1 score of 38.02, demonstrating its ability to recover features through graph learning.
- Ablation studies confirm that both geometric and topological message passing are essential, with LatticeMP and HyperMP modules each contributing significantly to model performance.
- Visualization shows LHNN better distinguishes circuits with varying congestion levels, reducing false positives and negatives compared to baseline models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.