Abstract
Standard model-based reinforcement learning (RL) suffers from "compounding errors," where tiny inaccuracies in a one-step model snowball when projected into the future. This paper introduces the Multi-step Model ($M^3$), which learns to predict the outcome of action sequences directly from the current state. By bypassing the recursive feedback loop of traditional models, $M^3$ structurally eliminates compounding errors and significantly improves planning and value estimation.
Introduction: The Compounding-Error Problem
In model-based RL, an agent learns a transition model—a simulator of the environment—to plan its future actions. Traditionally, these are one-step models: given state $s$ and action $a$, they predict the next state $s'$. To look $H$ steps ahead, the agent feeds the predicted $s'$ back into the model as a "real" input.
Because no model is perfect, a small error in the first prediction creates a "fake" state that the model was never trained on. When this fake state is used to predict the next step, the error grows. By step 10 or 20, the agent is often "hallucinating" a reality that bears no resemblance to the actual environment. This compounding-error problem makes long-term planning unreliable and is a major hurdle for sample-efficient RL.
Methods: The Multi-step Model ($M^3$)
The authors propose the Multi-step Model ($M^3$), which consists of a set of $H$ different functions. Instead of recursing a single model, the agent learns a sequence of predictors: $\hat{T}_1(s, a_1) \to s_2$, $\hat{T}_2(s, a_1, a_2) \to s_3$, and so on up to $\hat{T}_H(s, a_1, \dots, a_H) \to s_{H+1}$.
The Key Innovation: During a "rollout" (simulating a sequence of events), the agent always uses the original, real starting state as the input for every model in the sequence. Because the model never "consumes its own tail" (feeding predicted states back as inputs for transitions), the compounding error is structurally eliminated. While the predicted state is still used to query the policy for the next action, it is decoupled from the state transition input.
Theoretical and Empirical Analysis
The paper provides several key theoretical insights:
- Theoretical Bounds: The value-function error bound for $M^3$ is tighter than that of one-step models, specifically removing a linear factor of the horizon $H$.
- Rademacher Complexity: Learning these multi-step functions isn't significantly harder than learning a one-step model in terms of sample complexity.
- Stochastic Extension: An Expectation-Maximization (EM) approach allows the model to handle environments with multiple possible outcomes (modes), such as the random movement of ghosts in Mini-Pacman.
Key Results
The researchers evaluated $M^3$ on standard benchmarks including OpenAI Gym's Cart Pole, Acrobot, and Lunar Lander.
As shown in the figure above, $M^3$ (red) maintains high performance even as the planning horizon $h$ increases. In contrast, one-step models (blue and black) suffer from catastrophic performance drops due to compounding errors. Key findings include:
- Lower Transition Error: On Lunar Lander, $M^3$ maintained significantly lower state-prediction error over long horizons.
- Superior Planning: In both "Background Planning" (training a value function) and "Decision-time Planning" (tree search), $M^3$ consistently matched or outperformed one-step models.
- Robustness to Stochasticity: The EM-based version successfully captured multimodal distributions where deterministic models failed.
Limitations and Future Work
While $M^3$ is highly effective, training $H$ separate networks (or one large multi-headed network) increases memory and compute requirements. However, the authors found that total runtime was often less than double that of a one-step model because planning—not training—is frequently the bottleneck. Future directions include scaling to high-dimensional stochastic spaces and exploring ensemble paths (e.g., averaging an 8-step jump with multiple 2-step jumps) to further reduce error.
Summary updated