NeuralSteiner: Learning Steiner Tree for Overflow-avoiding Global Routing in Chip Design

Ruizhi Liu, Zhisheng Zeng, Shizhe Ding, Jingyan Sui, Xingquan Li, Dongbo BuNeurIPS 2024

TL;DR

NeuralSteiner is a novel deep learning approach for global routing in chip design that significantly reduces routing overflow (congestion) by learning to predict optimal Steiner points. This method achieves near state-of-the-art wirelength while drastically cutting down on overflow, making it more practical for real-world chip manufacturing.

What Problem Does This Paper Address?

In modern chip design, global routing is a crucial step that determines how millions of tiny wires connect different components. The goal is to create efficient paths (often forming Rectilinear Steiner Trees or RSTs) that minimize wire length while avoiding congestion. Congestion, or "overflow," occurs when too many wires try to pass through a limited area, which can lead to design failures and costly rework. While recent machine learning methods have shown promise in generating routing paths, they often produce significant overflow, hindering their practical adoption. This paper tackles the challenge of generating routing paths that are not only connected and short but also effectively avoid overflow, especially for complex, large-scale chip designs.

Methods

NeuralSteiner employs a two-phase approach:

  1. Candidate Point Prediction: A neural network, specifically a modified ResNet with a recurrent crisscross attention mechanism, is trained to predict the locations of "candidate points." These points are crucial for constructing overflow-avoiding Steiner trees. The network takes spatial and overflow information of the net as input, learning to identify areas where Steiner points would be most beneficial for reducing congestion.
  2. Overflow-Avoiding RST Construction: Once candidate points are predicted, a graph-based post-processing algorithm constructs the final Rectilinear Steiner Tree (RST). This involves building a "net augmented graph" (NAG) using the predicted candidate points and the net's pins. A greedy algorithm then finds the minimal spanning tree on this graph, prioritizing paths that avoid overflow. This phase ensures connectivity and aims to minimize overflow.

Datasets

The paper uses public benchmarks for training and evaluation:

  • Training: ISPD07 benchmarks are used to construct the training set.
  • Evaluation:
    • ISPD07 (adaptec and newblue series) for small-scale nets.
  • ISPD98 (ibm01-06) for large-scale benchmarks.
  • ISPD18/19 benchmarks for post-routing overflow mitigation evaluation.

Key Insights and Ideas

  • Learning Steiner Points for Overflow Avoidance: The core idea is that by learning to predict the optimal locations for Steiner points (intermediate connection points in a routing path), the model can proactively avoid congestion, rather than just reacting to it.
  • Two-Phase Approach: Combining a deep learning-based prediction phase with a graph-based construction phase allows NeuralSteiner to leverage the strengths of both: the learning power of neural networks for complex pattern recognition and the structured problem-solving of graph algorithms.
  • Recurrent Crisscross Attention: This novel attention mechanism is key to capturing long-range spatial and overflow correlations within the chip layout, enabling the network to understand global congestion patterns.
  • Generalization: NeuralSteiner demonstrates strong generalization capabilities, performing well on unseen chip designs and large-scale nets without requiring fine-tuning.

Key Results

NeuralSteiner achieves significant improvements in overflow reduction:

  • Overflow Reduction: Up to a 99.8% reduction in total overflow on large-scale benchmarks compared to state-of-the-art deep generative methods like HubRouter.
  • Wirelength: Maintains a slight wirelength loss, within only 1.8% compared to traditional methods.
  • Speed: Achieves faster generation times due to parallel routing task construction.
  • Scalability: Effectively handles nets with over 1000 pins, a feat previously challenging for many learning-based methods.
  • Post-Routing Mitigation: When integrated with a traditional router, it shows a 4.4% and 19.1% reduction in shorts and spaces (design rule violations caused by overflow) on ISPD18/19 benchmarks.

Limitations and Future Work

  • Heuristic Post-Processing: The paper acknowledges that the Rectilinear Steiner Tree (RST) construction still relies on heuristic algorithms, which can lead to time-consuming calculations and a slight increase in wirelength.
  • Future Directions: The authors plan to explore continuous probabilistic candidate point maps and investigate end-to-end learning with neural networks for generating overflow-avoiding RSTs directly, aiming to further improve efficiency and quality.

Summary updated

BibTeX
@inproceedings{liu2024neuralsteiner,
  author = {Ruizhi Liu and Zhisheng Zeng and Shizhe Ding and Jingyan Sui and Xingquan Li and Dongbo Bu},
  title = {{NeuralSteiner: Learning Steiner Tree for Overflow-avoiding Global Routing in Chip Design}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=2a0A70jNrQ},
}
Figure