Learning Chess With Language Models and Transformers

09/24/2022
by   Michael DeLeo, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/18/2022

Word Play for Playing Othello (Reverses)

Language models like OpenAI's Generative Pre-Trained Transformers (GPT-2...
research
11/14/2014

Automatic Generation of Alternative Starting Positions for Simple Traditional Board Games

Simple board games, like Tic-Tac-Toe and CONNECT-4, play an important ro...
research
03/20/2022

Immersive Text Game and Personality Classification

We designed and built a game called Immersive Text Game, which allows th...
research
07/05/2023

Hoodwinked: Deception and Cooperation in a Text-Based Game for Language Models

Are current language models capable of deception and lie detection? We s...
research
03/15/2018

Unraveling Go gaming nature by Ising Hamiltonian and common fate graphs: tactics and statistics

Go gaming is a struggle between adversaries, black and white simple ston...
research
01/08/2021

Analysis of Evolutionary Program Synthesis for Card Games

In this report, we inspect the application of an evolutionary approach t...
research
07/07/2023

Procedurally generating rules to adapt difficulty for narrative puzzle games

This paper focuses on procedurally generating rules and communicating th...

Please sign up or login with your details

Forgot password? Click here to reset