整合卷積與注意力機制架構並應用於圍棋
A Study of Combining Convolution and Attention in the Game of Go
摘要
In recent years, various AI applications have continuously evolved, benefiting and impacting various domains of human society. Examples include natural language processing, image processing, and sound processing, among others. One commonality among these AI models is the use of the Transformer architecture in their neural networks. However, training a Transformer architecture requires a substantial amount of data to compensate for its inherent lack of 2D positional information understanding. Consequently, there has been considerable research on integrating Convolution into Transformer architectures to enhance their understanding of positional information and, in turn, accelerate training.
In this thesis, we propose a novel neural network architecture that combines Transformer and Convolution, applied specifically to the domain of Go. By employing our proposed neural network architecture, we address existing issues in AI trained under the AlphaZero algorithm in Go, such as ladder and cyclic attacks. Furthermore, under the same training conditions, our network achieved a 65.7% win rate when competing against the original network architecture, demonstrating a significant improvement in its strength.
In this thesis, we propose a novel neural network architecture that combines Transformer and Convolution, applied specifically to the domain of Go. By employing our proposed neural network architecture, we address existing issues in AI trained under the AlphaZero algorithm in Go, such as ladder and cyclic attacks. Furthermore, under the same training conditions, our network achieved a 65.7% win rate when competing against the original network architecture, demonstrating a significant improvement in its strength.
近年來各種 AI 運用不斷推陳出新,並且在各個領域上都對人類社會帶來了幫助與影響,像是在自然語言處理領域:ChatGPT、LLaMA,影像視覺領域:Stable Diffustion,聲音領域:Whisper,等等。上述提到的AI都有個共通點就是在神經網絡中使用了 Transformer 架構。但訓練一個應用於影像領域的Transformer架構需要大量的訓練資料,以彌補其先天性對於2D位置資訊的不足,而現今也有許多研究將Convolution整合進Transformer架構中以提升Transformer對於位置資訊的理解,進而提升訓練速度。
在本論文中,我們提出了一種新的神經網絡架構整合了Transformer與Convolution,並且將其引用在圍棋領域上,而在使用了我們提出的神經網絡架構後,改善了在基於AlphaZero演算法下所訓練出的AI的既存問題,像是Ladder或是Cyclic Attack。並且在相同條件的訓練下與原本網絡架構對打時得到了65.7%的勝率,強度更進一步的得到提升。
在本論文中,我們提出了一種新的神經網絡架構整合了Transformer與Convolution,並且將其引用在圍棋領域上,而在使用了我們提出的神經網絡架構後,改善了在基於AlphaZero演算法下所訓練出的AI的既存問題,像是Ladder或是Cyclic Attack。並且在相同條件的訓練下與原本網絡架構對打時得到了65.7%的勝率,強度更進一步的得到提升。