Beyond Evaluation: Learning Contextual Chess Position Representations. Hull, B. Accessed via ˘rl[https://bluehood.github.io/](https://bluehood.github.io/), 2025. Technical report
Paper abstract bibtex This paper introduces ChessLM, a novel Transformer-based model designed to learn rich, contextual vector representations (embeddings) of chess positions. Moving beyond traditional chess engines focused on move evaluation, our approach is inspired by the success of self-supervised learning in Natural Language Processing. We adapt the Vision Transformer architecture and train the model using two self-supervised tasks on a large corpus of chess games: Masked Piece Prediction, which requires the model to infer masked pieces based on board context, and Move Difference Prediction, which involves predicting the number of moves between two positions from the same game. Qualitative analysis demonstrates the model's ability to capture high-level structural and thematic similarities between positions across different game phases (opening, middlegame, endgame), such as shared pawn structures, material imbalances, and king safety patterns. However, the analysis also reveals limitations that would significantly impact our model's ability to generate position evaluations. Despite this, the learned embeddings are shown to be effective for retrieving strategically or tactically similar positions, enabling applications such as intelligent chess puzzle suggestions. This work contributes a novel method for learning chess position representations that encode thematic information, opening avenues for future research in applying representation learning to various chess-related tasks beyond traditional evaluation.
@misc{hull:2025:beyond-evaluation-learning-contextual-chess-position-representations,
title = {Beyond Evaluation: Learning Contextual Chess Position Representations},
author = {Ben Hull},
year = {2025},
url = {https://bluehood.github.io/research/benh_Beyond_Evaluation__Learning_Contextual_Chess_Position_Representations_2025.pdf},
note = {Technical report},
abstract = {This paper introduces ChessLM, a novel Transformer-based model designed to learn rich, contextual vector representations (embeddings) of chess positions. Moving beyond traditional chess engines focused on move evaluation, our approach is inspired by the success of self-supervised learning in Natural Language Processing. We adapt the Vision Transformer architecture and train the model using two self-supervised tasks on a large corpus of chess games: Masked Piece Prediction, which requires the model to infer masked pieces based on board context, and Move Difference Prediction, which involves predicting the number of moves between two positions from the same game. Qualitative analysis demonstrates the model's ability to capture high-level structural and thematic similarities between positions across different game phases (opening, middlegame, endgame), such as shared pawn structures, material imbalances, and king safety patterns. However, the analysis also reveals limitations that would significantly impact our model's ability to generate position evaluations. Despite this, the learned embeddings are shown to be effective for retrieving strategically or tactically similar positions, enabling applications such as intelligent chess puzzle suggestions. This work contributes a novel method for learning chess position representations that encode thematic information, opening avenues for future research in applying representation learning to various chess-related tasks beyond traditional evaluation.},
keywords = {Chess, Transformers, Machine Learning, Embeddings},
affiliation = {Independent},
pdf = {https://bluehood.github.io/research/benh_Beyond_Evaluation__Learning_Contextual_Chess_Position_Representations_2025.pdf},
code = {https://github.com/bluehood/Encoder-ChessLM},
huggingface = {https://huggingface.co/odestorm1/chesslm},
howpublished = {Accessed via \url{[https://bluehood.github.io/](https://bluehood.github.io/)}},
}
Downloads: 0
{"_id":"dituocXqPtpFyjRCK","bibbaseid":"hull-beyondevaluationlearningcontextualchesspositionrepresentations-2025","author_short":["Hull, B."],"bibdata":{"bibtype":"misc","type":"misc","title":"Beyond Evaluation: Learning Contextual Chess Position Representations","author":[{"firstnames":["Ben"],"propositions":[],"lastnames":["Hull"],"suffixes":[]}],"year":"2025","url":"https://bluehood.github.io/research/benh_Beyond_Evaluation__Learning_Contextual_Chess_Position_Representations_2025.pdf","note":"Technical report","abstract":"This paper introduces ChessLM, a novel Transformer-based model designed to learn rich, contextual vector representations (embeddings) of chess positions. Moving beyond traditional chess engines focused on move evaluation, our approach is inspired by the success of self-supervised learning in Natural Language Processing. We adapt the Vision Transformer architecture and train the model using two self-supervised tasks on a large corpus of chess games: Masked Piece Prediction, which requires the model to infer masked pieces based on board context, and Move Difference Prediction, which involves predicting the number of moves between two positions from the same game. Qualitative analysis demonstrates the model's ability to capture high-level structural and thematic similarities between positions across different game phases (opening, middlegame, endgame), such as shared pawn structures, material imbalances, and king safety patterns. However, the analysis also reveals limitations that would significantly impact our model's ability to generate position evaluations. Despite this, the learned embeddings are shown to be effective for retrieving strategically or tactically similar positions, enabling applications such as intelligent chess puzzle suggestions. This work contributes a novel method for learning chess position representations that encode thematic information, opening avenues for future research in applying representation learning to various chess-related tasks beyond traditional evaluation.","keywords":"Chess, Transformers, Machine Learning, Embeddings","affiliation":"Independent","pdf":"https://bluehood.github.io/research/benh_Beyond_Evaluation__Learning_Contextual_Chess_Position_Representations_2025.pdf","code":"https://github.com/bluehood/Encoder-ChessLM","huggingface":"https://huggingface.co/odestorm1/chesslm","howpublished":"Accessed via ˘rl[https://bluehood.github.io/](https://bluehood.github.io/)","bibtex":"@misc{hull:2025:beyond-evaluation-learning-contextual-chess-position-representations,\n title = {Beyond Evaluation: Learning Contextual Chess Position Representations},\n author = {Ben Hull},\n year = {2025},\n url = {https://bluehood.github.io/research/benh_Beyond_Evaluation__Learning_Contextual_Chess_Position_Representations_2025.pdf},\n note = {Technical report},\n abstract = {This paper introduces ChessLM, a novel Transformer-based model designed to learn rich, contextual vector representations (embeddings) of chess positions. Moving beyond traditional chess engines focused on move evaluation, our approach is inspired by the success of self-supervised learning in Natural Language Processing. We adapt the Vision Transformer architecture and train the model using two self-supervised tasks on a large corpus of chess games: Masked Piece Prediction, which requires the model to infer masked pieces based on board context, and Move Difference Prediction, which involves predicting the number of moves between two positions from the same game. Qualitative analysis demonstrates the model's ability to capture high-level structural and thematic similarities between positions across different game phases (opening, middlegame, endgame), such as shared pawn structures, material imbalances, and king safety patterns. However, the analysis also reveals limitations that would significantly impact our model's ability to generate position evaluations. Despite this, the learned embeddings are shown to be effective for retrieving strategically or tactically similar positions, enabling applications such as intelligent chess puzzle suggestions. This work contributes a novel method for learning chess position representations that encode thematic information, opening avenues for future research in applying representation learning to various chess-related tasks beyond traditional evaluation.},\n keywords = {Chess, Transformers, Machine Learning, Embeddings},\n affiliation = {Independent},\n pdf = {https://bluehood.github.io/research/benh_Beyond_Evaluation__Learning_Contextual_Chess_Position_Representations_2025.pdf},\n code = {https://github.com/bluehood/Encoder-ChessLM},\n huggingface = {https://huggingface.co/odestorm1/chesslm},\n howpublished = {Accessed via \\url{[https://bluehood.github.io/](https://bluehood.github.io/)}},\n}\n\n","author_short":["Hull, B."],"key":"hull:2025:beyond-evaluation-learning-contextual-chess-position-representations","id":"hull:2025:beyond-evaluation-learning-contextual-chess-position-representations","bibbaseid":"hull-beyondevaluationlearningcontextualchesspositionrepresentations-2025","role":"author","urls":{"Paper":"https://bluehood.github.io/research/benh_Beyond_Evaluation__Learning_Contextual_Chess_Position_Representations_2025.pdf"},"keyword":["Chess","Transformers","Machine Learning","Embeddings"],"metadata":{"authorlinks":{}}},"bibtype":"misc","biburl":"https://raw.githubusercontent.com/lichess-org/papers/main/lichess.bib","dataSources":["shB3Z7oaBcgBmet5C"],"keywords":["chess","transformers","machine learning","embeddings"],"search_terms":["beyond","evaluation","learning","contextual","chess","position","representations","hull"],"title":"Beyond Evaluation: Learning Contextual Chess Position Representations","year":2025}