[Paper Review] On Optimistic versus Randomized Exploration in Reinforcement Learning
This paper compares optimistic and randomized exploration in reinforcement learning, demonstrating that randomized approaches—such as Thompson sampling—achieve superior statistical efficiency by allocating exploration based on posterior probabilities of gaining actionable information. In contrast, standard optimistic methods sacrifice statistical efficiency due to incoherent uncertainty quantification, especially under state-space scaling, despite being computationally tractable.
We discuss the relative merits of optimistic and randomized approaches to exploration in reinforcement learning. Optimistic approaches presented in the literature apply an optimistic boost to the value estimate at each state-action pair and select actions that are greedy with respect to the resulting optimistic value function. Randomized approaches sample from among statistically plausible value functions and select actions that are greedy with respect to the random sample. Prior computational experience suggests that randomized approaches can lead to far more statistically efficient learning. We present two simple analytic examples that elucidate why this is the case. In principle, there should be optimistic approaches that fare well relative to randomized approaches, but that would require intractable computation. Optimistic approaches that have been proposed in the literature sacrifice statistical efficiency for the sake of computational efficiency. Randomized approaches, on the other hand, may enable simultaneous statistical and computational efficiency.
Motivation & Objective
- To analyze the relative statistical efficiency of optimistic versus randomized exploration in reinforcement learning.
- To identify why randomized approaches often outperform optimistic ones in practice, despite similar theoretical foundations.
- To expose flaws in common optimistic exploration methods related to incoherent uncertainty quantification under state-space scaling.
- To argue that while theoretically optimal optimistic methods exist, they are computationally intractable, making randomized approaches more practical and efficient.
Proposed method
- The authors use two analytic examples to compare exploration strategies: one involving a finite-horizon MDP with binary actions and a second with a branching state transition structure.
- For optimistic exploration, they apply a standard optimism-in-the-face-of-uncertainty (OFU) principle, boosting value estimates by a fixed optimism parameter c.
- For randomized exploration, they sample a value function from the posterior distribution of the MDP and act greedily with respect to the sampled function, emulating Thompson sampling.
- They evaluate decision coherence by analyzing whether exploration decisions remain consistent under changes in state-space scale (e.g., number of next states).
- They compare the conditions under which each method selects an exploratory action, focusing on how uncertainty (standard deviation) and value differences interact.
- They show that randomized approaches naturally maintain coherence across scale changes, while optimistic methods fail due to averaging standard deviations instead of variances.
Experimental results
Research questions
- RQ1Why do randomized exploration methods like PSRL often outperform optimistic methods like UCRL2 in practice, despite similar theoretical guarantees?
- RQ2How does state-space scaling affect the coherence of exploration decisions in optimistic versus randomized approaches?
- RQ3Can optimistic exploration be made statistically efficient without sacrificing computational tractability?
- RQ4What role does posterior sampling play in maintaining decision coherence across different scales of uncertainty?
Key findings
- Randomized exploration via posterior sampling maintains decision coherence under state-space scaling, while optimistic methods do not.
- Optimistic approaches that average standard deviations across possible next states fail to scale coherently, leading to incorrect exploration decisions when the number of next states increases.
- In the branching transition example, a typical optimistic method explores only if cε√N > 1, which depends on N, whereas a randomized method explores with a probability independent of N, reflecting true uncertainty.
- The performance gap arises because optimistic methods apply an incoherent boost that scales with √N, while the correct uncertainty scaling should involve variances, not standard deviations.
- Despite being theoretically possible, optimally coherent optimistic methods are computationally intractable, making randomized approaches more practical for real-world RL.
- Empirical results from PSRL and UCRL2 on RiverSwim show that randomized exploration achieves faster learning and lower regret, confirming the theoretical advantage.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.