Skip to main content
QUICK REVIEW

[Paper Review] Simple Modification of the Upper Confidence Bound Algorithm by Generalized Weighted Averages

Nobuhito Manome, Shuji Shinohara|arXiv (Cornell University)|Aug 28, 2023
Reinforcement Learning in RoboticsComputer Science3 citations
TL;DR

This paper proposes GWA-UCB1, a two-parameter generalization of the UCB1 algorithm for multi-armed bandit problems that uses generalized weighted averages to balance exploration and exploitation. The method improves performance over UCB1, Thompson sampling, and G-UCB1 across stochastic and survival MAB settings with minimal implementation changes.

ABSTRACT

The multi-armed bandit (MAB) problem is a classical problem that models sequential decision-making under uncertainty in reinforcement learning. In this study, we propose a new generalized upper confidence bound (UCB) algorithm (GWA-UCB1) by extending UCB1, which is a representative algorithm for MAB problems, using generalized weighted averages, and present an effective algorithm for various problem settings. GWA-UCB1 is a two-parameter generalization of the balance between exploration and exploitation in UCB1 and can be implemented with a simple modification of the UCB1 formula. Therefore, this algorithm can be easily applied to UCB-based reinforcement learning models. In preliminary experiments, we investigated the optimal parameters of a simple generalized UCB1 (G-UCB1), prepared for comparison and GWA-UCB1, in a stochastic MAB problem with two arms. Subsequently, we confirmed the performance of the algorithms with the investigated parameters on stochastic MAB problems when arm reward probabilities were sampled from uniform or normal distributions and on survival MAB problems assuming more realistic situations. GWA-UCB1 outperformed G-UCB1, UCB1-Tuned, and Thompson sampling in most problem settings and can be useful in many situations. The code is available at https://github.com/manome/python-mab.

Motivation & Objective

  • To address the limitations of existing UCB-based algorithms in balancing exploration and exploitation across diverse problem settings.
  • To develop a generalization of UCB1 that maintains simplicity while enhancing adaptability to different reward distributions.
  • To provide a practical, plug-in replacement for UCB1 in reinforcement learning pipelines with minimal code changes.
  • To evaluate the algorithm's robustness across stochastic and survival MAB scenarios, including realistic reward dynamics.
  • To identify optimal parameter configurations for improved performance in varied environments.

Proposed method

  • The proposed GWA-UCB1 algorithm generalizes UCB1 by incorporating generalized weighted averages to compute upper confidence bounds.
  • It introduces two tunable parameters that control the balance between exploration and exploitation through the weighting scheme.
  • The algorithm modifies the UCB1 formula by replacing the standard confidence bonus with a generalized weighted average of past rewards and uncertainties.
  • The method is designed to be backward compatible, allowing direct integration into existing UCB-based reinforcement learning frameworks.
  • The generalized weighting mechanism enables dynamic adaptation to reward variance and distributional characteristics.
  • The algorithm is evaluated using both synthetic MAB problems with uniform and normal reward distributions and survival MAB problems simulating real-world constraints.

Experimental results

Research questions

  • RQ1How does GWA-UCB1 perform compared to UCB1, Thompson sampling, and G-UCB1 in stochastic multi-armed bandit problems with two arms?
  • RQ2Can the generalized weighted average formulation improve performance across diverse reward distributions, including uniform and normal distributions?
  • RQ3How does GWA-UCB1 perform in survival MAB problems that model real-world constraints such as time-dependent or censored rewards?
  • RQ4What are the optimal parameter settings for GWA-UCB1 in different MAB problem configurations?
  • RQ5To what extent does the two-parameter generalization enhance adaptability and robustness compared to standard UCB1?

Key findings

  • GWA-UCB1 outperformed UCB1, Thompson sampling, and G-UCB1 in most tested stochastic MAB settings with two arms.
  • The algorithm demonstrated superior performance when arm reward probabilities were sampled from uniform or normal distributions.
  • In survival MAB problems, which model more realistic scenarios with censored or time-dependent rewards, GWA-UCB1 maintained strong performance.
  • The optimal parameter configuration for GWA-UCB1 was found to be sensitive to the underlying reward distribution, highlighting its adaptability.
  • The simple modification to the UCB1 formula enabled significant performance gains without increasing computational complexity.
  • The code for GWA-UCB1 is publicly available, facilitating reproducibility and integration into existing reinforcement learning systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.