Exploration vs exploitation
The dilemma between using the best-known action and trying others that might be better.
An agent that only exploits its current best guess may never discover a better option; one that only explores wastes reward. Common strategies: ε-greedy (random action with probability ε), UCB (prefer actions whose value is uncertain), Thompson sampling (act on a random sample from your beliefs), optimistic initial values and entropy bonuses in policy-gradient methods. Multi-armed bandits study the dilemma in its purest form.
See it in action
- Multi-armed bandits: exploration vs exploitationOne state, many actions, unknown rewards: ε-greedy, UCB and Thompson sampling, and regret.
- Q-learning: off-policy TD controlLearn optimal action values from any exploratory experience with the max-based TD update.
- SARSA: on-policy TD controlLearn action values for the policy you are actually following, exploration included.