This paper, presented at NeurIPS 2022, tackles one of the most challenging frontiers in reinforcement learning (RL): exploring an environment effectively without knowing the goal in advance, especially when using complex, non-linear models.
TL;DR
The authors introduce RFOLIVE, the first algorithm to achieve sample-efficient reward-free exploration under general non-linear function approximation. Their work proves that "reachability"—the assumption that an agent can easily visit any state—is not statistically necessary for efficient exploration, while also establishing a fundamental hardness result that separates low-rank models from more general linear completeness settings.
What Problem Does This Paper Address?
In standard RL, an agent learns by maximizing a reward signal. However, designing perfect reward functions is notoriously difficult. Reward-free RL splits the problem: first, the agent explores the environment to collect data (the "online phase"); then, it uses that data to find a near-optimal policy for any reward function revealed later (the "offline phase").
While well-understood for simple tabular or linear models, reward-free RL becomes a "black box" when we use non-linear function approximation (like deep neural networks). Previous attempts often relied on restrictive assumptions, such as explorability or reachability, which essentially assume the agent can reach every corner of the state space with decent probability. This paper asks: Can we achieve sample efficiency under more general structural assumptions without these crutches?
Methods
The authors propose RFOLIVE (Reward-Free OLIVE), a non-trivial adaptation of the reward-aware OLIVE algorithm. The method relies on two main phases:
- Online Exploration Phase: The agent runs a modified version of OLIVE using a zero reward function. Because the algorithm is designed to be optimistic, it is forced to exhaustively explore the environment to "certify" that no rewards exist. During this process, it collects a diverse set of datasets (constraints) representing different state-action distributions.
- Offline Elimination Phase: Once a specific reward function is revealed, the agent doesn't just run a standard regression. Instead, it uses the constraints gathered during exploration to eliminate any candidate policies that exhibit high average Bellman error on the visited distributions.
The algorithm is analyzed under two general structural conditions: Bellman-completeness and low Bellman Eluder (BE) dimension. These are abstract conditions that identify when a function class is expressive enough to represent the environment's dynamics without being so complex that it's impossible to learn.
Datasets
As a theoretical study, the paper does not use standard empirical benchmarks like Atari or MuJoCo. Instead, the authors construct synthetic "hard instances" to prove their lower bounds. Specifically, they design an exponential tree MDP (illustrated in the paper's Appendix) to demonstrate that certain settings are information-theoretically impossible to solve efficiently.
Key Insights and Ideas
- Reachability is Optional: The biggest "aha moment" is that you don't need to be able to reach every state to learn a good policy. RFOLIVE succeeds by focusing on function space elimination. If a policy is "bad," the exploration phase will eventually gather a constraint that proves it, even if the agent never visits every single state.
- The "Difference" Class: The analysis introduces a "difference" function class ($F - F$). The complexity of exploration is tied to the Bellman Eluder dimension of this difference class under zero reward, which effectively measures how much "information" is left to uncover in the environment.
- A Sharp Hardness Separation: The paper identifies a critical threshold in complexity. While low-rank MDPs with unknown features are tractable, the more general "linear completeness" setting becomes exponentially hard if the features are unknown.
Key Results
- Positive Result: RFOLIVE achieves polynomial sample complexity for both Q-type and V-type settings. This covers and improves upon previous results for linear MDPs and low-rank MDPs by removing the need for reachability/explorability factors.
- Improved Bounds: For low-rank MDPs, the authors provide a bound that significantly improves upon prior work (Modi et al., 2021) in terms of its dependence on the rank and the number of actions.
- Hardness Result (Theorem 5): The authors prove that for linear completeness with unknown features, any algorithm requires a number of samples that scales exponentially with the horizon $H$. This highlights a fundamental gap between reward-aware and reward-free RL.
Limitations and Future Work
- Computational Efficiency: Like many theoretical "workhorse" algorithms, RFOLIVE is statistically efficient but computationally intractable. It requires searching over a potentially infinite function class, which is not feasible for real-world deep RL. Developing a computationally viable version is a primary direction for future work.
- Horizon Dependence: The current sample complexity has a relatively high dependence on the horizon $H$ (e.g., $H^7$ or $H^8$). The authors suggest that adapting sharper algorithms like GOLF could potentially reduce this.
- Realizability vs. Completeness: The paper leaves open a major question: Are realizability-type assumptions (which are enough for reward-aware RL) sufficient for reward-free RL? The authors conjecture the answer is no, suggesting a deep fundamental difference between the two settings.
Summary updated