cs.LGNov 22, 2026

From States to Dynamics: Detecting Rule Violations in OthelloGPT

Authors: David L. Cao, Sai Sumedh R. Hindupur, Demba Ba

Organizations: Harvard College, Harvard University, Cambridge, MA 02138 · School of Engineering and Applied Sciences, Harvard University, Cambridge, MA 02138 · School of Engineering and Applied Sciences, Kempner Institute, Harvard University, Cambridge, MA 02138

Abstract

Sequence models trained on game moves have been shown to encode world models, with structured linear probes revealing the underlying game states. World models, however, are inherently dynamic: in deterministic board games, a set of rules constrain how states evolve over time. We therefore ask if and how OthelloGPT, a transformer trained only on Othello move sequences, manifests the rules of the game in its activation space. We divide the rules of Othello, and symmetrically their violations, into three classes: placing a disc on an empty square (R1), flanking an opponent's disc (R2), and moving in turn (R3). We find that linear probes accurately separate legal from illegal moves, and also distinguish between the three kinds of rule violations. We introduce an unsupervised rule-violation detector based on the step length of activations between consecutive moves, which identifies illegal moves above chance. We further improve our detection metric by computing step length in the latent space of select sparse autoencoders. Together, we find that OthelloGPT follows game rules of Othello to a large extent, and that we can detect rule violations using structured detectors on model activations.

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. MetaOthello: A Controlled Study of Multiple World Models in Transformers

    Feb 26, 2026Aviral Chawla, Galen Hall, Juniper LovatoTransformer InterpretabilityWorld Model Learning

  2. Chess-World-Model: A 10M-Game Benchmark for Exact State Tracking from Chess Move Sequences

    May 28, 2026Benjamin Walker, Terry LyonsRecurrent Neural NetworksState Tracking

  3. Tensor Product Representation Probes Reveal Shared Structure Across Linear Directions

    May 11, 2026Andrew Lee, Fernanda Viégas, Martin WattenbergTransformer InterpretabilityNeural Representation Geometry