Mechanistic Interpretability of Small-Scale Language Models: Unveiling Decision-Making in Structured Games
- Authors
-
-
Aditya Teja Bhimavarapu
Author
-
- Keywords:
- Mechanistic Interpretability, Transformer circuits, Small language models, Tic-Tac-Toe, Next-token prediction, Neuron ablation
- Abstract
-
Understanding how language models make decisions in structured environments provides valuable insights into their reasoning processes and limitations. In this study, we introduce a novel framework for analyzing the internal mechanics of small-scale language models trained to play structured games, using Tic-Tac-Toe as a case study. By exploring how models represent game states, predict optimal moves, and handle symmetries, we uncover the role of token embeddings, attention patterns, and hidden states in driving model behavior. Our findings highlight the emergence of implicit rule-based reasoning and reveal surprising failure cases, such as the incomplete representation of symmetries. This work not only contributes to mechanistic interpretability but also offers actionable insights for improving decision-making systems in task-specific AI applications, such as code generation and strategy optimization. The results pave the way for developing more robust and explainable AI copilots capable of handling complex, real-world challenges.
- References
- Downloads
- Published
- 2026-11-30
- Issue
- Vol. 1 No. 3 (2026)
- Section
- Articles