Optimistic Planning by Regularized Dynamic Programming

Antoine Moulin, Gergely Neu

Introduction

Reinforcement Learning (RL) faces a significant hurdle when scaling from tabular environments to complex, high-dimensional spaces. The "optimism in the face of uncertainty" principle is a cornerstone of efficient exploration, yet its application to infinite-horizon discounted problems with linear function approximation has historically been fraught with mathematical and computational difficulties. This paper introduces Regularized Approximate Value Iteration with Upper Confidence Bounds (RAVI-UCB), a novel framework that leverages regularization and Mirror Descent to achieve near-optimal regret without requiring the strict contraction properties typically demanded by Bellman operators.

The Contraction Bottleneck in Linear RL

In infinite-horizon RL, the goal is often to find a fixed-point solution for the value function. In tabular settings, the Bellman operator is a contraction, ensuring convergence to a unique stable solution. However, when employing linear function approximation—specifically in models where transitions are estimated via least-squares—the resulting operators often lose this contraction property.

This loss of stability means that standard value iteration may fail to converge or require computationally prohibitive constraints to remain stable. Previous attempts to address this either relied on very restrictive assumptions or resulted in algorithms that were theoretically sound but practically unimplementable. RAVI-UCB addresses this by bypassing the need for strict contraction entirely.

RAVI-UCB: Regularization and Average Optimism

The authors propose a shift in perspective: instead of forcing strict optimism at every single iteration, they aim for average optimism over the course of the learning horizon. RAVI-UCB integrates several key techniques to achieve this:

  • Regularized Updates: By incorporating a "softmax" style update (Kullback-Leibler regularization) into the value function and policy updates, the algorithm smooths the learning process. This approach is inspired by Mirror Descent in convex optimization, preventing the estimated value functions from oscillating wildly when the transition model is imperfect.
  • Epoch-based Scheduling: The algorithm operates in epochs of random lengths, determined by the discount factor $\gamma$. This alignment ensures that the data collection process matches the discounted occupancy measures required for the analysis.
  • Exploration via UCB: To maintain the optimistic principle, valid Upper Confidence Bounds (UCB) are integrated into the value updates, ensuring the agent continues to explore uncertain parts of the state-action space.

Theoretical Framework and Results

The paper evaluates RAVI-UCB across two primary mathematical models: Tabular MDPs and Linear Mixture MDPs. In the latter, the transition kernel is a linear combination of known feature maps, a powerful class of large-scale models.

The primary breakthrough is the proof that Mirror Descent analysis can be used to bound regret even when the Bellman operator is not a contraction. By focusing on how the policy improves over time rather than the convergence of the value function itself, the authors achieve the following:

  • Near-Optimal Regret: For Linear Mixture MDPs, the algorithm achieves an expected regret of roughly $\tilde{O}(\sqrt{(d^2H^3 + B^2dH + H^4 \log |A|) T})$, where $d$ is the feature dimension and $H$ is the effective horizon. This matches the best-known statistical rates in the literature.
  • Computational Efficiency: Unlike previous methods that required solving complex constrained optimization problems, RAVI-UCB uses standard least-squares and closed-form softmax updates, making it entirely computationally feasible.

Limitations and Future Work

While RAVI-UCB represents a significant step forward, several challenges remain:

  1. The Reset Requirement: The algorithm assumes the agent can "reset" to an initial state distribution at any time, which is often impossible in real-world robotics or continuous-control tasks.
  2. Expectation vs. High Probability: Current guarantees are "in expectation." Strengthening these to "high probability" bounds (ensuring performance in almost every run) remains a mathematically tedious task for future work.
  3. Integration Oracles: For Linear Mixture MDPs, the algorithm assumes access to an "oracle" to compute certain integrals over the state space, which may require expensive Monte Carlo sampling in practice.
  4. Average-Reward Setting: The current work is strictly for discounted problems. Extending these "average optimism" ideas to the undiscounted (average-reward) setting remains a significant open challenge.

Summary updated

BibTeX
@inproceedings{moulin2023optimistic,
  author = {Antoine Moulin and Gergely Neu},
  title = {{Optimistic Planning by Regularized Dynamic Programming}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=LctoTBcGUf},
}
Figure