From States to Dynamics: Detecting Rule Violations in OthelloGPT
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.
Create a lesson
Related papers
Hybrid state-space and attention neural operators for nonlinear structural dynamics under environmental loading
Shared title terminology · Anastasios Stamou, Rui Teixeira, Maria Nogal et al.
State of Mind: Learning and Evaluating World Models of Naturalistic Brain Dynamics
Shared title terminology · Yuxiang Wei, Zundong Wu, Weiyu Sun et al.
Learning Acceptable Lotteries via Queries: Minimizing Aggregated Violation Distances
Shared title terminology · Nicholas Teh, Paul W. Goldberg
CoHABIT: Complementary Evaluation of Furniture Layouts through Spatial Rules and Household Routines
Shared title terminology · Ewsey Obzherin, Samira Atlangirieva, Anastasia Antsiferova et al.
OnCache: Learning Dynamic Caching Schedules for Efficient Diffusion Inference
Shared title terminology · Zhikang Xie, Xichen Ye, Yifan Wu et al.
Dynamic Model Merging with Multi-Layer Aggregated Routing Evidence
Shared title terminology · Yuxi Li, Jiacong Hu, Jie Song et al.