NORMA eResearch @NCI Library

Explainable Chess AI: A Browser Extension for Move Explanation and Analysis in Real-Time Chess Interfaces

Nanduri, Sai Manohar (2025) Explainable Chess AI: A Browser Extension for Move Explanation and Analysis in Real-Time Chess Interfaces. Masters thesis, Dublin, National College of Ireland.

[thumbnail of Master of Science]
Preview
PDF (Master of Science)
Download (7MB) | Preview
[thumbnail of Configuration Manual]
Preview
PDF (Configuration Manual)
Download (907kB) | Preview

Abstract

This thesis presents an innovative real-time explainable artificial intelligence (AI) mechanism for the analysis of chess is put forward, which overcomes the ”black box” problem that has existed for ages with chess engines (Adadi and Berrada (2018)). Even though present-day chess engines have superhuman playing power, they only present numerical evaluations which do not clarify their reasoning, thus creating hurdles for chess learners. The research described here is a direct projection of a hybrid multi-modal AI system that fuses symbolic reasoning (Stockfish chess engine: Stockfish Team (2023)), deep learning (Convolutional Neural Networks for tactical pattern recognition: Lecun et al. (1998)), algorithmic position analysis, and natural language processing (Large Language Models: Brown et al. (2020)) to generate human-understandable explanations for chess moves.

The system is made available to users as a browser extension on Chess.com (Google (2024)), offering an analysis of the game in real-time with explanations that highlight particular board features, tactical themes, and strategic concepts. The tactical classification model was able to categorize 20 tactical themes with a 78.1% detection rate and the model was trained using 100,000 positions from the Lichess puzzle database (Lichess.org (2024)). The average time taken by the system to respond is 2.65-3.50 seconds per position, which conforms to the requirements for real-time usability. The system integrates multiple AI components to produce contextual, grounded explanations designed to support chess learning and understanding.

Main contributions of the present study are the following: (1) a new hybrid ensemble architecture for multi-objective tactical classification, which has shown that intelligently combined specialized models outperform general-purpose ones (71.8% precision, 52.3% recall vs. single-model baselines), (2) a systematic comparative study of model evolution from single architectures through specialized ensembles to hybrid solutions, (3) context-aware explanation generation using LLMs with hallucination prevention through explicit piece verification, (4) practical real-time deployment showing XAI applicability in game domains, and (5) a comprehensive computational evaluation with a proposed framework for future empirical validation. The present study reveals that using context-aware ensemble routing instead of uniform approaches is a great advantage for multi-objective optimization in machine learning.

Item Type: Thesis (Masters)
Supervisors:
Name
Email
Garg, Mohit
UNSPECIFIED
Uncontrolled Keywords: Explainable Artificial Intelligence; Chess AI; Convolutional Neural Networks; Natural Language Processing; Deep Learning; Tactical Pattern Recognition; Browser Extension; Stockfish; PyTorch; Multi-Modal AI
Subjects: Q Science > QH Natural history > QH301 Biology > Methods of research. Technique. Experimental biology > Data processing. Bioinformatics > Artificial intelligence
Q Science > Q Science (General) > Self-organizing systems. Conscious automata > Artificial intelligence
P Language and Literature > P Philology. Linguistics > Computational linguistics. Natural language processing
G Geography. Anthropology. Recreation > GV Recreation Leisure > Games and Amusements
Q Science > Q Science (General) > Self-organizing systems. Conscious automata > Machine learning
Divisions: School of Computing > Master of Science in Artificial Intelligence
Depositing User: Ciara O'Brien
Date Deposited: 02 Sep 2026 10:25
Last Modified: 02 Sep 2026 10:25
URI: https://norma.ncirl.ie/id/eprint/9764

Actions (login required)

View Item View Item