Publications

5 June 2024 | 25 min read | tags: Chess XAI

Contrastive Sparse Autoencoders for Interpreting Planning of Chess-Playing Agents

Contrastive Sparse Autoencoders for Interpreting Planning of Chess-Playing Agents

We propose contrastive sparse autoencoders (CSAE), a novel framework for studying pairs of game trajectories. Using CSAE, we are able to extract and interpret concepts that are meaningful to the chess-agent plans. We primarily focused on a qualitative analysis of the CSAE features before proposing an automated feature taxonomy. Furthermore, to evaluate the quality of our trained CSAE, we devise sanity checks to wave spurious correlations in our results.