Research Article

Performance variance in Multi-Armed Bandits: In-depth analysis of three core algorithms

Bowen Chen*
Hainan International College, Communication University of China, Hainan, China

* Corresponding author: [email protected]

Abstract

In real-time strategy games, players grapple with uncertainty regarding the best strategy for victory. This paper delves into multi-armed bandit (MAB) algorithms as potential solutions. The theoretical foundations of MAB are explored, with a focus on the crucial balance between exploration and exploitation. An experimental comparison of the Explore-Then-Commit (ETC), Upper Confidence Bound (UCB), and Thompson Sampling (TS) algorithms is conducted, showcasing their varied performance. Beyond gaming, the paper also examines the broader applications of MAB algorithms in fields such as healthcare, finance, and dynamic pricing in online retail, highlighting their versatility. A significant portion of the study is dedicated to implementing the UCB and TS algorithms in StarCraft, a popular real-time strategy game. The performance of these algorithms is assessed by calculating cumulative regret values, a metric critical to understanding their effectiveness in decision-making contexts. The results indicate that both UCB and TS algorithms substantially improve players' win rates in StarCraft. However, the study acknowledges existing challenges and the need for further research in this area. The use of MAB algorithms in complex, dynamic environments like real-time strategy games presents a rich avenue for exploration and holds significant promise for enhancing decision-making strategies in diverse domains. This research, therefore, not only contributes to the understanding of MAB algorithms in gaming but also underscores their potential in various other sectors.

Keywords: muti-armed bandit; real time strategy game; balance between exploration and exploitation
Published: June 6, 2024
DOI: 10.54254/2755-2721/68/20241405
Volume: ACE Vol.68
pp. 72-92
Download PDF

References

  1. Bouneffouf, D., & Rish, I. (2019). A survey on practical applications of multi-armed and contextual bandits. preprint:1904.10040.
  2. Agrawal, S. (2019). Recent advances in multiarmed bandits for sequential decision making. Operations Research & Management Science in the Age of Analytics, 167-188.
  3. Garivier, A., Lattimore, T., & Kaufmann, E. (2016). On explore-then-commit strategies. Advances in Neural Information Processing Systems, 29.
  4. Auer, P., Cesa-Bianchi, N., & Fischer, P. (2002). Finite-time analysis of the multiarmed bandit problem. Machine learning, 47, 235-256.
  5. Zhu, X., Xu, H., Zhao, Z., & others. (2021). An Environmental Intrusion Detection Technology Based on WiFi. Wireless Personal Communications, 119(2), 1425-1436.
  6. Nguyen-Thanh, N., Marinca, D., Khawam, K., Rohde, D., Vasile, F., Lohan, E. S., ... & Quadri, D. (2019). Recommendation system-based upper confidence bound for online advertising. preprint :1909.04190.
  7. Jesus, A. D., Liefooghe, A., Derbel, B., & Paquete, L. (2020, June). Algorithm selection of anytime algorithms. In Proceedings of the 2020 genetic and evolutionary computation conference (pp. 850-858).
  8. Kong, F., Yang, Y., Chen, W., & Li, S. (2021). The hardness analysis of thompson sampling for combinatorial semi-bandits with greedy oracle. Advances in Neural Information Processing Systems, 34, 26701-26713.
  9. Kong, F., Yin, J., & Li, S. (2022). Thompson sampling for bandit learning in matching markets. preprint:2204.12048.
  10. Baudry, D. (2022). Non-parametric algorithms for multi-armed bandits (Doctoral dissertation, Université de Lille).