OthelloGPT 激活空间研究:线性探针可区分三类规则违反
From States to Dynamics: Detecting Rule Violations in OthelloGPT
OthelloGPT 的可解释性研究又进了一步:线性探针能分出三类违规,用稀疏自编码器潜空间的步长还能无监督检测非法走法。做机制可解释性或世界模型研究的人可以看看这套检测方法。
arXiv 论文(编号 2611.29715)研究仅用 Othello 棋谱序列训练的 transformer OthelloGPT 是否在激活空间中体现棋类规则。作者将 Othello 规则及对应违反分为三类:R1 在空格落子、R2 未夹住对方棋子、R3 轮次错误。实验显示线性探针不仅能准确区分合法与非法走法,还能区分这三种违反类型。
研究进一步提出一种无监督检测器:基于相邻两步之间激活的步长(step length)来判断非法走法,效果高于随机水平。在此基础上,作者改用稀疏自编码器(SAE)潜空间中的步长计算,检测指标得到进一步提升。
结论是 OthelloGPT 在相当程度上内化了游戏规则,且通过对模型激活的结构化检测可以自动发现规则违反。这为序列模型世界模型的动态性质提供了探针层面的证据,也为无监督地审计模型内部状态提供了一种思路。
From States to Dynamics: Detecting Rule Violations in OthelloGPT
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.
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include OthelloGPT, sparse autoencoders, interpretability, world models.
Source attribution: curated from arXiv cs.LG (@David L. Cao, Sai Sumedh R. Hindupur, Demba Ba).