On Reward-Free Reinforcement Learning with Linear Function Approximation

Ruosong Wang, Simon S. Du, Lin F. Yang, Ruslan Salakhutdinov

Abstract

Reward-free reinforcement learning (RL) is a paradigm where an agent explores an environment without a pre-specified reward signal, aiming to collect enough information to solve any task provided later. While this approach is well-understood in tabular settings, its efficiency under function approximation remains a critical open question. This paper investigates reward-free RL using linear function approximation, establishing a sharp contrast between two common assumptions. We provide a polynomial-time algorithm for the Linear MDP setting, where transitions and rewards are linear in the features. Conversely, we prove an exponential lower bound for the Linear $Q^*$ setting, where only the optimal value function is assumed to be linear. These results reveal a fundamental "information gap," suggesting that efficient reward-free exploration requires features that encode the environment's underlying dynamics rather than just its value structure.

Introduction

In standard reinforcement learning, an agent's exploration is guided by a specific reward signal. However, in many practical applications—such as multi-task learning or batch RL—it is more efficient to decouple exploration from the specific task. In the "reward-free" framework, the agent first explores the environment in a reward-independent phase. Once this phase is complete, a reward function is revealed, and the agent must output a near-optimal policy using the collected data without further exploration.

While previous research has demonstrated the sample efficiency of reward-free RL in tabular environments, real-world state spaces are often too large for tabular methods. To address this, researchers rely on function approximation. This paper asks whether linear function approximation is sufficient to guarantee efficient reward-free RL, focusing on the distinction between model-based and value-based assumptions.

Theoretical Framework

The authors evaluate two primary settings for linear function approximation:

  1. Linear MDP: This assumes that both the transition dynamics and the reward functions are linear functions of a given $d$-dimensional feature mapping. This is a relatively strong assumption that implies the features capture the environment's transition structure.
  2. Linear $Q^*$: A weaker and more common assumption where only the optimal value function $Q^*$ is linear in the features. This does not require the underlying transitions to be linear.

The Positive Result: Efficiency in Linear MDPs

For the Linear MDP setting, the authors introduce a new algorithm designed for efficient exploration without rewards. During the exploration phase, the agent constructs a synthetic reward signal based on a "UCB-style" bonus. This bonus rewards the agent for visiting states where the feature coverage is low (i.e., areas of high uncertainty).

The algorithm utilizes a modified version of Least-Squares Value Iteration (LSVI) to navigate the environment. The authors prove that this approach achieves a sample complexity of: $$\tilde{O}(d^3 H^6 / \epsilon^2)$$ This result is significant because the complexity is polynomial in the feature dimension ($d$) and the planning horizon ($H$), and it is entirely independent of the total number of states or actions, making it suitable for large-scale environments.

The Negative Result: Hardness in Linear $Q^*$

In contrast to the success in Linear MDPs, the authors establish a rigorous hardness result for the Linear $Q^*$ setting. They construct a "hard instance"—a deterministic MDP with a tree-like structure designed as a "needle in a haystack" problem.

They prove that under the Linear $Q^*$ assumption, any agent requires an astronomical number of samples to find the optimal path. Specifically, they establish a lower bound of: $$\Omega(2^H)$$ This exponential growth relative to the horizon $H$ means that for long-horizon tasks, reward-free RL is practically impossible if one only assumes the optimal value function is linear. The features in this setting do not provide enough structural information to guide the agent toward meaningful exploration in the absence of a reward signal.

Key Insights and the "Information Gap"

The paper highlights three critical "exponential gaps" that define the limits of reward-free RL:

  • Model vs. Value: There is a fundamental gap between Linear MDPs (easy) and Linear $Q^*$ (hard). This suggests that for reward-free RL to scale, features must encode the environment's model/transitions, not just the value.
  • Standard vs. Reward-Free RL: In deterministic systems, Linear $Q^*$ is efficient for standard RL (where rewards are known) but impossible for reward-free RL. This demonstrates that knowing the reward function significantly reduces the complexity of exploration.
  • The Power of Simulators: The authors show that if an agent has access to a simulator (allowing it to "teleport" to any state), the hardness of Linear $Q^*$ disappears. This proves that simulators are exponentially more powerful for exploration than standard trajectory-based sampling.

Conclusion and Future Work

This work establishes the theoretical boundaries of reward-free RL with linear function approximation. It proves that while model-based features (Linear MDP) enable efficient exploration, value-based features (Linear $Q^*$) are insufficient due to an exponential information gap.

Future research directions include extending these results to more complex, non-linear function classes—such as those with low Bellman Eluder dimension—and investigating how to learn effective features for exploration alongside the exploration process itself. Bridging the gap between model-based and value-based exploration remains a central challenge for the development of robust, general-purpose RL agents.

Summary updated

BibTeX
@inproceedings{wang2020reward,
  author = {Ruosong Wang and Simon S. Du and Lin F. Yang and Ruslan Salakhutdinov},
  title = {{On Reward-Free Reinforcement Learning with Linear Function Approximation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure