Reinforcement learning
Learning to act by trial and error from rewards, rather than from labelled examples.
In reinforcement learning an agent observes a state, takes an action, receives a reward and lands in a new state, over and over. Its goal is a policy that maximises the total (discounted) reward over time, even when good actions only pay off much later.
Methods range from planning with a known model (value and policy iteration), through learning from experience (Monte Carlo, TD learning, SARSA, Q-learning), to deep RL (DQN, policy gradients, actor-critic, PPO). It powers game-playing agents, robotics and recommendation sequences.
See it in action
- Markov decision processes and Bellman equationsThe language of reinforcement learning: states, actions, rewards, returns, policies and value functions.
- Q-learning: off-policy TD controlLearn optimal action values from any exploratory experience with the max-based TD update.
- Deep Q-networks (DQN)Q-learning with neural networks: experience replay, target networks and the deadly triad.
- Proximal policy optimisation (PPO)Stable, reusable policy updates with a clipped surrogate objective and generalised advantage estimation.