Skip to main content
QUICK REVIEW

[Paper Review] A Deep Reinforcement Learning Approach for Global Routing

Haiguang Liao, Wentai Zhang|arXiv (Cornell University)|Jun 20, 2019
VLSI and FPGA Design TechniquesEngineering31 references9 citations
TL;DR

This paper proposes a deep reinforcement learning (DRL) approach using Deep Q-Networks (DQN) to solve the global routing problem in integrated circuit design, enabling conjoint optimization of multiple nets simultaneously. The method outperforms sequential A* routing in 80% of tested cases, achieving zero overflow and better wirelength, and introduces a parameterized problem generator for scalable training and evaluation.

ABSTRACT

Global routing has been a historically challenging problem in electronic circuit design, where the challenge is to connect a large and arbitrary number of circuit components with wires without violating the design rules for the printed circuit boards or integrated circuits. Similar routing problems also exist in the design of complex hydraulic systems, pipe systems and logistic networks. Existing solutions typically consist of greedy algorithms and hard-coded heuristics. As such, existing approaches suffer from a lack of model flexibility and non-optimum solutions. As an alternative approach, this work presents a deep reinforcement learning method for solving the global routing problem in a simulated environment. At the heart of the proposed method is deep reinforcement learning that enables an agent to produce an optimal policy for routing based on the variety of problems it is presented with leveraging the conjoint optimization mechanism of deep reinforcement learning. Conjoint optimization mechanism is explained and demonstrated in details; the best network structure and the parameters of the learned model are explored. Based on the fine-tuned model, routing solutions and rewards are presented and analyzed. The results indicate that the approach can outperform the benchmark method of a sequential A* method, suggesting a promising potential for deep reinforcement learning for global routing and other routing or path planning problems in general. Another major contribution of this work is the development of a global routing problem sets generator with the ability to generate parameterized global routing problem sets with different size and constraints, enabling evaluation of different routing algorithms and the generation of training datasets for future data-driven routing approaches.

Motivation & Objective

  • To address the longstanding challenge of global routing in IC design, which is NP-complete and traditionally solved with heuristic, greedy methods that lack flexibility and optimality.
  • To explore whether deep reinforcement learning can enable joint optimization of multiple nets, avoiding sequential routing limitations and improving solution quality.
  • To develop a scalable, parameterized global routing problem generator to support training, evaluation, and benchmarking of data-driven routing algorithms.
  • To fine-tune DQN hyperparameters and network architecture to maximize performance on global routing tasks.
  • To demonstrate that DRL can produce superior routing solutions compared to established A* routing under the same constraints.

Proposed method

  • Formulates global routing as a Markov Decision Process (MDP), with discrete states representing routing grid configurations and actions representing wire placement decisions.
  • Employs a Deep Q-Network (DQN) to learn an optimal policy that selects routing actions based on the current state, incorporating rewards from successful and failed routing attempts.
  • Uses a conjoint optimization mechanism where the agent considers all nets and pins simultaneously, rather than routing them sequentially.
  • Applies experience replay and target networks to stabilize training and reduce overestimation in Q-value function learning.
  • Implements memory burn-in using A*-generated routing data to improve initial policy learning and accelerate convergence.
  • Develops a global routing problem generator that creates parameterized problem sets with customizable grid size, net count, and congestion constraints for training and evaluation.

Experimental results

Research questions

  • RQ1Can a deep reinforcement learning agent learn to perform global routing more effectively than sequential A* routing by jointly optimizing multiple nets?
  • RQ2How does the conjoint optimization mechanism in DQN improve routing performance compared to sequential net-by-net routing?
  • RQ3What hyperparameters (e.g., learning rate, epsilon, batch size) and network structures yield the best performance in the DRL-based routing framework?
  • RQ4Can a single, fine-tuned DQN model generalize to larger-scale routing problems without retraining?
  • RQ5To what extent does using A*-generated experience for memory burn-in improve DQN training speed and solution quality?

Key findings

  • The DQN-based router outperformed the A* router in 80% of the tested Type II problems, demonstrating superior solution quality in real-world routing scenarios.
  • All DQN solutions achieved zero edge overflow (OF), while A* solutions occasionally had positive OF, indicating better constraint satisfaction.
  • The DQN model achieved better total wirelength (WL) than A* in the majority of cases, with significant improvements observed in high-congestion scenarios.
  • The model generalized effectively to larger $16\times16\times2$ grids without retraining, maintaining high performance across scales.
  • Memory burn-in using A*-generated data improved performance and was selected over random burn-in, though it did not significantly accelerate learning.
  • The proposed problem generator enables fast, scalable creation of diverse routing problem sets, supporting future data-driven routing research and benchmarking.

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.