Lably
Skip to content

Policy gradient method

Class of reinforcement learning algorithms

  • 9 min read
  • 7 chapters

Related on Lably

Through Reinforcement learning, Probability distribution and Discounting

Overview

In policy-based RL, the actor is a parameterized policy function πθ, where θ are the parameters of the actor. The actor takes as argument the state of the environment s and produces a probability distribution πθ(⋅∣s).

If the action space is discrete, then ∑aπθ(a∣s)=1. If the action space is continuous, then ∫aπθ(a∣s)da=1.

The goal of policy optimization is to find some θ that maximizes the expected episodic reward J(θ):J(θ)=Eπθ[∑t=0TγtRt|S0=s0]where γ is the discount factor, Rt is the reward at step t, s0 is the starting state, and T is the time-horizon (which can be infinite).

The policy gradient is defined as ∇θJ(θ). Different policy gradient methods stochastically estimate the policy gradient in different ways. The goal of any policy gradient method is to iteratively maximize J(θ) by gradient ascent. Since the key part of any policy gradient method is the stochastic estimation of the policy gradient, they are also studied under the title of "Monte Carlo gradient estimation".

Sign in to keep reading

6 more chapters are free with a Lably account.

More in Computing and communication