Glossary · Reinforcement learning
Policy
Also called π, controller, actor
The agent's decision rule: given what it observes, which action it takes. In deep RL, the policy is a neural network.
A policy is what a reinforcement learning agent learns. It maps each observation to an action. It is usually written , and when it has learnable parameters (the weights of a neural network), .
There are two kinds:
- A deterministic policy gives one action for each observation: .
- A stochastic policy gives a probability distribution over actions, and the action is sampled from it: . See stochastic policy.
Training changes so that actions that led to more reward become more likely. A trained policy can be frozen: its weights are saved and no longer change, so it behaves the same way every time and can be used as a starting point for new training.
In this project
The policy is a small MLP that runs 50 times a second. It reads 193 numbers about the body and outputs one number for each of its 43 body motors (on the muscular body). Those numbers aren’t joint angles. They are corrections added to the coach’s reference pose, which makes it a residual policy.
The policy trained to hold the stance and rhythm was frozen and became the parent of the shove-recovery policies. Both recovery approaches started from its weights.
Related terms
Used in
- Blocking: reading a punch you see a tenth of a second late
- Footwork: walking to a spot in a Muay Thai stance
- Faster punches: from trained amateur towards professional
- Five punches: the cross, the hooks and the uppercut
- The jab: the simplest punch, and a long lesson
- Coaching an AI fighter
- Learning to balance in a Muay Thai stance