Abstract
Recent advancements in large language models (LLMs) have sparked debate over whether these systems are merely "stochastic parrots" or if they develop genuine internal world models. Previous research on OthelloGPT—a transformer trained on Othello move sequences—suggested that while it tracks board states, these representations are fundamentally non-linear. This paper challenges that conclusion, demonstrating that OthelloGPT's world model is represented linearly within its internal activations when analyzed using a relative coordinate system (MINE vs. YOURS). We further show that these linear representations are causal, enabling direct manipulation of model behavior through simple vector addition.
Introduction
The Linear Representation Hypothesis posits that neural networks represent high-level features as simple directions in activation space. If true, this simplifies the interpretability and control of complex models. However, initial studies of OthelloGPT (Li et al., 2023a) found that extracting board states required complex, multi-layer non-linear probes, suggesting a blow to the hypothesis. We revisit this finding, hypothesizing that the perceived non-linearity was a result of using an absolute coordinate system (Black vs. White) rather than the model's internal relative frame of reference.
Methodology
To investigate the linearity of OthelloGPT's internal state, we utilized a dataset of 60,000 synthetic Othello games. Our approach centered on Relative Probing, where linear probes were trained to identify tile states relative to the current player (Mine, Yours, or Empty).
Beyond observation, we employed Linear Interventions to establish causality. By adding the vectors derived from our linear probes directly into the model's residual stream, we attempted to "steer" the model's internal belief about the board state. For instance, adding a "Mine" vector to a specific tile's activation should, if the representation is linear and causal, lead the model to predict moves as if that tile were occupied by the current player.
Results and Discussion
Our results strongly support the Linear Representation Hypothesis. Linear probes using the relative frame achieved approximately 99% accuracy by the fourth layer, a significant improvement over the ~75% accuracy seen with absolute color probes. This suggests the model's internal logic is centered on the current player's perspective.
The causal interventions were remarkably successful. By "flipping" or "erasing" tiles in the model's internal representation, we achieved near-perfect control over predicted legal moves. The error rate for predicted legal moves dropped to 0.10 for flipping and 0.02 for erasing, matching or exceeding the performance of complex non-linear intervention methods.
Furthermore, we identified a "MoveFirst" phenomenon in the endgame, where the model predicts moves before fully reconstructing the board, suggesting the emergence of specialized shortcut circuits. Mechanistic analysis of Layer 0 attention heads revealed a high negative cosine similarity (-0.862) between move embeddings and the "EMPTY" direction, providing a clear explanation for how the model tracks occupied tiles.
Conclusion
This study demonstrates that sophisticated world models can emerge linearly in self-supervised sequence models. The key to uncovering this linearity lies in identifying the model's internal frame of reference. While Othello provides a constrained environment, these findings suggest that linear representations may be a more general feature of neural network training than previously thought. Future research should explore whether similar linear structures exist for more abstract concepts in natural language processing.
Summary updated