mlsanityData to 14 Oct 2026

Path Channels and Plan Extension Kernels: a Mechanistic Description of Planning in a Sokoban RNN

arXiv 2506.10138 ↗First posted 11 Jun 2025cs.LG cs.AIcited by 4

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

  1. 2024Predicting Future Actions of Reinforcement Learning Agents29 Oct

Other references · 36

  1. 2019Mastering Atari, Go, Chess and Shogi by Planning with a Learned Modelcited by 1,353
  2. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
  3. 2018IMPALA: Scalable Distributed Deep-RL with Importance Weighted Actor-Learner Architecturescited by 883
  4. 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
  5. 2024Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Modelscited by 435
  6. 2022Emergent World Representations: Exploring a Sequence Model Trained on a Synthetic Taskcited by 431
  7. 2021Causal Abstractions of Neural Networkscited by 422
  8. 2023Emergent Linear Representations in World Models of Self-Supervised Sequence Modelscited by 319
  9. 2019Risks from Learned Optimization in Advanced Machine Learning Systemscited by 258
  10. 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 202
  11. 2024Transcoders Find Interpretable LLM Feature Circuitscited by 200
  12. 2023The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networkscited by 156
24 more
  1. 2023A Toy Model of Universality: Reverse Engineering How Networks Learn Group Operationscited by 144
  2. 2017Imagination-Augmented Agents for Deep Reinforcement Learningcited by 140
  3. 2022Goal Misgeneralization: Why Correct Specifications Aren't Enough For Correct Goalscited by 126
  4. 2021Goal Misgeneralization in Deep Reinforcement Learningcited by 123
  5. 2021Acquisition of Chess Knowledge in AlphaZerocited by 123
  6. 2023Future Lens: Anticipating Subsequent Tokens from a Single Hidden Statecited by 121
  7. 2023Uncovering mesa-optimization algorithms in Transformerscited by 100
  8. 2025Auditing language models for hidden objectivescited by 83
  9. 2019An investigation of model-free planningcited by 66
  10. 2024Emergent World Models and Latent Variable Estimation in Chess-Playing Language Modelscited by 62
  11. 2020On the role of planning in model-based deep reinforcement learningcited by 57
  12. 2024A Mechanistic Analysis of a Transformer Trained on a Symbolic Multi-Step Reasoning Taskcited by 49
  13. 2023Bridging the Human-AI Knowledge Gap: Concept Discovery and Transfer in AlphaZerocited by 42
  14. 2024Pre-trained Large Language Models Use Fourier Features to Compute Additioncited by 39
  15. 2023Understanding Addition in Transformerscited by 34
  16. 2024Evidence of Learned Look-Ahead in a Chess-Playing Neural Networkcited by 34
  17. 2023Emergence of Maps in the Memories of Blind Navigation Agentscited by 33
  18. 2023Understanding and Controlling a Maze-Solving Policy Networkcited by 22
  19. 2024Unlocking the Future: Exploring Look-Ahead Planning Mechanistic Interpretability in Large Language Modelscited by 22
  20. 2024Compact Proofs of Model Performance via Mechanistic Interpretabilitycited by 18
  21. 2024Planning in a recurrent neural network that plays Sokobancited by 18
  22. 2025Interpreting Emergent Planning in Model-Free Reinforcement Learningcited by 15
  23. 2024On Logical Extrapolation for Mazes with Recurrent and Implicit Networkscited by 7
  24. 2024Modular addition without black-boxes: Compressing explanations of MLPs that compute numerical integrationcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Exploration Behavior of Untrained Policies
  2. 2026Investigating Action Encodings in Recurrent Neural Networks in Reinforcement Learning
  3. 2024Deceptive Path Planning via Reinforcement Learning with Graph Neural Networks
  4. 2026Flow Policies as Actions of Skill-Level World Models: Learned and Symbolic Abstractions for Long-Horizon Planning
  5. 2018Learning Human-Aware Path Planning with Fully Convolutional Networks
  6. 2015On Learning to Think: Algorithmic Information Theory for Novel Combinations of Reinforcement Learning Controllers and Recurrent Neural World Models
  7. 2023Backward Learning for Goal-Conditioned Policies
  8. 2022Active Predictive Coding: A Unified Neural Framework for Learning Hierarchical World Models for Perception and Planning