Sketch why UCB1 has regret growing only like . For a suboptimal arm with gap , how do you show that it is pulled about times at most, and what does this give for and ?
Reinforcement learning, Multi-armed bandits
Level L4 Advanced. Length Long. Nature Mat Mathematical.
What's being asked
Whether you can combine a Hoeffding confidence bound with a counting argument to bound the number of pulls of a suboptimal arm.
Key idea
UCB1 pulls arm only if its index , with , is at least the best arm's index. Once , the bonus is at most , and this is impossible unless a low-probability confidence event fails.
Steps
- Hoeffding for rewards in : . With this is , and the same holds for the lower tail.
- Define "good" events. The optimal arm's index satisfies , and arm 's mean satisfies . Each fails with probability per count value.
- On good events, suppose arm has been pulled times. Then for .
- So arm 's index is at most , which is at most the optimal arm's index. Arm is not chosen (ties aside), so it is pulled at most times plus pulls on bad events.
- Sum the bad-event probabilities. For each round there are at most pairs of pull counts, each failing with probability , so the failure probability is . The series converges, which gives a constant such as . So .
- Regret is , which is .
- Numbers: , give pulls at most, and regret about from this arm, plus a small constant. Even with rounds the logarithm gives a strong saving over the linear regret of a bad fixed choice.
Common mistakes
- Claiming the bound is gap-free. As the term blows up, and the gap-free bound is .
- Forgetting the bad events. Without them the argument says UCB1 never pulls a suboptimal arm too often, even when the estimates are unlucky.
- Confusing regret with the number of pulls. Regret weights each pull of arm by its gap .
How long your answer should be
A page with the key steps; 8 minutes.
Last checked on 4 December 2026.
Read this
Previous in Reinforcement learning: TRPO maximises a surrogate improvement subject to a KL bound. Linearise the objective as and the constraint as , where is the policy gradient and is the Fisher information matrix. Derive the step . For , and , what is , and how does its improvement compare with a plain gradient step that uses the same KL?
Next in Reinforcement learning: A replay buffer holds transitions with absolute TD errors . Prioritised experience replay samples transition with probability with and . Compute the sampling probabilities and the importance-sampling weights (normalised by their maximum) for and . Why are the weights needed?