Reinforcement Learning (RL) and Planning are often treated as distinct research communities, yet they both aim to solve the same fundamental problem: sequential decision-making formalized as a Markov Decision Process (MDP). In this paper, Moerland et al. introduce FRAP (Framework for Reinforcement learning and Planning), a unifying algorithmic architecture that identifies the shared dimensions of these two fields.
TL;DR
The paper presents FRAP, a conceptual framework that decomposes both Reinforcement Learning and Planning into a shared set of algorithmic dimensions. By identifying that the primary difference lies in solution coverage (local vs. global) and model access, the authors provide a "common language" to inspire cross-pollination between these traditionally siloed fields.
What Problem Does This Paper Address?
Despite solving the same underlying MDP optimization problem, RL and Planning have developed largely independent methodologies and terminologies. Planning (or search) typically assumes access to a model and focuses on finding a local solution for the current state. RL often assumes the model is unknown and focuses on learning a global solution that generalizes across all states.
The lack of a unified view makes it difficult for researchers to see how a "trick" in one field (like frontiers in planning) might relate to a concept in the other (like intrinsic motivation in RL). The authors tackle this fragmentation by disentangling the common factors in their solution approaches.
Methods
The core contribution is the Framework for Reinforcement learning and Planning (FRAP). The authors argue that any MDP optimization algorithm can be described by its choices along seven key dimensions:
- Solution Representation: Does the algorithm store a local solution (temporary, valid for a subset of states) or a global solution (permanent, valid for all states)?
- Set Root State: How does the algorithm choose the state to start its next "trial"? Options include ordered sweeps, forward sampling from a start state, or backward sampling (prioritized sweeping).
- Budget per Root: How many "trials" (sequences of actions) are performed from the root, and how deep do they go?
- Selection within a Trial: How are actions and next states chosen during a trial? This covers exploration strategies like UCB, $\epsilon$-greedy, and heuristics.
- Bootstrap: How does the algorithm estimate the value of a leaf node? (e.g., using a learned value function or a heuristic).
- Back-up: How is information from the trial propagated back to the root? This includes distinctions between on-policy/off-policy and sample/expected backups.
- Update: How is the solution actually modified? The authors show that even planning updates (like replacing a value in a tree) can be viewed as gradient descent updates with specific learning rates.
The authors categorize the relationship between the fields based on two primary factors: the presence of a model and the coverage of the solution, as illustrated in Table 1:
Datasets
Not discussed in the paper. As a theoretical framework and synthesis of existing literature, the paper does not introduce new datasets or benchmarks. Instead, it analyzes a wide range of existing, well-known algorithms (e.g., Q-learning, MCTS, AlphaZero, A*) through the lens of FRAP.
Key Insights and Ideas
- The Local vs. Global Divide: The most fundamental distinction between Planning and RL is not just the "model," but the coverage of the solution. Planning builds local, temporary solutions; RL builds global, permanent ones. Model-based RL bridges this by using a model to update a global solution.
- Model Access Dictates Strategy: The type of access to the MDP dynamics (Reversible vs. Irreversible and Descriptive vs. Generative) determines which algorithmic choices are even possible. For example, you cannot perform an "expected" backup if you only have generative (sample-based) access to the environment.
- Conceptual Overlap: Many seemingly different concepts are actually two sides of the same coin. For instance, Frontiers in planning (tracking the edge of the explored search tree) serve the same purpose as Intrinsic Motivation in RL (driving the agent toward novel states).
- Planning as Learning: The authors demonstrate that planning updates on a tree can be mathematically written as tabular learning updates. For example, a standard "replace" update in a search tree is just a learning update with a learning rate $\eta = 1.0$.
Key Results
The primary "result" is a comprehensive comparison table (Table 7 in the paper) that maps famous algorithms onto the FRAP dimensions. This table reveals that:
- MCTS and REINFORCE share identical depth and back-up schemes but differ in solution coverage and exploration.
- AlphaZero is a sophisticated hybrid, using a local solution (MCTS) to update a global solution (Neural Network) via a cross-entropy loss.
- The framework successfully accommodates everything from classical Value Iteration to modern deep RL like DQN and Go-Explore.
Limitations and Future Work
- Scope: The framework currently focuses on single-agent MDPs. It excludes multi-agent settings, non-MDP planning (like "planning as satisfiability"), and black-box optimization methods (like evolutionary algorithms) that don't exploit MDP-specific structures.
- Reverse Models: The authors note that backward search (prioritized sweeping) is under-explored in complex environments due to the difficulty of learning a reverse model ($s, a \to s'$). They suggest this as a major area for future research.
- Approximate Frontiers: While planning uses tabular frontiers effectively, scaling this to high-dimensional spaces remains a challenge. Combining global approximate representations with frontier-based exploration is a promising direction.
Summary updated