Optimistic Planning by Regularized Dynamic Programming

Antoine Moulin, Gergely Neu

The Challenge of Infinite-Horizon Planning

Reinforcement Learning (RL) agents frequently rely on the principle of Optimism in the Face of Uncertainty (OFU) to balance exploration and exploitation. They build a set of plausible models of the world and act as if the best possible model is the true one. In simple "tabular" settings (where states and actions are limited), this is typically handled using a technique called Extended Value Iteration (EVI).

However, modern RL applications involve massive state spaces that necessitate function approximation, such as linear models or neural networks. In infinite-horizon settings—where an agent interacts with its environment indefinitely—standard optimistic planning struggles. When estimating a transition model using function approximation, the resulting "Bellman operator" (the mathematical function used to update value estimates) often loses its contraction property. Without contraction, standard value iteration can fail to converge, making it nearly impossible to guarantee that the agent is learning efficiently or acting optimistically.

The Solution: Regularized Approximate Value Iteration (RAVI-UCB)

To overcome this, the authors introduce Regularized Approximate Value Iteration with Upper Confidence Bounds (RAVI-UCB). This novel algorithm brings the OFU principle to infinite-horizon problems with function approximation by fundamentally shifting the algorithmic approach: rather than forcing the Bellman operator to be a contraction, RAVI-UCB employs regularization.

Key Methodological Innovations

  • Regularized Updates: Instead of standard value updates, RAVI-UCB uses a variant of Mirror-Descent Modified Policy Iteration (MD-MPI). This regularization "smooths" policy updates, preventing drastic, unstable changes between iterations.
  • Average Optimism: Enforcing strict optimism for every single value estimate is notoriously difficult with linear models. Instead, RAVI-UCB guarantees that its regularized updates are optimistic on average.
  • Linear Mixture MDPs: The method is specifically tailored for linear mixture MDPs, where transition probabilities are linear combinations of known basis kernels. The algorithm uses a least-squares procedure to estimate model parameters and applies an elliptical exploration bonus ($CB_k$) to encourage thorough exploration.
  • Randomized Epochs: The algorithm operates in epochs of random length drawn from a geometric distribution, which simplifies the statistical analysis of how the agent visits different states.

Key Insights

  • Bypassing Contraction: The core breakthrough of the paper is demonstrating that a contractive Bellman operator is unnecessary if regularization is applied. Regularization allows estimation errors to "telescope" and cancel out over time rather than compounding and exploding.
  • Planning as Regret Minimization: By leveraging Mirror Descent, the authors frame the planning step itself as an online learning problem. This allows them to apply robust tools from convex optimization to bound the suboptimality of the policy.
  • Computational Feasibility: Previous attempts to solve this problem required practically impossible "global constraints" on model parameters to force contraction. RAVI-UCB is computationally feasible and entirely "plug-and-play" with standard least-squares solvers.

Theoretical Results

As a theoretical contribution, the paper provides rigorous mathematical proofs of performance (regret bounds) rather than empirical benchmarks on datasets like Atari or MuJoCo. The authors use Tabular MDPs as a sanity check to show the method recovers known optimal rates, but the primary focus is on Linear Mixture MDPs.

  • Near-Optimal Regret: In linear mixture MDPs, RAVI-UCB achieves a near-optimal regret bound of approximately $\tilde{O}(\sqrt{d^2H^3 T})$, where $d$ is the feature dimension, $H$ is the effective horizon, and $T$ is the total time. This matches the best-known statistical rates.
  • Sample Complexity: The algorithm can produce an $\epsilon$-optimal policy in roughly $\tilde{O}(1/\epsilon^2)$ steps, bridging the gap between theoretical regret and practical policy training.
  • Adversarial Rewards: Thanks to the Mirror Descent framework, these guarantees naturally extend to environments where rewards might change over time in an adversarial manner.

Limitations and Future Directions

While RAVI-UCB represents a significant theoretical leap, the authors note several limitations and areas for future work:

  • The Reset Requirement: The algorithm currently assumes a "reset action" that can teleport the agent back to a starting distribution. In many real-world physical or industrial settings, this is impossible.
  • Expectation vs. High Probability: Current guarantees hold in expectation ("on average"). High-probability bounds (guarantees that hold 99.9% of the time) are theoretically possible but mathematically tedious and are left for future work.
  • Computational Oracles: The algorithm assumes the ability to compute specific integrals over the state space. In practice, this may require expensive Monte Carlo sampling, potentially slowing down execution.
  • Linear MDPs: The current proof technique does not yet extend to the standard "Linear MDP" model (a slightly different flavor of linear approximation) due to unmanageably large covering numbers for the value functions.

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