ChessMoveLLM: Large Language Models for Chess Next Move Prediction. Diallo, K. B. & Akhloufi, M. A. In SoutheastCon 2025, pages 475–480, 2025.
Paper doi abstract bibtex Creating a chess engine using language models is challenging due to the complexity of understanding the logic and depth of moves. To solve this problem, we propose several approaches with different types of training of different LLMs that already have some knowledge of tasks and not necessarily on chess, and adjust them for faster learning. We propose three groups of methods and five approaches to enhance state-of-the-art results. Our approaches will involve different types of database manipulation, the training of different types of networks and the application of a new, widely used approach, the RAG (Retrieval-Augmented Generation). We demonstrated the potential of networks and approaches with promising results for the first 2 methods, and we demonstrated with RAG in combination with FAISS (Facebook AI Similarity Search) [1], algebraic notation and GPT3.5-turbo-instruct that it is possible to increase the ability of networks to predict good chess moves. The first approach demonstrated that successive move generation benefits generalization and reduces illegal moves; for the second approach, we proved that the use of noiseless algebraic notation gives the network the possibility of progressing significantly before giving illegal moves. The second group of approaches, demonstrated that using the FEN (Forsyth-Edwards Notation), a textual graphical representation, for the prediction of move sequences to force context understanding could give promising results with a low number of epochs. Even with limitations in computation time and epochs, we were able to find promising results with a part of our dataset that can be improved with more epochs and data.
@inproceedings{diallo:2025:chessmovellm-large-language-models-for-chess-next-move-prediction,
title = {ChessMoveLLM: Large Language Models for Chess Next Move Prediction},
author = {Diallo, Kassim B. and Akhloufi, Moulay A.},
year = {2025},
booktitle = {SoutheastCon 2025},
pages = {475--480},
doi = {10.1109/SoutheastCon56624.2025.10971611},
url = {https://ieeexplore.ieee.org/document/10971611},
abstract = {Creating a chess engine using language models is challenging due to the complexity of understanding the logic and depth of moves. To solve this problem, we propose several approaches with different types of training of different LLMs that already have some knowledge of tasks and not necessarily on chess, and adjust them for faster learning. We propose three groups of methods and five approaches to enhance state-of-the-art results. Our approaches will involve different types of database manipulation, the training of different types of networks and the application of a new, widely used approach, the RAG (Retrieval-Augmented Generation). We demonstrated the potential of networks and approaches with promising results for the first 2 methods, and we demonstrated with RAG in combination with FAISS (Facebook AI Similarity Search) [1], algebraic notation and GPT3.5-turbo-instruct that it is possible to increase the ability of networks to predict good chess moves. The first approach demonstrated that successive move generation benefits generalization and reduces illegal moves; for the second approach, we proved that the use of noiseless algebraic notation gives the network the possibility of progressing significantly before giving illegal moves. The second group of approaches, demonstrated that using the FEN (Forsyth-Edwards Notation), a textual graphical representation, for the prediction of move sequences to force context understanding could give promising results with a low number of epochs. Even with limitations in computation time and epochs, we were able to find promising results with a part of our dataset that can be improved with more epochs and data.},
keywords = {Training, Deep learning, Social networking (online), Large language models, Retrieval augmented generation, Force, Transformers, Logic, Engines, Tuning, Deep learning, Transformers ,LLMs, RAG, FAISS, GPT, Similarity Search, Chess engine, Fine tuning},
affiliation = {Université de Moncton},
}
Downloads: 0
{"_id":"M9QSs8fXsD9o3E7i8","bibbaseid":"diallo-akhloufi-chessmovellmlargelanguagemodelsforchessnextmoveprediction-2025","author_short":["Diallo, K. B.","Akhloufi, M. A."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","title":"ChessMoveLLM: Large Language Models for Chess Next Move Prediction","author":[{"propositions":[],"lastnames":["Diallo"],"firstnames":["Kassim","B."],"suffixes":[]},{"propositions":[],"lastnames":["Akhloufi"],"firstnames":["Moulay","A."],"suffixes":[]}],"year":"2025","booktitle":"SoutheastCon 2025","pages":"475–480","doi":"10.1109/SoutheastCon56624.2025.10971611","url":"https://ieeexplore.ieee.org/document/10971611","abstract":"Creating a chess engine using language models is challenging due to the complexity of understanding the logic and depth of moves. To solve this problem, we propose several approaches with different types of training of different LLMs that already have some knowledge of tasks and not necessarily on chess, and adjust them for faster learning. We propose three groups of methods and five approaches to enhance state-of-the-art results. Our approaches will involve different types of database manipulation, the training of different types of networks and the application of a new, widely used approach, the RAG (Retrieval-Augmented Generation). We demonstrated the potential of networks and approaches with promising results for the first 2 methods, and we demonstrated with RAG in combination with FAISS (Facebook AI Similarity Search) [1], algebraic notation and GPT3.5-turbo-instruct that it is possible to increase the ability of networks to predict good chess moves. The first approach demonstrated that successive move generation benefits generalization and reduces illegal moves; for the second approach, we proved that the use of noiseless algebraic notation gives the network the possibility of progressing significantly before giving illegal moves. The second group of approaches, demonstrated that using the FEN (Forsyth-Edwards Notation), a textual graphical representation, for the prediction of move sequences to force context understanding could give promising results with a low number of epochs. Even with limitations in computation time and epochs, we were able to find promising results with a part of our dataset that can be improved with more epochs and data.","keywords":"Training, Deep learning, Social networking (online), Large language models, Retrieval augmented generation, Force, Transformers, Logic, Engines, Tuning, Deep learning, Transformers ,LLMs, RAG, FAISS, GPT, Similarity Search, Chess engine, Fine tuning","affiliation":"Université de Moncton","bibtex":"@inproceedings{diallo:2025:chessmovellm-large-language-models-for-chess-next-move-prediction,\n title = {ChessMoveLLM: Large Language Models for Chess Next Move Prediction},\n author = {Diallo, Kassim B. and Akhloufi, Moulay A.},\n year = {2025},\n booktitle = {SoutheastCon 2025},\n pages = {475--480},\n doi = {10.1109/SoutheastCon56624.2025.10971611},\n url = {https://ieeexplore.ieee.org/document/10971611},\n abstract = {Creating a chess engine using language models is challenging due to the complexity of understanding the logic and depth of moves. To solve this problem, we propose several approaches with different types of training of different LLMs that already have some knowledge of tasks and not necessarily on chess, and adjust them for faster learning. We propose three groups of methods and five approaches to enhance state-of-the-art results. Our approaches will involve different types of database manipulation, the training of different types of networks and the application of a new, widely used approach, the RAG (Retrieval-Augmented Generation). We demonstrated the potential of networks and approaches with promising results for the first 2 methods, and we demonstrated with RAG in combination with FAISS (Facebook AI Similarity Search) [1], algebraic notation and GPT3.5-turbo-instruct that it is possible to increase the ability of networks to predict good chess moves. The first approach demonstrated that successive move generation benefits generalization and reduces illegal moves; for the second approach, we proved that the use of noiseless algebraic notation gives the network the possibility of progressing significantly before giving illegal moves. The second group of approaches, demonstrated that using the FEN (Forsyth-Edwards Notation), a textual graphical representation, for the prediction of move sequences to force context understanding could give promising results with a low number of epochs. Even with limitations in computation time and epochs, we were able to find promising results with a part of our dataset that can be improved with more epochs and data.},\n keywords = {Training, Deep learning, Social networking (online), Large language models, Retrieval augmented generation, Force, Transformers, Logic, Engines, Tuning, Deep learning, Transformers ,LLMs, RAG, FAISS, GPT, Similarity Search, Chess engine, Fine tuning},\n affiliation = {Université de Moncton},\n}\n\n","author_short":["Diallo, K. B.","Akhloufi, M. A."],"key":"diallo:2025:chessmovellm-large-language-models-for-chess-next-move-prediction","id":"diallo:2025:chessmovellm-large-language-models-for-chess-next-move-prediction","bibbaseid":"diallo-akhloufi-chessmovellmlargelanguagemodelsforchessnextmoveprediction-2025","role":"author","urls":{"Paper":"https://ieeexplore.ieee.org/document/10971611"},"keyword":["Training","Deep learning","Social networking (online)","Large language models","Retrieval augmented generation","Force","Transformers","Logic","Engines","Tuning","Deep learning","Transformers","LLMs","RAG","FAISS","GPT","Similarity Search","Chess engine","Fine tuning"],"metadata":{"authorlinks":{}}},"bibtype":"inproceedings","biburl":"https://raw.githubusercontent.com/lichess-org/papers/main/lichess.bib","dataSources":["shB3Z7oaBcgBmet5C"],"keywords":["training","deep learning","social networking (online)","large language models","retrieval augmented generation","force","transformers","logic","engines","tuning","deep learning","transformers","llms","rag","faiss","gpt","similarity search","chess engine","fine tuning"],"search_terms":["chessmovellm","large","language","models","chess","next","move","prediction","diallo","akhloufi"],"title":"ChessMoveLLM: Large Language Models for Chess Next Move Prediction","year":2025}