An agent has four actions with estimated values and uses -greedy with , where the random choice is uniform over all four actions. What is the probability of each action, and what is the expected estimated value of the chosen action?
Reinforcement learning, Exploration
Level L2 Elementary. Length Short. Nature Mat Mathematical.
What's being asked
Whether you know that the greedy action also gets a share of the random exploration probability.
Key idea
With -greedy over actions, the greedy action has probability and every other action has probability .
Steps
- Identify the greedy action: , so it is action 2 (value ).
- Exploration probability per action: .
- Greedy action probability: . The others each get . Check: .
- Expected value of the chosen action: .
- Cross-check with the mixture view: .
Common mistakes
- Giving the greedy action probability . That forgets that the random branch can also pick the greedy action.
- Giving each non-greedy action probability , so the probabilities do not sum to one.
- Mixing up two conventions. Some texts choose the random action among the other actions only. State which one you use.
How long your answer should be
4–5 lines.
Last checked on 4 December 2026.
Read this
Previous in Reinforcement learning: An agent receives reward at every step forever, with . What is its return? How many steps does it take to collect at least of that return, and what does this say about the "effective horizon" ?
Next in Reinforcement learning: An arm gives rewards , , in its first three pulls. Compute the estimate using (a) the sample-average update with step , and (b) a constant step size starting from . Why would you prefer (b) when the arm's reward distribution drifts over time?