The exploration vs exploitation trade-off is the problem of choosing between trying unfamiliar actions to gain information and selecting the action currently expected to give the highest reward. A reinforcement-learning agent must balance both to maximize its cumulative reward over time.
How the trade-off works
In reinforcement learning, an agent interacts with an environment by selecting actions and receiving rewards. It estimates each action's value from previous experience, but these estimates may be incomplete or inaccurate.
| Strategy | What the agent does | Main consequence |
|---|---|---|
| Exploration | Tries actions whose outcomes are uncertain | May discover a better action, but risks receiving a lower immediate reward |
| Exploitation | Selects the action with the highest current estimated value | Gains a strong immediate reward, but may miss a better alternative |
Suppose a game-playing agent estimates that action A gives an average reward of , while action B gives . Exploitation selects A. However, if B has been attempted only once, exploration may reveal that its true average reward is actually higher.
A common method for managing the trade-off is an epsilon-greedy policy. With probability , the agent chooses the action with the highest estimated value; with probability , it chooses an action randomly. If , the agent usually exploits but explores on 10% of decisions.
A high value of produces more exploration, while a low value produces more exploitation. Some systems reduce during training: early exploration gathers information, while later exploitation uses what has been learned.
A common misconception is that exploration is always preferable because it increases knowledge. Excessive exploration can reduce cumulative reward by repeatedly selecting weak actions.
Exam technique
For A4.3 Machine learning approaches (HL), an explain question should identify both strategies and show why balancing them matters. For an evaluate question, discuss immediate reward, long-term learning, uncertainty, and how the choice of affects performance.