Towards Piece-by-Piece Explanations for Chess Positions with SHAP. Spinnato, F. In Proceedings of AI4HGI 2025, the First Workshop on Artificial Intelligence for Human-Game Interaction at the 28th European Conference on Artificial Intelligence (ECAI 2025), 2025.
Paper abstract bibtex Contemporary chess engines offer precise yet opaque evaluations, typically expressed as centipawn scores. While effective for decision-making, these outputs obscure the underlying contributions of individual pieces or patterns. In this paper, we explore adapting SHAP (SHapley Additive exPlanations) to the domain of chess analysis, aiming to attribute a chess engines evaluation to specific pieces on the board. By treating pieces as features and systematically ablating them, we compute additive, per-piece contributions that explain the engines output in a locally faithful and human-interpretable manner. This method draws inspiration from classical chess pedagogy, where players assess positions by mentally removing pieces, and grounds it in modern explainable AI techniques. Our approach opens new possibilities for visualization, human training, and engine comparison. We release accompanying code and data to foster future research in interpretable chess AI.
@inproceedings{spinnato:2025:towards-piece-by-piece-explanations-for-chess-positions-with-shap,
title = {Towards Piece-by-Piece Explanations for Chess Positions with {SHAP}},
author = {Spinnato, Francesco},
year = {2025},
booktitle = {Proceedings of AI4HGI 2025, the First Workshop on Artificial Intelligence for Human-Game Interaction at the 28th European Conference on Artificial Intelligence (ECAI 2025)},
url = {https://ai4hgi.github.io/paper13.pdf},
abstract = {Contemporary chess engines offer precise yet opaque evaluations, typically expressed as centipawn scores. While effective for decision-making, these outputs obscure the underlying contributions of individual pieces or patterns. In this paper, we explore adapting SHAP (SHapley Additive exPlanations) to the domain of chess analysis, aiming to attribute a chess engines evaluation to specific pieces on the board. By treating pieces as features and systematically ablating them, we compute additive, per-piece contributions that explain the engines output in a locally faithful and human-interpretable manner. This method draws inspiration from classical chess pedagogy, where players assess positions by mentally removing pieces, and grounds it in modern explainable AI techniques. Our approach opens new possibilities for visualization, human training, and engine comparison. We release accompanying code and data to foster future research in interpretable chess AI.},
keywords = {chess, explainable AI, shap},
affiliation = {University of Pisa},
code = {https://github.com/fspinna/chessplainer},
}
Downloads: 0
{"_id":"LjLdoJAQs2H5t5wac","bibbaseid":"spinnato-towardspiecebypieceexplanationsforchesspositionswithshap-2025","author_short":["Spinnato, F."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","title":"Towards Piece-by-Piece Explanations for Chess Positions with SHAP","author":[{"propositions":[],"lastnames":["Spinnato"],"firstnames":["Francesco"],"suffixes":[]}],"year":"2025","booktitle":"Proceedings of AI4HGI 2025, the First Workshop on Artificial Intelligence for Human-Game Interaction at the 28th European Conference on Artificial Intelligence (ECAI 2025)","url":"https://ai4hgi.github.io/paper13.pdf","abstract":"Contemporary chess engines offer precise yet opaque evaluations, typically expressed as centipawn scores. While effective for decision-making, these outputs obscure the underlying contributions of individual pieces or patterns. In this paper, we explore adapting SHAP (SHapley Additive exPlanations) to the domain of chess analysis, aiming to attribute a chess engines evaluation to specific pieces on the board. By treating pieces as features and systematically ablating them, we compute additive, per-piece contributions that explain the engines output in a locally faithful and human-interpretable manner. This method draws inspiration from classical chess pedagogy, where players assess positions by mentally removing pieces, and grounds it in modern explainable AI techniques. Our approach opens new possibilities for visualization, human training, and engine comparison. We release accompanying code and data to foster future research in interpretable chess AI.","keywords":"chess, explainable AI, shap","affiliation":"University of Pisa","code":"https://github.com/fspinna/chessplainer","bibtex":"@inproceedings{spinnato:2025:towards-piece-by-piece-explanations-for-chess-positions-with-shap,\n title = {Towards Piece-by-Piece Explanations for Chess Positions with {SHAP}},\n author = {Spinnato, Francesco},\n year = {2025},\n booktitle = {Proceedings of AI4HGI 2025, the First Workshop on Artificial Intelligence for Human-Game Interaction at the 28th European Conference on Artificial Intelligence (ECAI 2025)},\n url = {https://ai4hgi.github.io/paper13.pdf},\n abstract = {Contemporary chess engines offer precise yet opaque evaluations, typically expressed as centipawn scores. While effective for decision-making, these outputs obscure the underlying contributions of individual pieces or patterns. In this paper, we explore adapting SHAP (SHapley Additive exPlanations) to the domain of chess analysis, aiming to attribute a chess engines evaluation to specific pieces on the board. By treating pieces as features and systematically ablating them, we compute additive, per-piece contributions that explain the engines output in a locally faithful and human-interpretable manner. This method draws inspiration from classical chess pedagogy, where players assess positions by mentally removing pieces, and grounds it in modern explainable AI techniques. Our approach opens new possibilities for visualization, human training, and engine comparison. We release accompanying code and data to foster future research in interpretable chess AI.},\n keywords = {chess, explainable AI, shap},\n affiliation = {University of Pisa},\n code = {https://github.com/fspinna/chessplainer},\n}\n\n","author_short":["Spinnato, F."],"key":"spinnato:2025:towards-piece-by-piece-explanations-for-chess-positions-with-shap","id":"spinnato:2025:towards-piece-by-piece-explanations-for-chess-positions-with-shap","bibbaseid":"spinnato-towardspiecebypieceexplanationsforchesspositionswithshap-2025","role":"author","urls":{"Paper":"https://ai4hgi.github.io/paper13.pdf"},"keyword":["chess","explainable AI","shap"],"metadata":{"authorlinks":{}}},"bibtype":"inproceedings","biburl":"https://raw.githubusercontent.com/lichess-org/papers/main/lichess.bib","dataSources":["shB3Z7oaBcgBmet5C"],"keywords":["chess","explainable ai","shap"],"search_terms":["towards","piece","piece","explanations","chess","positions","shap","spinnato"],"title":"Towards Piece-by-Piece Explanations for Chess Positions with SHAP","year":2025}