Research Article

Hyperparameter optimization strategy for Multi-Armed Bandits: Genre recommendation in MovieLens dataset

Juei-Che Chu*
Department of Electrical and Computer Engineering, University of Illinois Urbana-Champaign, Champaign, IL 61820, USA

* Corresponding author: [email protected]

Abstract

Due to the challenge of balancing exploration and exploitation in Multi-Armed Bandits (MAB) problems, it is rather challenging to determine the optimal exploration length for diverse datasets. This paper presents an in-depth investigation of the hyperparameter setting for the Explore-Then-Commit (ETC) algorithm, emphasizing an enforced exploration strategy to guarantee adequate exploration of each arm. This investigation will be realized in the context of movie recommendation systems, specifically utilizing the MovieLens 1M dataset. Two key hyperparameters are scrutinized: the horizon, which sets the overall timeframe of the algorithm's execution, and the number of times each arm is explored. The study systematically varies these parameters to study their influence on cumulative regret, a measure of the opportunity cost each time a non-optimal arm is sampled. The empirical examination of the ETC algorithm, conducted employing the MovieLens 1M dataset, has yielded significant discernments pertaining to the dynamic configuration of exploration lengths tailored to particular datasets. The empirical findings underscore that judicious fine-tuning of the ETC algorithm's hyperparameters, under a defined horizon of 50,000 and an exploration length of 500, engenders commendable competitive performance. This optimized configuration notably excels in the domain of genre recommendations, particularly manifesting enhanced proficiency in suggesting genres characterized by the most elevated average ratings. This research accentuates and reinforces the comprehension of hyperparameters under the exploration and exploitation dilemma, thereby providing a structured pathway for the forthcoming applicability of MAB in the wider realm of recommendation systems.

Keywords: Multi-armed bandits; explore-then-commit; hyperparameter selection
Published: February 4, 2024
DOI: 10.54254/2755-2721/34/20230324
Volume: ACE Vol.34
pp. 191-196
Download PDF

References

  1. Martín M Jiménez-Martín A Mateos A and Hernández J Z 2021 Improving A/B Testing on the Basis of Possibilistic Reward Methods: A Numerical Analysis Symmetry (20738994) 13 2175
  2. Claeys E Gançarski P Maumy-Bertrand M and Wassner H 2023 Dynamic Allocation Optimization in A/B-Tests Using Classification-Based Preprocessing IEEE Transactions on Knowledge and Data Engineering 35 335–49
  3. Garivier A Kaufmann E and Lattimore T 2016 On Explore-Then-Commit Strategies
  4. Jin T Xu P Xiao X and Gu Q 2020 Double Explore-then-Commit: Asymptotic Optimality and Beyond
  5. Yekkehkhany A Arian E Hajiesmaili M and Nagi R 2019 Risk-Averse Explore-Then-Commit Algorithms for Finite-Time Bandits 2019 IEEE 58th Conference on Decision and Control (CDC) pp 8441–6
  6. Harper F M and Konstan J A 2015 The MovieLens Datasets: History and Context ACM Trans. Interact. Intell. Syst. 5 19:1-19:19
  7. Lattimore T and Szepesvári C 2020 Bandit Algorithms (Cambridge: Cambridge University Press)
  8. Wang Q Zeng C Zhou W Li T Iyengar S S Shwartz L and Grabarnik G Ya 2019 Online Interactive Collaborative Filtering Using Multi-Armed Bandit with Dependent Arms IEEE Transactions on Knowledge and Data Engineering 31 1569–80
  9. Maryam A Kaufmann E and Riviere M-K 2021 On Multi-Armed Bandit Designs for Dose-Finding Clinical Trials Journal of Machine Learning Research 22 1–38
  10. Santana P and Moura J 2023 A Bayesian Multi-Armed Bandit Algorithm for Dynamic End-to-End Routing in SDN-Based Networks with Piecewise-Stationary Rewards Algorithms 16 233