Path Channels and Plan Extension Kernels: a Mechanistic Description of Planning in a Sokoban RNN
On the map: Deep reinforcement learning methods → Deep RL algorithms and representations
Abstract (arXiv)
We partially reverse-engineer a convolutional recurrent neural network (RNN) trained with model-free reinforcement learning to play the box-pushing game Sokoban. We find that the RNN stores future moves (plans) as activations in particular channels of the hidden state, which we call path channels. A high activation in a particular location means that, when a box is in that location, it will get pushed in the channel's assigned direction. We examine the convolutional kernels between path channels and find that they encode the change in position resulting from each possible action, thus representing part of a learned transition model. The RNN constructs plans by starting at the boxes and goals. These kernels extend activations in path channels forwards from boxes and backwards from the goal. Negative values are placed in channels at obstacles. This causes the extension kernels to propagate the negative value in reverse, thus pruning the last few steps and letting an alternative plan emerge; a form of backtracking. Our work shows that, a precise understanding of the plan representation allows us to directly understand the bidirectional planning-like algorithm learned by model-free training in more familiar terms.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Deep RL algorithms and representations, one of 15 directions in Deep reinforcement learning methods. Builds on 37 of its 56 references that are in the map. First posted on arXiv 11 Jun 2025.
Builds on
37 of 56 references.
Closest ancestors · 1
Same direction, newest first
Other references · 36
- 2019Mastering Atari, Go, Chess and Shogi by Planning with a Learned Modelcited by 1,353
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
- 2018IMPALA: Scalable Distributed Deep-RL with Importance Weighted Actor-Learner Architecturescited by 883
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
- 2024Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Modelscited by 435
- 2022Emergent World Representations: Exploring a Sequence Model Trained on a Synthetic Taskcited by 431
- 2021Causal Abstractions of Neural Networkscited by 422
- 2023Emergent Linear Representations in World Models of Self-Supervised Sequence Modelscited by 319
- 2019Risks from Learned Optimization in Advanced Machine Learning Systemscited by 258
- 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 202
- 2024Transcoders Find Interpretable LLM Feature Circuitscited by 200
- 2023The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networkscited by 156
24 more
- 2023A Toy Model of Universality: Reverse Engineering How Networks Learn Group Operationscited by 144
- 2017Imagination-Augmented Agents for Deep Reinforcement Learningcited by 140
- 2022Goal Misgeneralization: Why Correct Specifications Aren't Enough For Correct Goalscited by 126
- 2021Goal Misgeneralization in Deep Reinforcement Learningcited by 123
- 2021Acquisition of Chess Knowledge in AlphaZerocited by 123
- 2023Future Lens: Anticipating Subsequent Tokens from a Single Hidden Statecited by 121
- 2023Uncovering mesa-optimization algorithms in Transformerscited by 100
- 2025Auditing language models for hidden objectivescited by 83
- 2019An investigation of model-free planningcited by 66
- 2024Emergent World Models and Latent Variable Estimation in Chess-Playing Language Modelscited by 62
- 2020On the role of planning in model-based deep reinforcement learningcited by 57
- 2024A Mechanistic Analysis of a Transformer Trained on a Symbolic Multi-Step Reasoning Taskcited by 49
- 2023Bridging the Human-AI Knowledge Gap: Concept Discovery and Transfer in AlphaZerocited by 42
- 2024Pre-trained Large Language Models Use Fourier Features to Compute Additioncited by 39
- 2023Understanding Addition in Transformerscited by 34
- 2024Evidence of Learned Look-Ahead in a Chess-Playing Neural Networkcited by 34
- 2023Emergence of Maps in the Memories of Blind Navigation Agentscited by 33
- 2023Understanding and Controlling a Maze-Solving Policy Networkcited by 22
- 2024Unlocking the Future: Exploring Look-Ahead Planning Mechanistic Interpretability in Large Language Modelscited by 22
- 2024Compact Proofs of Model Performance via Mechanistic Interpretabilitycited by 18
- 2024Planning in a recurrent neural network that plays Sokobancited by 18
- 2025Interpreting Emergent Planning in Model-Free Reinforcement Learningcited by 15
- 2024On Logical Extrapolation for Mazes with Recurrent and Implicit Networkscited by 7
- 2024Modular addition without black-boxes: Compressing explanations of MLPs that compute numerical integrationcited by 3
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026What Is the Minimum Architecture for Prolepsis? Early Irrevocable Commitment Across Tasks in Small Transformerscited by 1
- 2026Planning as Emergent Behavior in Reinforcement Learning with Relational Hidden Statescited by 1
- 2026Structure and Scale in Simplicial Sequence Modellingcited by 0
- 2026Understanding Decision-Making Mechanisms in Neural Routing Solverscited by 0
- 2026Understanding Decision-Making Mechanisms in Neural Routing Solvers28 Sep 2026
- 2026Planning as Emergent Behavior in Reinforcement Learning with Relational Hidden States20 Jul 2026
- 2026Structure and Scale in Simplicial Sequence Modelling31 May 2026
- 2026What Is the Minimum Architecture for Prolepsis? Early Irrevocable Commitment Across Tasks in Small Transformers16 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2025Exploration Behavior of Untrained Policies
- 2026Investigating Action Encodings in Recurrent Neural Networks in Reinforcement Learning
- 2024Deceptive Path Planning via Reinforcement Learning with Graph Neural Networks
- 2026Flow Policies as Actions of Skill-Level World Models: Learned and Symbolic Abstractions for Long-Horizon Planning
- 2018Learning Human-Aware Path Planning with Fully Convolutional Networks
- 2015On Learning to Think: Algorithmic Information Theory for Novel Combinations of Reinforcement Learning Controllers and Recurrent Neural World Models
- 2023Backward Learning for Goal-Conditioned Policies
- 2022Active Predictive Coding: A Unified Neural Framework for Learning Hierarchical World Models for Perception and Planning