Skip to main content
QUICK REVIEW

[Paper Review] Steady State Analysis of Episodic Reinforcement Learning

Huang Bojun|arXiv (Cornell University)|Nov 12, 2020
Reinforcement Learning in RoboticsComputer Science35 references5 citations
TL;DR

This paper establishes that episodic reinforcement learning environments with finite-horizon tasks possess a unique steady-state distribution under any behavior policy, proving that marginal state distributions converge to this steady state. It introduces a steady-state policy gradient theorem and a recursive perturbation method to accelerate convergence, enabling unified, efficient data collection in episodic RL akin to continual RL.

ABSTRACT

This paper proves that the episodic learning environment of every finite-horizon decision task has a unique steady state under any behavior policy, and that the marginal distribution of the agent's input indeed converges to the steady-state distribution in essentially all episodic learning processes. This observation supports an interestingly reversed mindset against conventional wisdom: While the existence of unique steady states was often presumed in continual learning but considered less relevant in episodic learning, it turns out their existence is guaranteed for the latter. Based on this insight, the paper unifies episodic and continual RL around several important concepts that have been separately treated in these two RL formalisms. Practically, the existence of unique and approachable steady state enables a general way to collect data in episodic RL tasks, which the paper applies to policy gradient algorithms as a demonstration, based on a new steady-state policy gradient theorem. Finally, the paper also proposes and experimentally validates a perturbation method that facilitates rapid steady-state convergence in real-world RL tasks.

Motivation & Objective

  • To resolve the theoretical disparity between episodic and continual reinforcement learning by establishing the existence of a unique steady state in episodic tasks.
  • To unify episodic and continual RL formalisms by showing shared concepts like performance measures and on-policy distributions are rigorously connected under steady-state conditions.
  • To develop a practical method for efficient data collection in episodic RL by leveraging convergence to the steady-state distribution.
  • To propose a recursive perturbation technique that accelerates convergence to the steady state in environments with slow or non-convergent marginal distributions.
  • To derive and validate a new steady-state policy gradient theorem that justifies online, few-step sampling in modern policy gradient algorithms.

Proposed method

  • Formalizes episodic learning as a family of infinite-horizon MDPs with periodic reset structure to model repeated episodes.
  • Proves the existence of a unique stationary distribution in all such episodic MDPs, regardless of the behavior policy, using Markov chain ergodicity arguments.
  • Derives a new steady-state policy gradient theorem that expresses policy gradients as expectations over the stationary distribution of a behavior policy.
  • Introduces a recursive perturbation method that injects self-loops with probability $\epsilon = 1 - 1/\mathbb{E}[T]$ to accelerate mixing and ensure convergence to the steady state.
  • Employs unbiased estimation via recursive perturbation to approximate the stationary distribution using marginal distributions from early rollout steps.
  • Validates the method empirically across environments like Hopper, Humanoid, and HalfCheetah, comparing convergence rates with and without perturbation.

Experimental results

Research questions

  • RQ1Does a unique steady-state distribution exist in episodic reinforcement learning tasks despite finite horizons?
  • RQ2Can the marginal distribution of state visits in episodic RL converge to a stationary distribution under general behavior policies?
  • RQ3How can the steady-state distribution be leveraged to unify episodic and continual RL formalisms?
  • RQ4Can a perturbation-based method accelerate convergence to the steady state in episodic RL, especially in periodic or slow-mixing environments?
  • RQ5Does the proposed steady-state policy gradient theorem provide a theoretically sound basis for online, few-step sampling in policy gradient algorithms?

Key findings

  • A unique steady-state distribution exists in all episodic RL tasks under any behavior policy, resolving long-standing theoretical ambiguity.
  • The marginal distribution of state visits converges to the steady-state distribution in 'proper models' of episodic tasks, with convergence observed by $2 \cdot \text{AEL}$ in Hopper and $3 \cdot \text{AEL}$ in synthetic periodic environments.
  • In environments like HalfCheetah with fixed episode length, marginal distributions fail to converge without perturbation, but converge rapidly after applying recursive perturbation with $\epsilon = 1 - 1/\mathbb{E}[T]$.
  • The recursive perturbation method enables accurate approximation of the stationary distribution in as few as $3 \cdot \mathbb{E}[T]$ steps, even in strongly periodic environments.
  • Empirical results show that the perturbed rollout method reduces bias in policy gradient estimation compared to standard online sampling, with improved convergence in Humanoid and HalfCheetah.
  • The steady-state policy gradient theorem provides a theoretical foundation for online sampling in modern policy gradient algorithms, justifying their widespread use in practice.

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.