Skip to content
StackDecode
AI & ML Atlas
Reinforcement LearningconceptInteractive simulation

Exploration Strategies

Ways an agent tries new things so it does not settle for a mediocre routine.

The idea

Greedy behaviour can lock onto the first decent option. Common strategies: ε-greedy (random action with small probability), Boltzmann or softmax (choose in proportion to value), optimism (UCB and optimistic initial values), Thompson sampling, and curiosity bonuses that reward novel states. Exploration usually decays as knowledge grows.

Watch it run

This is a real computation, not a drawing. Pause, step, change the settings, or try new random data.

total regret (reward lost by not always playing the best arm)pulled 1×arm 1pulled 0×arm 2pulled 0×arm 3pulled 0×arm 4pulled 0×arm 5
  • estimated value
  • true value (dashed)
  • arm just pulled

Pull 1: Exploit: pick the arm that looks best so far. Got reward 0.51.

pulls:
1
regret:
0.84
1/40

Bars are what the agent believes; dashed lines are the truth it is trying to discover.

Step by step

  1. 1Estimate the value and the uncertainty of each option.
  2. 2Pick an action by a rule that favours promising or little-tried options.
  3. 3Observe the reward.
  4. 4Update estimates and reduce exploration over time.

Where it is used

Every RL agent, from game players to robot controllers.

Watch out for

Sparse-reward problems need directed exploration, not just random noise.

Related