Towards Piece-by-Piece Explanations for Chess Positions with SHAP

Francesco Spinnato
10/26/2025
cs.AIcs.LG

No confident code implementation found for this paper.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{spinnato2025towards,
  title  = {Towards Piece-by-Piece Explanations for Chess Positions with SHAP},
  author = {Francesco Spinnato},
  year   = {2025},
  eprint = {2510.25775},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.25775v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.25775.svg)](https://codeofpaper.com/paper/2510.25775)

Discussion