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

Optimistically Optimistic Exploration for Provably Efficient Infinite-Horizon Reinforcement and Imitation Learning

Antoine Moulin, Gergely Neu, Luca Viano

TL;DR

This paper introduces Rmax-RAVI-UCB, the first computationally efficient algorithm for infinite-horizon discounted linear Markov Decision Processes (MDPs) that achieves rate-optimal regret. By combining traditional UCB-style exploration bonuses with an Rmax-inspired "heaven" state, the authors provide a robust framework that extends to adversarial rewards and sets a new state-of-the-art for imitation learning from features alone.

What Problem Does This Paper Address?

In reinforcement learning (RL) theory, Linear MDPs—where transition dynamics and rewards are linear functions of state-action features—have become the gold standard for studying function approximation. While we have efficient, near-optimal algorithms for finite-horizon tasks (where the agent acts for a fixed number of steps), the infinite-horizon discounted setting has remained a stubborn challenge.

Existing methods for infinite horizons were often either computationally impractical (requiring complex optimization) or statistically suboptimal. The core difficulty lies in the "variance explosion": in under-explored states, empirical model estimates have high variance. To stay "optimistic" and encourage exploration, standard algorithms add bonuses, but in infinite horizons, these bonuses can grow uncontrollably, leading to unstable policy updates and poor performance.

Methods

The authors propose a dual-layered approach to optimism, integrated into a regularized dynamic programming scheme.

  1. Two Degrees of Optimism:
    • First-Degree (UCB): The algorithm uses standard additive exploration bonuses based on the uncertainty of the linear model (the empirical covariance of features).
  2. Second-Degree (Rmax): To prevent value estimates from growing without bound, the authors introduce an Optimistically Augmented MDP (OA-MDP). As shown in Figure 1, they append an artificial "heaven" state ($x^+$) to the environment. If the agent encounters a highly uncertain state-action pair, it has a high probability of "ascending to heaven," where it receives the maximum possible reward forever. This acts as a soft cap on optimism, keeping value estimates stable.
Illustration of the original MDP (black) and its optimistic extension (blue/red), where dashed lines represent the "ascension to heaven" mechanism.
  1. Regularized Approximate Value Iteration (RAVI): The algorithm updates policies using a softmax rule regularized by Kullback–Leibler (KL) divergence. This ensures that the policy doesn't change too drastically between iterations, which is crucial for stability in the infinite-horizon setting.
  2. Epoch-Based Updates: To maintain computational efficiency, the algorithm only recomputes its model and exploration bonuses in "epochs"—specifically, when the determinant of the feature covariance matrix doubles, signaling a significant reduction in uncertainty.

Datasets

As a theoretical work, this paper does not benchmark on standard empirical datasets like ImageNet or MuJoCo. Instead, it provides mathematical proofs of performance. For the imitation learning application (FRA-IL), the authors assume access to an expert dataset consisting of feature vectors $\phi(x, a)$ generated by an expert policy, rather than raw state-action trajectories.

Key Insights and Ideas

  • "Heaven" as a Stabilizer: The most elegant idea is using the Rmax "heaven" state to solve the stability issues of UCB. Instead of manually clipping value functions (which is hard to analyze and implement), the ascension probability naturally trades off high uncertainty for a known, bounded maximum value.
  • Adversarial Rewards: The algorithm is robust even if the reward function changes over time in an adversarial way. This robustness is what allows the authors to reduce the complex problem of Imitation Learning from features alone to a sequence of RL problems with adversarial rewards.
  • Imitation without Actions: The paper proves that an agent can learn to match an expert's performance even if it never sees the expert's actions, provided it can observe the features the expert visits and can interact with the environment itself.

Key Results

  • Optimal Regret: The algorithm achieves a regret of $\tilde{\mathcal{O}}(\sqrt{d^3 H^3 K})$, where $d$ is the feature dimension, $H$ is the effective horizon $(1-\gamma)^{-1}$, and $K$ is the number of episodes.
  • Sample Complexity: For a fixed reward, it reaches an $\epsilon$-optimal policy with a sample complexity of $\tilde{\mathcal{O}}(H^3 d^3 \epsilon^{-2})$. This is rate-optimal in $\epsilon$, matching known lower bounds for simpler settings.
  • Imitation Learning: Their FRA-IL algorithm is the first to achieve $\epsilon^{-2}$ scaling for both environment interactions and expert samples in the "features-only" imitation setting.

Limitations and Future Work

  • Tightness of Horizon Dependence: The regret bound contains an $H^{9/4}$ factor (or $H^{7/2}$ when expressed in total transitions $T$). The authors suspect this can be improved to $H^{1/2}$ by performing multiple value updates per episode, though they kept the current version for simplicity.
  • Feature Dimension Scaling: The $d^3$ dependence might be reducible to $d$ or $d^2$ using more advanced concentration inequalities, similar to recent progress in finite-horizon linear MDPs.
  • The Average-Reward Frontier: This work focuses on the discounted setting. Adapting these "optimistically optimistic" techniques to the undiscounted, average-reward infinite-horizon setting remains a major open problem in RL theory.

Summary updated

BibTeX
@inproceedings{moulin2025optimistically,
  author = {Antoine Moulin and Gergely Neu and Luca Viano},
  title = {{Optimistically Optimistic Exploration for Provably Efficient Infinite-Horizon Reinforcement and Imitation Learning}},
  booktitle = {EWRL},
  year = {2025},
  url = {https://openreview.net/forum?id=H5UVufEhuL},
}
Figure