Optimization strategy for the pull arm function in the Multi-Armed Bandit algorithm
Abstract
Within the domain of Multi-Armed Bandit (MAB) quandaries, the efficacy exhibited by the arm-pulling function stands as a determinant factor governing algorithmic performance. This study undertakes a systematic exploration of enhancing this function's optimization vis-à-vis the MovieLens dataset, with a specific focus on three prominent MAB algorithms: Upper Confidence Bound (UCB), Explore-Then-Commit (ETC), and Thompson Sampling (TS). The present exposition introduces an innovative methodology tailored to the Python 3.11 computational environment. Central to this approach is the pre-calculation of arm-specific reward frequencies, obviating the necessity for dataset look-up and thereby streamlining the reward selection process. Subsequently, a binomial distribution is fitted to these frequencies, ensuring rapid and accurate reward sampling. When benchmarked, the optimized version of the pull arm function showcased a remarkable reduction in execution time compared to their initial counterparts, all while maintaining algorithmic accuracy. The Thompson Sampling algorithm notably outperformed the others, exhibiting the lowest cumulative regret across diverse trial sizes. This research emphasizes the significance of refining core components in MAB algorithms and paves the way for practical enhancements in real-world applications.
References
- Robbins H 1952 Some aspects of the sequential design of experiments.
- Kuleshov V and Doina P 2014 Algorithms for multi-armed bandit problems
- Kawale J and Elliot C 2018 A MultiArmed Bandit Framework for Recommendations at Netflix
- Wang Y 2023 A Review of Multi-Armed Bandits Applications at Lyft
- Auer P Cesa-Bianchi N and Fischer P 2002 Finite-time analysis of the multiarmed bandit problem (Machine learning) 47 235-256.
- Perchet V Rigollet P Chassang S and Snowberg E 2016 Batched bandit problems
- Garivier A Lattimore T and Kaufmann E 2016 On explore-then-commit strategies (Advances in Neural Information Processing Systems) p 29
- Agrawal S and Goyal N 2012 Analysis of thompson sampling for the multi-armed bandit problem (JMLR Workshop and Conference Proceedings) pp 39-1
- Yu Q Wang J Jin Z et al 2022 Pose-guided matching based on deep learning for assessing quality of action on rehabilitation training Biomedical Signal Processing and Control 72: 103323
- Beltratti A Margarita S Terna P 1996 Neural networks for economic and financial modelling London UK: International Thomson Computer Press