Skip to main content
QUICK REVIEW

[Paper Review] Attention Routing: track-assignment detailed routing using attention-based reinforcement learning

Haiguang Liao, Qingyi Dong|arXiv (Cornell University)|Apr 20, 2020
VLSI and FPGA Design TechniquesEngineering37 references9 citations
TL;DR

This paper introduces Attention Router, the first reinforcement learning-based approach for track-assignment detailed routing in advanced IC design, using an attention-model-based REINFORCE algorithm to sequence device pairs while encoding complex design rules. It achieves over 100× speedup over a genetic router with minimal quality loss and demonstrates generalization and predictive capabilities for routability and congestion.

ABSTRACT

In the physical design of integrated circuits, global and detailed routing are critical stages involving the determination of the interconnected paths of each net on a circuit while satisfying the design constraints. Existing actual routers as well as routability predictors either have to resort to expensive approaches that lead to high computational times, or use heuristics that do not generalize well. Even though new, learning-based routing methods have been proposed to address this need, requirements on labelled data and difficulties in addressing complex design rule constraints have limited their adoption in advanced technology node physical design problems. In this work, we propose a new router: attention router, which is the first attempt to solve the track-assignment detailed routing problem using reinforcement learning. Complex design rule constraints are encoded into the routing algorithm and an attention-model-based REINFORCE algorithm is applied to solve the most critical step in routing: sequencing device pairs to be routed. The attention router and its baseline genetic router are applied to solve different commercial advanced technologies analog circuits problem sets. The attention router demonstrates generalization ability to unseen problems and is also able to achieve more than 100 times acceleration over the genetic router without significantly compromising the routing solution quality. We also discover a similarity between the attention router and the baseline genetic router in terms of positive correlations in cost and routing patterns, which demonstrate the attention router's ability to be utilized not only as a detailed router but also as a predictor for routability and congestion.

Motivation & Objective

  • To address the critical need for fast, generalizable, and constraint-aware detailed routing in advanced IC design (e.g., <16 nm FinFET technologies).
  • To overcome limitations of heuristic-based routers and supervised learning methods that require labeled data and fail to generalize across unseen problems.
  • To develop a reinforcement learning framework that encodes complex design rule constraints directly into the routing process.
  • To evaluate the attention router’s performance against a genetic router baseline in terms of solution quality, speed, and generalization.
  • To explore the potential of the attention router as a routability and congestion predictor in upstream placement stages.

Proposed method

  • The attention router uses a policy gradient method based on a transformer-style attention mechanism to learn the optimal sequence for routing device pairs in detailed routing.
  • Design rules are encoded directly into the routing state representation, ensuring compliance with complex constraints such as width-spacing patterns (WSP) and multi-patterning rules.
  • The REINFORCE algorithm with advantage function estimation is used to train the policy network, optimizing for total wirelength and congestion cost.
  • The model is trained on synthetic problem sets (e.g., Small5000) and evaluated on unseen test sets (e.g., Large500), including commercial analog circuits.
  • A genetic router is used as a strong baseline for comparison in terms of solution quality and runtime.
  • Positive correlations between attention router and genetic router solutions are analyzed to enable downstream use as a routability and congestion predictor.

Experimental results

Research questions

  • RQ1Can a reinforcement learning-based approach achieve high-speed, high-quality detailed routing while respecting complex design rule constraints in advanced technology nodes?
  • RQ2Does the attention router generalize to unseen problem instances after training on a limited set of examples?
  • RQ3How does the performance of the attention router scale with increasing training data size?
  • RQ4To what extent can the attention router’s solution patterns correlate with those of a genetic router, enabling its use as a routability or congestion predictor?
  • RQ5What is the sample efficiency of the attention router, and how does it scale with problem size?

Key findings

  • The attention router achieves over 100× speedup compared to the genetic router while maintaining solution quality within a few percent of the baseline.
  • Increasing the number of training problems from Small500 to Small5000 significantly improves the attention router’s performance on both training and test sets.
  • A strong positive correlation is observed between the attention router and genetic router in terms of total cost (wirelength), indicating shared solution quality patterns.
  • The attention router produces routing patterns that closely resemble those of the genetic router, particularly in congestion regions and locations of unconnected instTerms, suggesting utility as a fine-grained congestion predictor.
  • The attention router generalizes well to unseen problems from the same problem distribution after adequate training, demonstrating robustness and transferability.
  • The model shows promise as a predictor for routability and congestion in the placement stage, without requiring labeled data from other routers.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.