In reinforcement learning (RL) theory, there is a massive divide between the environments we analyze mathematically and the environments our agents actually inhabit.
For years, the gold standard for proving that an RL algorithm was "optimal" relied on a powerful mathematical superpower: the generative model assumption. A generative model is essentially a simulator with a teleportation button. At any moment, an algorithm can query the simulator with any arbitrary state-action pair $(s, a)$, and the simulator will instantly return the reward and the next state $s'$.
This assumption completely bypasses the hardest problem in reinforcement learning: exploration. If you want to know what happens in a dangerous, hard-to-reach corner of the state space, you don't need to figure out a complex sequence of actions to navigate there. You simply teleport there and take a sample.
While this abstraction has yielded beautiful theoretical guarantees, a major push in recent RL research focuses on escaping this crutch. Understanding why the generative model works—and exactly why algorithms break when we take it away—is central to bridging the gap between theory and real-world online interaction.
The Power of the Teleportation Oracle
To understand why the generative model assumption is so popular, we have to look at how it simplifies statistical estimation.
In a standard Markov Decision Process (MDP), the core challenge is estimating the value functions or transition probabilities uniformly well. If an agent can query any state-action pair at will, it can distribute its data collection perfectly across the environment.
Mohammad Gheshlaghi Azar et al. leveraged this exact mechanism in On the Sample Complexity of Reinforcement Learning with a Generative Model and Minimax PAC bounds on the sample complexity of reinforcement learning with a generative model. By uniformly sampling the state-action space, the authors proved the first minimax-optimal sample complexity bounds for value iteration, showing exactly how many samples are needed to find a near-perfect policy when exploration is factored out.
Building on this, Aaron Sidford et al. introduced Variance-Reduced Q-Value Iteration (vQVI) in Near-Optimal Time and Sample Complexities for Solving Markov Decision Processes with a Generative Model. Because the algorithm could query arbitrary states, it could systematically apply variance-reduction techniques to achieve the theoretical "speed limit" for solving discounted infinite-horizon MDPs, optimizing both time and sample efficiency simultaneously.
The Exponential Wall of Sequential Navigation
What happens when we turn off the simulator and force the agent to learn from a single, continuous trajectory? The environment's natural transition dynamics suddenly become a cage. If an agent wants to sample state $S_{100}$, it must first successfully navigate through states $S_1$ to $S_{99}$.
This constraint changes the fundamental complexity of the problem. It is not just a matter of needing a few more samples; it can create an unbridgeable mathematical gulf.
Generative Model Setting (Teleportation):
[Algorithm] --(Direct Query)--> [Any State S]
Online Sequential Setting (Navigation):
[Start State] --> [S1] --> [S2] --> ... --> [Target State S]
^
Stochastic Transitions
Yuanhao Wang et al. proved this stark reality in An Exponential Lower Bound for Linearly Realizable MDP with Constant Suboptimality Gap. They demonstrated a fundamental exponential separation in sample complexity between the two settings. Even if an environment has a clean, linear structure and a clear gap between the best and second-best actions—conditions that make the problem trivial under a generative model—an online agent can still face an exponential complexity wall because its exploration is constrained by stochastic transitions.
Rémy Degenne further unpacks this in Finding good policies in average-reward Markov Decision Processes without prior knowledge, showing that online sample complexity inevitably scales quadratically with the environment's diameter or bias span. Without the ability to jump across states, the agent spends the vast majority of its time simply trying to navigate back and forth between informative regions.
Why Classical Algorithms Break Online
When you strip away the generative model, many elegant algorithmic frameworks break down due to two main technical bottlenecks: double sampling and extrapolation errors.
1. The Double-Sampling Problem
Many objective functions in RL require calculating the variance of the next-state value distribution. For instance, in Bellman Residual Minimization (BRM), the objective involves a squared expectation of the Bellman error. To get an unbiased estimate of this squared expectation, you need to observe two independent next-state samples from the exact same state-action pair.
As Odalric-Ambrym Maillard et al. point out in Finite-sample Analysis of Bellman Residual Minimization, this is trivial with a generative model: you just query $(s,a)$ twice. But in a live, real-time environment, you cannot step into the same river twice. Once you take an action, the environment transitions you forward, making unbiased residual minimization exceptionally difficult without a simulator reset.
2. The Extrapolation Trap
In high-dimensional or continuous spaces, algorithms rely on function approximation (like matrix completion or linear regression) to generalize across states.
- Devavrat Shah et al. (Sample Efficient Reinforcement Learning via Low-Rank Matrix Estimation) show that matrix completion can exponentially reduce sample complexity, but it requires sampling specific coordinates of the state-action matrix to reconstruct the hidden low-rank structure.
- Andrea Zanette demonstrates in Limiting Extrapolation in Linear Approximate Value Iteration that linear value iteration is prone to exploding errors unless it can anchor its predictions on specific, well-distributed "anchor points."
Under a generative model, you can explicitly sample these coordinates or anchor points. In an online trajectory, those exact states might be completely unreachable, forcing the function approximator to extrapolate wildly into unvisited territory, which often leads to catastrophic divergence.
Designing Algorithms for the Real World
To move past the generative model assumption, researchers are attacking the problem from two angles: proving that standard algorithms can explore efficiently on their own, and designing intermediate, more realistic simulator assumptions.
Strategic Online Exploration
Instead of assuming uniform data coverage, modern online algorithms use optimism to force coverage. Chi Jin et al. proved in Is Q-learning Provably Efficient? that classical model-free Q-learning can be nearly as sample-efficient as model-based approaches without any simulator resets. By adding an Upper Confidence Bound (UCB) bonus directly to the Q-values, the agent is naturally driven to navigate toward poorly explored states. Dongruo Zhou et al. successfully extended this online exploration philosophy to complex linear feature mappings in Provably Efficient Reinforcement Learning for Discounted MDPs with Feature Mapping.
Local Restarts: The Middle Ground
Rather than choosing between an all-powerful global simulator and a restrictive single trajectory, Tian Tian et al. explore a middle ground in Confident Natural Policy Gradient for Local Planning in $q_\pi$-realizable Constrained MDPs. They utilize a local-access simulator that only allows restarts from previously visited states. This mimics practical scenarios like saving a checkpoint in a video game or a software simulation, providing a stepping stone toward purely online deployment.
Single-Trajectory Robustness
The challenge of escaping the simulator is especially acute in Distributionally Robust RL, where agents must prepare for worst-case environment shifts. While single-author work by Gen Li (The Curious Price of Distributional Robustness in Reinforcement Learning with a Generative Model) maps out the statistical boundaries of robustness under a generative model, Zhipeng Liang et al. successfully broke the dependency entirely in Single-Trajectory Distributionally Robust Reinforcement Learning. By utilizing a three-timescale stochastic approximation framework, their algorithm learns robust policies from a single continuous stream of experience, proving that agents can learn to handle real-world uncertainty without ever needing a reset button.