Skip to content
Lambdian

Policy (reinforcement learning)

The agent's rule for choosing actions in each state.

A policy π(a∣s)\pi(a\mid s) gives the probability of taking action aa in state ss; a deterministic policy picks one action per state. Value-based methods derive the policy by acting greedily on learned values; policy-gradient methods (REINFORCE, actor-critic, PPO) learn the policy directly as a parameterised function, often a neural network.

See it in action