arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.21546cs.LGcs.AI
收藏

世界模型在强化学习中学习了什么?在学习的环境模拟器中探测潜在表示

What Do World Models Learn in RL? Probing Latent Representations in Learned Environment Simulators

Anyscale

Xinyu Zhang

AI总结:

研究通过线性与非线性探针、因果干预和注意力分析,探讨了IRIS和DIAMOND两种架构的世界模型对游戏状态的内部表示,发现其具有近似线性的结构化表示。

摘要:

世界模型通过从经验中学习环境动态,使强化学习更具样本效率。但这些模型内部究竟代表了什么?我们应用可解释性技术——包括线性和非线性探针、因果干预和注意力分析——来研究两种架构不同的世界模型:IRIS(离散标记变压器)和DIAMOND(连续扩散UNet),均在Atari Breakout和Pong上训练。通过线性探针,我们发现两种模型都发展出可线性解码的游戏状态变量(物体位置、得分)的表示,MLP探针仅略微提高R²,证实这些表示近似线性。因果干预——沿探针推导的方向调整隐藏状态——产生预测的相关变化,提供证据表示被功能性使用而非仅相关。对IRIS注意力头的分析揭示了空间专业化:特定头倾向于关注与游戏对象重叠的标记。多基线标记消融实验一致发现,包含对象的标记被不成比例地重要。我们的发现提供了可解释性证据,表明学习的世界模型在两个游戏和两个架构中发展出结构化、近似线性的环境状态内部表示。

英文摘要:

World models learn to simulate environment dynamics from experience, enabling sample-efficient reinforcement learning. But what do these models actually represent internally? We apply interpretability techniques--including linear and nonlinear probing, causal interventions, and attention analysis--to two architecturally distinct world models: IRIS (discrete token transformer) and DIAMOND (continuous diffusion UNet), trained on Atari Breakout and Pong. Using linear probes, we find that both models develop linearly decodable representations of game state variables (object positions, scores), with MLP probes yielding only marginally higher R^2, confirming that these representations are approximately linear. Causal interventions--shifting hidden states along probe-derived directions--produce correlated changes in model predictions, providing evidence that representations are functionally used rather than merely correlated. Analysis of IRIS attention heads reveals spatial specialization: specific heads attend preferentially to tokens overlapping with game objects. Multi-baseline token ablation experiments consistently identify object-containing tokens as disproportionately important. Our findings provide interpretability evidence that learned world models develop structured, approximately linear internal representations of environment state across two games and two architectures.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑