arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.11902cs.AIcs.CLcs.GTcs.LG
收藏

用语言模型和Transformers学习国际象棋

Learning Chess With Language Models and Transformers

Whiting School of Engineering, Johns Hopkins University(约翰斯·霍普金斯大学怀廷工程学院)

Michael DeLeo, Erhan Guven

摘要:

通过基于文本的符号表示棋盘游戏及其位置,使NLP应用成为可能。语言模型,可以帮助深入了解各种有趣的问题,如游戏的无监督学习规则,检测玩家的行为模式,玩家归因,并最终学习游戏击败最先进的状态。在这项研究中,我们应用BERT模型,首先对简单的Nim游戏进行分析,以分析其在少样本学习架构中存在噪声时的性能。我们通过三个虚拟玩家,即Nim Guru,Random Player和Q-learner,分析了模型的性能。在第二部分中,我们将游戏学习语言模型应用到国际象棋游戏中,以及一大组具有详尽百科全书开口的特级大师游戏。最后,我们已经证明,该模型实际上学习了国际象棋游戏的规则,并且可以在A类评级水平下与Stockfish进行比赛。

英文摘要:

Representing a board game and its positions by text-based notation enables the possibility of NLP applications. Language models, can help gain insight into a variety of interesting problems such as unsupervised learning rules of a game, detecting player behavior patterns, player attribution, and ultimately learning the game to beat state of the art. In this study, we applied BERT models, first to the simple Nim game to analyze its performance in the presence of noise in a setup of a few-shot learning architecture. We analyzed the model performance via three virtual players, namely Nim Guru, Random player, and Q-learner. In the second part, we applied the game learning language model to the chess game, and a large set of grandmaster games with exhaustive encyclopedia openings. Finally, we have shown that model practically learns the rules of the chess game and can survive games against Stockfish at a category-A rating level.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑