Research Article

Comparative Analysis of Three Algorithms in Multi-Armed Bandit Problems

Jianke Shao*
School of Mathematics, Harbin Institute of Technology, Weihai, Weihai, Shandong, 264209, China

* Corresponding author: [email protected]

Abstract

As the discipline of machine learning becomes more and more popular and algorithms for Multi-Armed Bandit (MAB) problems are used more and more frequently, how to choose the appropriate algorithms in contexts with different characteristics is an important topic. Therefore, this study compares the three algorithms by introducing the core connotation and advantages and disadvantages of the explore-then-commit algorithm, upper confidence bound algorithm, and thompson sampling algorithm, and gives the three algorithms' existing optimisation algorithms at the moment, which provides a reference to the selection of suitable algorithms. The Explore-Then-Commit (ETC) algorithm is simple, whereas the Upper Confidence Bound (UCB) algorithm optimises the interface between the exploring and exploitation phases of the ETC algorithm and thus performs relatively consistently, the Thompson sampling algorithm outperforms the first two algorithms in many cases as it naturally balances exploration and exploitation. ETC is suitable for static environments, and UCB is suitable for scenarios where there is continual exploration. However, as more data is available, regret must be reduced over time. decreases and scenarios where there is a need to reduce regret over time, and the Thompson sampling algorithm is suitable for highly uncertain environments.

Keywords: Multi-Armed Bandit; Explore-Then-Commit; Upper Confidence Bound
Published: February 21, 2025
DOI: 10.54254/2753-8818/2025.21022
Volume: TNS Vol.84
pp. 1-8
Download PDF

References

  1. Bouneffouf, D., Rish, I., & Aggarwal, C. (2020). Survey on applications of multi-armed and contextual bandits. 2020 IEEE Congress on Evolutionary Computation (CEC), Glasgow, UK, 1-8.
  2. Bouneffouf, D., & Féraud, R. (2016). Multi-armed bandit problem with known trend. Neurocomputing, 205, 16-21.
  3. Vermorel, J., & Mohri, M. (2005). Multi-armed bandit algorithms and empirical evaluation. In J. Gama, R. Camacho, P. B. Brazdil, A. M. Jorge, & L. Torgo (Eds.), Machine Learning: ECML 2005 (Vol. 3720, pp. 437-448). Springer, Berlin, Heidelberg.
  4. Ontanon, S. (2021). The combinatorial multi-armed bandit problem and its application to real-time strategy games. Proceedings of the AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment, 9(1), 58-64.
  5. 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.
  6. Garivier, A., Lattimore, T., & Kaufmann, E. (2016). On explore-then-commit strategies. Advances in Neural Information Processing Systems, 29, 1-9.
  7. Pagare, T., & Ghosh, A. (2024). Explore-then-commit algorithms for decentralized two-sided matching markets. In 2024 IEEE International Symposium on Information Theory (ISIT) (pp. 2092-2097). IEEE.
  8. Garivier, A., Lattimore, T., & Kaufmann, E. (2016). On explore-then-commit strategies. In Advances in Neural Information Processing Systems (pp. 784–792).
  9. Jin, T., et al. (2021). Double explore-then-commit: Asymptotic optimality and beyond. In Conference on Learning Theory (pp. 2584-2633). PMLR.
  10. Audibert, J.-Y., Munos, R., & Szepesvári, C. (2009). Exploration-exploitation tradeoff using variance estimates in multi-armed bandits. Theoretical Computer Science, 410(19), 1774-1808.
  11. Srinivas, N., Krause, A., Kakade, S., & Seeger, M. (2010). Gaussian process optimization in the bandit setting: No regret and experimental design. In Proceedings of the International Conference on Machine Learning (ICML).
  12. Chu, W., Li, L., Reyzin, L., & Schapire, R. (2011). Contextual bandits with linear payoff functions. Proceedings of the AISTATS, 10, 208-214.
  13. Srinivas, N., Krause, A., Kakade, S., & Seeger, M. (2012). Information-theoretic regret bounds for Gaussian process optimization in the bandit setting. IEEE Transactions on Information Theory, 58(5), 2922-2947.
  14. Jamieson, K., Malloy, M., Nowak, R., & Bubeck, S. (2013). Lil' UCB: An optimal exploration algorithm for multi-armed bandits. arXiv preprint arXiv:1306.6671.
  15. Gisselbrecht, T., Lamprier, S., & Gallinari, P. (2015). Policies for contextual bandit problems with count payoffs. 2015 IEEE 27th International Conference on Tools with Artificial Intelligence (pp. 721-728). IEEE.
  16. Gordillo, C., Frank, B., Ulbert, I., Paul, O., Ruther, P., Burgard, W. (2016). Automatic channel selection in neural microprobes: A combinatorial multi-armed bandit approach. 2016 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2968-2974.
  17. Garivier, A., & Moulines, E. (2011). On upper-confidence bound policies for switching bandit problems. In J. Kivinen, C. Szepesvári, E. Ukkonen, & T. Zeugmann (Eds.), Algorithmic Learning Theory (ALT 2011) (Vol. 6925, pp. 1-12). Springer, Berlin, Heidelberg.
  18. Garivier, A., & Moulines, E. (2008). On upper-confidence bound policies for non-stationary bandit problems. arXiv preprint arXiv:0805.3415.
  19. Kaufmann, E., Cappé, O., & Garivier, A. (2012). On Bayesian upper confidence bounds for bandit problems. In Artificial Intelligence and Statistics (pp. 592-600). PMLR.
  20. Ottens, B., Dimitrakakis, C., & Faltings, B. (2012). DUCT: An upper confidence bound approach to distributed constraint optimization problems. Proceedings of the AAAI Conference on Artificial Intelligence, 26(1), 1440-1446.
  21. Zoghi, M., Whiteson, S., Munos, R., & de Rijke, M. (2013). Relative upper confidence bound for the k-armed dueling bandit problem. arXiv preprint arXiv:1310.5799.
  22. Liu, Y.-C., & Tsuruoka, Y. (2016). Modification of improved upper confidence bounds for regulating exploration in Monte-Carlo tree search. Theoretical Computer Science, 635, 104-118.
  23. Huang, K.-H., & Lin, H.-T. (2016). Linear upper confidence bound algorithm for contextual bandit problem with piled rewards. Proceedings of the Conference on Neural Information Processing Systems (NeurIPS), 2901-2909.
  24. Li, Y., Hu, Q., & Li, N. (2018). Learning and selecting the right customers for reliability: A multi-armed bandit approach. 2018 IEEE Conference on Decision and Control (CDC), 1488-1493.
  25. Kaufmann, E., Korda, N., & Munos, R. (2012). Thompson sampling: An asymptotically optimal finite-time analysis. arXiv preprint arXiv:1207.2720.
  26. Agrawal, S., & Goyal, N. (2012). Thompson sampling for contextual bandits with linear payoffs. arXiv preprint arXiv:1209.3352.
  27. Russo, D., & Van Roy, B. (2014). An information-theoretic analysis of Thompson sampling. arXiv preprint arXiv:1401.5336.
  28. Riquelme, C., Tucker, G., & Snoek, J. (2018). Deep Bayesian bandits showdown: An empirical comparison of Bayesian deep networks for Thompson sampling. International Conference on Learning Representations (ICLR).
  29. Wang, S., & Chen, W. (2018). Thompson sampling for combinatorial semi-bandits. arXiv preprint arXiv:1802.07691.
  30. Kong, F., Yin, J., & Li, S. (2022). Thompson sampling for bandit learning in matching markets. Proceedings of the International Joint Conference on Artificial Intelligence (IJCAI).