Abstract
Traditional reinforcement learning (RL) distinguishes between model-based planning and model-free reactive policies. This work challenges this dichotomy by investigating whether a sufficiently flexible, general-purpose recurrent neural network can learn to plan internally without an explicit environment model. We introduce the Deep Repeated ConvLSTM (DRC), an architecture that uses depth and repetition to perform iterative computation. Our results demonstrate that DRC exhibits behavioral hallmarks of planning—such as generalization to novel, complex layouts and performance gains from additional "thinking time"—and achieves state-of-the-art performance on challenging combinatorial puzzles like Sokoban.
Introduction
In RL, planning typically involves a known or learned world model used by algorithms like Tree Search to evaluate future states. While effective, model-based RL is difficult to scale to high-dimensional environments where learning a perfect simulator is non-trivial. Previous attempts to bridge this gap involved "model-free planning" architectures with strong inductive biases designed to mimic specific planning algorithms. This paper investigates whether these specialized biases are necessary, or if a high-capacity, general-purpose network can learn its own internal planning mechanisms purely through model-free training.
Methods: The Deep Repeated ConvLSTM (DRC)
The authors propose the Deep Repeated ConvLSTM (DRC), a general-purpose architecture designed for iterative spatial computation. Unlike specialized planning modules, DRC relies on three architectural pillars:
- Depth ($D$): Stacking multiple ConvLSTM layers allows for hierarchical feature representation.
- Repetition ($N$): The network is "ticked" $N$ times for every environment step, enabling the agent to perform iterative computation (or "thinking") before selecting an action.
- Connectivity: The model incorporates "pool-and-inject" layers to facilitate rapid information flow across the grid, along with skip connections and spatial padding.
The agent is trained using IMPALA, a distributed actor-critic framework, allowing it to scale across massive amounts of parallel experience.
Datasets and Evaluation
The DRC agent was evaluated on several procedurally generated domains where planning is essential:
- Sokoban: A classic box-pushing puzzle. The authors introduced the Boxoban dataset, a large-scale collection of levels.
- Boxworld: A relational reasoning task involving keys and colored boxes.
- Gridworld: A standard pathfinding benchmark.
- Atari 2600: Five planning-intensive games (e.g., Ms. Pac-Man) to test performance on rich sensory inputs.
Key Insights
Planning as an Emergent Property
The researchers argue for defining "planning" by its behavioral characteristics—data efficiency, generalization, and scaling with computation—rather than its internal mechanism. Under this definition, the DRC agent demonstrates clear planning behavior.
The "Thinking Time" Test
A key finding is that a pre-trained DRC agent performs better when given "no-op" steps at the start of a level. This forced delay allows the network to cycle its internal states without moving, effectively performing "mental simulation" or iterative refinement of its strategy.
Flexibility vs. Inductive Bias
While specialized models like Value Iteration Networks (VIN) may show faster initial learning, the general-purpose DRC eventually surpasses them. This suggests that the DRC learns a "custom" planning algorithm optimized for the specific environment, rather than being constrained by a fixed mathematical form.
Key Results
The DRC architecture significantly outperformed previous state-of-the-art models on complex tasks. On Sokoban, the DRC(3,3) variant solved 99% of test levels, compared to 84% for Imagination-Augmented Agents (I2A) and 56% for VIN.
Furthermore, DRC showed superior generalization. Even when trained on a limited set of 1,000 levels, it maintained a much smaller performance gap on unseen levels compared to non-recurrent or smaller models.
Limitations and Future Work
Despite its success, the DRC approach has limitations. As an "implicit" planner, its internal logic is a black box, making it difficult to interpret the specific future states it considers. Additionally, the computational cost of repeated ConvLSTM ticks is higher than standard feed-forward networks. Future work may explore how this implicit planning scales to 3D environments or continuous control tasks.
Summary updated