應用強化學習之考慮障礙物的多層直角斯坦納樹建構
Multi-layer Obstacle Avoiding Rectilinear Steiner Tree Construction with Reinforcement Learning
摘要
近年來機器學習作為以往難解問題的突破口,應用於不同的研究領域上皆大有斬獲,其中最廣為人知的莫過於在2016年打敗職業九段棋士李世乭的AlphaGo程式。 2017年,Deepmind 發表了Alpha-Go的新版本AlphaGo Zero,其不需要人類棋譜,只透過無數次自我對弈,配合強化學習,在一百局與AlphaGo對弈的棋局中大獲全勝。
在電子設計自動化領域中,電路的繞線為追求較短的線長,會對屬於同訊號的接腳嘗試建構最小直角斯坦納樹,而這個問題已被證明為NP-hard。普遍多使用近似演算法、啟發演算法或將其分解為特例來求解。受到Alpha-Go Zero的啟發,我們發現亦能將迷宮繞線視為棋盤遊戲,期許能藉由強化學習發現以往演算法未發現的建樹策略。
在本篇論文中,我們提出了一個將多層直角斯坦納樹轉譯為三維棋盤的棋局的方式,運用強化學習讓深度網路去學習如何在棋局中成功建構直角斯坦納樹。我們的實驗結果證明透過我們設計的方法,深度網路能藉由少量的訓練集合學習到如何避開障礙物建立多層斯坦納樹。除此之外,在實驗結果中也能看出我們設計的獎勵方程式能使線長減少。
在電子設計自動化領域中,電路的繞線為追求較短的線長,會對屬於同訊號的接腳嘗試建構最小直角斯坦納樹,而這個問題已被證明為NP-hard。普遍多使用近似演算法、啟發演算法或將其分解為特例來求解。受到Alpha-Go Zero的啟發,我們發現亦能將迷宮繞線視為棋盤遊戲,期許能藉由強化學習發現以往演算法未發現的建樹策略。
在本篇論文中,我們提出了一個將多層直角斯坦納樹轉譯為三維棋盤的棋局的方式,運用強化學習讓深度網路去學習如何在棋局中成功建構直角斯坦納樹。我們的實驗結果證明透過我們設計的方法,深度網路能藉由少量的訓練集合學習到如何避開障礙物建立多層斯坦納樹。除此之外,在實驗結果中也能看出我們設計的獎勵方程式能使線長減少。
In recent years, breakthroughs have been achieved in challenging problems of different research fields by machine learning related techniques. In 2016, AlphaGo program beat the human professional Go player Lee Sedol. Then in 2017, Deepmind announced AlphaGo Zero, which exceeds AlphaGo by winning all in 100 games. Without human knowledge, AlphaGo Zero learns a policy from a large number of self-play with reinforcement learning.
In the electrical design automation(EDA) field, a rectilinear Steiner tree is constructed for all pins of the same net to pursue shorter wire-lengths. Finding a minimum Steiner tree is proved to be NP-hard. Common approaches are the heuristic algorithm, approximation algorithm, and separation of solvable special cases. Inspired by AlphaGo Zero, we noticed that multi-layer rectilinear Steiner tree construction could be treated as a board game too. Through reinforcement learning, policies beyond human knowledge might be discovered.
In this work, we proposed a way to convert the multi-layer rectilinear tree construction problem to a three-dimensional board game. With reinforcement learning technique, deep network as our agent learns to construct a rectilinear Steiner tree within the game environment. Our experiment result shows that a policy which can construct the rectilinear Steiner trees while successfully avoiding obstacles is learned through conducting the routing of a training set. Besides, it is proved by the result that the techniques we design to reduce wire-length work.
In the electrical design automation(EDA) field, a rectilinear Steiner tree is constructed for all pins of the same net to pursue shorter wire-lengths. Finding a minimum Steiner tree is proved to be NP-hard. Common approaches are the heuristic algorithm, approximation algorithm, and separation of solvable special cases. Inspired by AlphaGo Zero, we noticed that multi-layer rectilinear Steiner tree construction could be treated as a board game too. Through reinforcement learning, policies beyond human knowledge might be discovered.
In this work, we proposed a way to convert the multi-layer rectilinear tree construction problem to a three-dimensional board game. With reinforcement learning technique, deep network as our agent learns to construct a rectilinear Steiner tree within the game environment. Our experiment result shows that a policy which can construct the rectilinear Steiner trees while successfully avoiding obstacles is learned through conducting the routing of a training set. Besides, it is proved by the result that the techniques we design to reduce wire-length work.