Skip to main content
QUICK REVIEW

[Paper Review] Posterior Sampling for Reinforcement Learning Without Episodes

Ian Osband, Benjamin Van Roy|arXiv (Cornell University)|Aug 9, 2016
Advanced Bandit Algorithms ResearchDecision Sciences7 references8 citations
TL;DR

This paper identifies a critical flaw in the proof of regret bounds for posterior sampling reinforcement learning (PSRL) in non-episodic, infinite-horizon MDPs, particularly challenging the validity of Theorem 2 in Abbasi-Yadkori & Szepesvári (2015). It presents a counterexample to the flawed argument, reclassifies the result as a conjecture, and proposes pragmatic strategies—such as artificial episode lengths, the doubling trick, and smoothed posterior sampling—for applying PSRL effectively in continuous, non-episodic environments.

ABSTRACT

This is a brief technical note to clarify some of the issues with applying the application of the algorithm posterior sampling for reinforcement learning (PSRL) in environments without fixed episodes. In particular, this paper aims to: - Review some of results which have been proven for finite horizon MDPs (Osband et al 2013, 2014a, 2014b, 2016) and also for MDPs with finite ergodic structure (Gopalan et al 2014). - Review similar results for optimistic algorithms in infinite horizon problems (Jaksch et al 2010, Bartlett and Tewari 2009, Abbasi-Yadkori and Szepesvari 2011), with particular attention to the dynamic episode growth. - Highlight the delicate technical issue which has led to a fault in the proof of the lazy-PSRL algorithm (Abbasi-Yadkori and Szepesvari 2015). We present an explicit counterexample to this style of argument. Therefore, we suggest that the Theorem 2 in (Abbasi-Yadkori and Szepesvari 2015) be instead considered a conjecture, as it has no rigorous proof. - Present pragmatic approaches to apply PSRL in infinite horizon problems. We conjecture that, under some additional assumptions, it will be possible to obtain bounds $O( \sqrt{T} )$ even without episodic reset. We hope that this note serves to clarify existing results in the field of reinforcement learning and provides interesting motivation for future work.

Motivation & Objective

  • To identify and correct a technical flaw in the proof of regret bounds for PSRL in infinite-horizon MDPs.
  • To challenge the validity of Theorem 2 in Abbasi-Yadkori and Szepesvári (2015), which claims O(√T) regret for a lazy-PSRL variant in non-episodic settings.
  • To provide practical, empirically effective methods for applying PSRL in environments without fixed episode boundaries.
  • To stimulate future research on extending theoretical guarantees from episodic to non-episodic reinforcement learning settings.

Proposed method

  • Constructs a counterexample to the flawed argument in Abbasi-Yadkori and Szepesvári (2015), demonstrating that the expected regret cannot be zero as claimed.
  • Reinterprets the PSRL algorithm in the context of infinite-horizon MDPs by treating the problem as a special case of finite-horizon MDPs with an expanded state space.
  • Proposes pragmatic adaptations of PSRL for non-episodic environments, including imposing artificial episode lengths based on natural timeframes or discounting.
  • Introduces a smoothed posterior sampling approach where MDP samples are linearly interpolated over time to avoid abrupt policy changes.
  • Recommends the 'doubling trick' for dynamic episode length adaptation when the optimal policy horizon is unknown.
  • Suggests using a Bayesian posterior over MDP parameters and applying a weighted average of current and past posterior samples to stabilize policy selection.

Experimental results

Research questions

  • RQ1What is the flaw in the proof of Theorem 2 in Abbasi-Yadkori and Szepesvári (2015) regarding regret bounds for PSRL in non-episodic MDPs?
  • RQ2Can the argument that the expected regret is zero due to conditional independence be valid in infinite-horizon settings?
  • RQ3Is it possible to achieve O(√T) regret in non-episodic MDPs using PSRL under additional assumptions?
  • RQ4What practical strategies can be used to apply PSRL effectively in environments without fixed episode boundaries?
  • RQ5How can posterior sampling be adapted to maintain stability and performance when episode boundaries are artificial or dynamically changing?

Key findings

  • A counterexample is constructed showing that the expected regret cannot be zero as claimed in the flawed proof of Theorem 2 in Abbasi-Yadkori and Szepesvári (2015), contradicting the argument that E[λ* - λk(t)k(t) | Hk(t)1] = 0.
  • The counterexample demonstrates a regret of at least 249 over T=1000 timesteps when Hmax=1000, disproving the claim that the expected regret is zero.
  • The proof of Theorem 2 in Abbasi-Yadkori and Szepesvári (2015) is invalid due to a flawed use of conditional expectation, and the result should be considered a conjecture.
  • Despite the lack of a rigorous regret bound, empirical evidence suggests PSRL performs well in non-episodic settings, indicating the result may still be true under additional assumptions.
  • Pragmatic approaches such as artificial episode lengths, the doubling trick, and smoothed posterior sampling are effective in practice for applying PSRL without episodic reset.
  • Theoretical extension of O(√T) regret bounds to non-episodic settings remains an open problem, but the paper provides a foundation for future research in this direction.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.