Driving · 2026-11-24

From States to Dynamics: Detecting Rule Violations in OthelloGPT

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

arXiv:2611.29715PDFCode

AI-assisted summary based on the paper. Consult the linked source for methods and limitations. Benchmark numbers appear after editor verification.

TL;DR

The authors study OthelloGPT, a transformer trained on Othello move sequences, to see whether it encodes Othello’s rule-constrained dynamics. They define three illegal-move classes (R1 empty-only, R2 flanking, R3 turn) and show linear probes decode legal/illegal moves and violation types. They introduce an unsupervised step-length activation detector (also improved with select SAE latents) that identifies illegal moves above chance.

Why it matters

The paper tests whether a sequence model not only represents states (readable via probes) but also reflects rule-governed dynamics and allows detection of rule violations from internal activations, including an unsupervised detector and optional SAE latent spaces.

Method

  • Train linear probes on OthelloGPT residual-stream activations (after layer 5) to classify legal vs illegal moves and the three illegal-rule classes R1, R2, R3.
  • Introduce an unsupervised rule-violation detector: standardize the step length between consecutive residual activations, compute a moving-average metric S_t over a window around each move, and use it to detect violations above chance.
  • Compute the same step-length-based metric in latent spaces of select sparse autoencoders, with GatedSAE giving the best improvement.

Limitation

First, while their detector detects illegal moves, they report significant overlap between the step length of legal and illegal moves. Second, they note they defer causal claims to future work, since they observe step length correlated with illegal moves but do not establish that activations can be perturbed to produce specific violations.

Abstract (from arXiv)

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.

Related papers

Publication record

Bibliographic evidence describes where and when a record appeared. It does not validate scientific claims.

First announced by arXiv: 2026-11-24 · Indexed by Pub-AI: 2026-11-24 UTC

preprint

From States to Dynamics: Detecting Rule Violations in OthelloGPT

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

First announced by arXiv: 2026-11-24 · Original record ↗

arxiv
2611.29715
Explicit source versions (1)
  • v1 · Date not supplied
  1. Preprint available

    Source date: 2026-11-24 · First detected: 2026-11-24 UTC · Historical baseline

    Source evidence (1)
    • Official evidence ↗ · RSS guid=oai:arXiv.org:2611.29715v1; arxiv:announce_type=new; item pubDate (official metadata)
Abstract · arxiv

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.