REINFORCE policy gradient

Reinforcement learning · Formula · Not yet linked from a lesson

∇θJ=Eπθ ⁣[∇θlog⁡πθ(a∣s) Gt]\nabla_{\theta} J = \mathbb{E}_{\pi_\theta}\!\left[\nabla_{\theta} \log \pi_{\theta}(a \mid s)\, G_t\right]

Raises the log-probability of actions that led to high return and lowers it for the rest. It optimises the policy directly with no value model required, and its variance is high enough that a baseline is essentially mandatory.

Symbols

JJ
The expected return being maximised.
πθ\pi_{\theta}
The policy, parameterised by theta.
GtG_t
The return that followed the action.
Esc
↑↓ navigate↵ open? shortcuts

Keyboard shortcuts

Press Esc to close

Anywhere

⌘K
Search and commands
/
Search
?
This sheet
Esc
Close

Reading a lesson

J
Next lesson
K
Previous lesson
B
Bookmark