NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Optimal Horizon-Free Reward-Free Exploration for Linear Mixture MDPs

Junkai Zhang, Weitong Zhang, Quanquan Gu

Introduction

In Reinforcement Learning (RL), the "curse of the horizon" is a persistent challenge. For many algorithms, the sample complexity—the amount of data needed to learn an effective policy—grows polynomially with the planning horizon ($H$), which represents the number of steps in an episode. For tasks requiring very long horizons, these algorithms become practically unusable.

This paper tackles this bottleneck in the context of Reward-Free Exploration. In this setting, an agent operates in two phases: an "exploration phase" where it interacts with the environment without a specific goal (no reward signal), and a "planning phase" where it is given a reward function and must find a near-optimal policy using only the data it already collected. While reward-free exploration is highly efficient for multi-task learning, existing methods utilizing linear function approximation have historically suffered from a polynomial dependence on $H$.

To overcome this, the authors introduce HF-UCRL-RFE++, the first "horizon-free" algorithm for reward-free RL in linear mixture Markov Decision Processes (MDPs). By utilizing a novel high-order moment estimation technique, the algorithm achieves a sample complexity independent of the planning horizon's length, matching the theoretical lower bound and proving its minimax optimality.

Methodology: Breaking the Horizon Dependency

The authors design HF-UCRL-RFE++ specifically for Linear Mixture MDPs, environments where the transition dynamics can be parameterized as a linear combination of known feature mappings. To eliminate the polynomial dependence on $H$, the algorithm integrates four core innovations:

  1. Exploration-Driven Pseudo-Rewards: Because the true reward is hidden during the exploration phase, the agent generates a pseudo-reward based on the "uncertainty" of its current model. This intrinsically motivates the agent to visit states and actions about which it knows the least.
  2. Uncertainty-Weighted Value-Targeted Regression (VTR): The algorithm uses a ridge-regression-style approach to estimate transition parameters. Crucially, these updates are weighted by the inverse of the uncertainty, ensuring that more reliable data points have a stronger influence on the model.
  3. High-Order Moment Estimation (HOME): This is the algorithm's "secret sauce." Instead of merely estimating the mean value of the next state, the algorithm estimates higher-order moments of the value function. This allows for much tighter control over both aleatoric uncertainty (inherent environmental randomness) and epistemic uncertainty (uncertainty due to a lack of data).
  4. Time-Homogeneous Modeling: Unlike previous works that treat each time step $h$ differently, this model assumes the transition kernel is identical across all steps. This assumption is a vital mathematical stepping stone toward removing $H$ from the complexity bound.

Key Results and Theoretical Optimality

As a theoretical machine learning paper, the evaluation relies on rigorous mathematical proofs rather than empirical datasets. The authors construct a synthetic "hard-to-learn" MDP to establish fundamental limits, yielding several critical insights:

  • Horizon-Free Complexity: The paper operates under the assumption that the total accumulated reward in an episode is bounded by 1. Under this condition, HF-UCRL-RFE++ requires only $\tilde{O}(d^2 \varepsilon^{-2})$ episodes to find an $\varepsilon$-optimal policy, where $d$ is the dimension of the feature mapping. The dependence on $H$ is reduced to a negligible polylogarithmic factor (e.g., $\log(H)$).
  • Rescaled Rewards: If the reward at each individual step is bounded by 1 (meaning the total reward scales up to $H$), the complexity becomes $\tilde{O}(d^2 H^2 \varepsilon^{-2})$. This still represents a significant improvement over previous state-of-the-art methods, which required $d > H$ to be efficient.
  • Matching Lower Bound: Using their hard-to-learn MDP, the authors prove a sample complexity lower bound of $\Omega(d^2 \varepsilon^{-2})$. Because the upper bound of their algorithm matches this lower bound (up to logarithmic factors), HF-UCRL-RFE++ is proven to be minimax optimal.

Limitations and Future Work

While the theoretical guarantees are strong, the paper notes a few limitations that pave the way for future research:

  • Optimization Oracle: The algorithm assumes the existence of an "optimization oracle" to solve the argmax operation during the exploration phase. In complex, high-dimensional spaces, finding this maximum can be computationally expensive.
  • Linearity Assumption: The results are specific to Linear Mixture MDPs. While this covers a broad class of problems, it does not extend to environments with highly non-linear dynamics that cannot be captured by linear features.
  • Time-Homogeneity: The current horizon-free proof relies on the transition kernel being the same at every time step. Extending these horizon-free guarantees to time-inhomogeneous MDPs remains an open challenge.

Summary updated

BibTeX
@inproceedings{zhang2023optimal,
  author = {Junkai Zhang and Weitong Zhang and Quanquan Gu},
  title = {{Optimal Horizon-Free Reward-Free Exploration for Linear Mixture MDPs}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=5WGXswh2ZH},
}
Figure