Research Article

Multi-Armed Bandit Algorithms: Learning from Experience

Ziyue Zhou*
Xi ’ an Jiaotong-Liverpool University

* Corresponding author: [email protected]

Abstract

Consider a scenario where a decision-maker faces a row of slot machines, each offering unknown and varying payout rates. The objective is to maximize cumulative rewards, yet each action simultaneously provides new information. This problem—balancing the exploration of new options against the exploitation of known rewarding ones—is termed the multi-armed bandit problem. It has evolved from a simple gambling question into a fundamental tool for modern computer systems. This paper looks at three main ways to solve this problem: Explore-Then-Commit, Upper Confidence Bound, and Thompson Sampling. Through careful testing, Thompson Sampling stands out as the best performer, cutting total regret down to 0.60 where UCB reaches 3.63. It also handles delays well—when feedback comes 1000 steps late, Thompson Sampling's lead over UCB grows to nearly 4 times. The paper shows where these methods are used in real life: online ads, where they improve click rates by about 11%; movie and music suggestions, where they help new users find content they like; and medical trials, where they can put over 80% of patients on better treatments. The paper ends with a look at new research areas, including methods that adapt to changing conditions and handle complex choices.

Keywords: multi-armed bandit; exploration-exploitation trade-off; Thompson Sampling; Upper Confidence Bound; regret minimization
Published: July 22, 2026
DOI: 10.54254/2755-2721/2026.CH35582
Volume: ACE Vol.247
pp. 175-181
Download PDF

References

  1. Robbins, H. (1952). Some aspects of the sequential design of experiments.Bulletin of the American Mathematical Society, 58(5), 527–535.
  2. Auer, P., Cesa-Bianchi, N., Freund, Y., & Schapire, R. E. (2002). The nonstochastic multiarmed bandit problem.SIAM Journal on Computing, 32(1), 48–77.
  3. Lai, T. L., & Robbins, H. (1985). Asymptotically efficient adaptive allocation rules.Advances in Applied Mathematics, 6(1), 4–22.
  4. Auer, P., Cesa-Bianchi, N., & Fischer, P. (2002). Finite-time analysis of the multiarmed bandit problem.Machine Learning, 47(2–3), 235–256.
  5. Thompson, W. R. (1933). On the likelihood that one unknown probability exceeds another in view of the evidence of two samples.Biometrika, 25(3–4), 285–294.
  6. Chapelle, O., & Li, L. (2011). An empirical evaluation of Thompson sampling.Advances in Neural Information Processing Systems, 24, 2249–2257.
  7. Kuleshov, V., & Precup, D. (2014). Algorithms for the multi-armed bandit problem.Journal of Machine Learning Research, 1–49.
  8. Bubeck, S., & Cesa-Bianchi, N. (2012). Regret analysis of stochastic and nonstochastic multi-armed bandit problems.Foundations and Trends in Machine Learning, 5(1), 1–122.
  9. Li, L., Chu, W., Langford, J., & Schapire, R. E. (2010). A contextual-bandit approach to personalized news article recommendation. InProceedings of the 19th International Conference on World Wide Web(pp. 661–670).
  10. Villar, S. S., Bowden, J., & Wason, J. (2015). Multi-armed bandit models for the optimal design of clinical trials: Benefits and challenges.Statistical Science, 30(2), 199–215.
  11. Slivkins, A. (2019). Introduction to multi-armed bandits.Foundations and Trends in Machine Learning, 12(1–2), 1–286.
  12. Russo, D., & Van Roy, B. (2014). Learning to optimize via information-directed sampling.
  13. (2019). Thompson sampling based methods for reinforcement learning.Columbia University Tutorial.
  14. (2026). A comparative analysis of cumulative regret based on multi-armed bandit algorithms.American Journal of Science and Technology.
  15. Xu, S. (2021). BanditMF: Multi-armed bandit based matrix factorization recommender system.ArXiv, abs/2106.10898.