Exploration vs Exploitation

The Fundamental Dilemma

At every step, the agent chooses: exploit what it knows (take the currently best-known action) or explore (try something new to discover whether better options exist). Too much exploitation → stuck in local optima. Too much exploration → never converges to good behavior.

Exploration Strategies

1

ε-greedy — With probability ε take a random action; otherwise exploit the best-known action. ε decays over training (1.0 → 0.01). Simple. Uninformed — equally likely to retry known-bad actions as to try promising unknowns.

2

UCB (Upper Confidence Bound) — Prefer actions with high uncertainty (optimism about their potential). Uncertainty shrinks as an action is tried more. Directs exploration to genuinely unknown actions — more efficient than ε-greedy.

3

Entropy bonus (Soft RL) — Reward the agent for maintaining high policy randomness (entropy), not just for external reward. SAC uses this. Natural, principled exploration throughout training with no schedule.

4

Curiosity-driven exploration — Intrinsic reward for visiting novel or surprising states — where the agent's internal model makes wrong predictions. Effective when extrinsic reward is very sparse.

Need Help?

Ask the AI assistant about exploration vs exploitation, ε-greedy exploration, UCB, or curiosity-driven RL.