HackerPapers

arXiv:1907.08321cs.LG

SentiMATE: Learning to play Chess through Natural Language Processing

Isaac Kamlish, Isaac Bentata Chocron, Nicholas McCarthy

Abstract

We present SentiMATE, a novel end-to-end Deep Learning model for Chess, employing Natural Language Processing that aims to learn an effective evaluation function assessing move quality. This function is pre-trained on the sentiment of commentary associated with the training moves and is used to guide and optimize the agent's game-playing decision making. The contributions of this research are three-fold: we build and put forward both a classifier which extracts commentary describing the quality of Chess moves in vast commentary datasets, and a Sentiment Analysis model trained on Chess commentary to accurately predict the quality of said moves, to then use those predictions to evaluate the optimal next move of a Chess agent. Both classifiers achieve over 90 % classification accuracy. Lastly, we present a Chess engine, SentiMATE, which evaluates Chess moves based on a pre-trained sentiment evaluation function. Our results exhibit strong evidence to support our initial hypothesis - "Can Natural Language Processing be used to train a novel and sample efficient evaluation function in Chess Engines?" - as we integrate our evaluation function into modern Chess engines and play against agents with traditional Chess move evaluation functions, beating both random agents and a DeepChess implementation at a level-one search depth - representing the number of moves a traditional Chess agent (employing the alpha-beta search algorithm) looks ahead in order to evaluate a given chess state.

arXiv comments
Accepted for Oral at the AIIDE-19 Workshop on Artificial Intelligence for Strategy Games
Journal reference
DOI
Subjects
cs.LGMachine Learning cs.AIArtificial Intelligence cs.CLComputation and Language

On Hacker News

Linked by 2 identifiable commenters in 2 comments across 2 threads, from Aug 2019 to Oct 2021. Found in 1 HN submission from Jul 2019 to Jul 2019. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments2 threads

    • SentiMATE[1] looks at one of the reverse problems in a way - training an engine on commentary data - although it's not exactly what you're talking about. I think this line of thinking could eventually lead to automated metrics for commentary evaluation, which could in turn lead…

      cbutnerView on HNParent context

    • It's a neat idea, but saying that this AI "mastered" chess is a huge exaggeration. In the actual paper [1], it says that it lost 19/100 games against an opponent playing completely random moves. And by "lost", they mean that it was in a worse position after 40 moves. It sounds…

      DeimorzView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.