Bayesian Algorithms for Decentralized Stochastic Bandits

Anusha Lalitha, Andrea GoldsmithIEEE J. Sel. Areas Inf. Theory 2020

Abstract

We study a decentralized cooperative multi-agent multi-armed bandit problem with $K$ arms and $N$ agents connected over a network. In our model, each arm's reward distribution is same for all agents, and rewards are drawn independently across agents and over time steps. In each round, agents choose an arm to play and subsequently send a message to their neighbors. The goal is to minimize cumulative regret averaged over the entire network. We propose a decentralized Bayesian multi-armed bandit framework that extends single-agent Bayesian bandit algorithms to the decentralized setting. Specifically, we study an information assimilation algorithm that can be combined with existing Bayesian algorithms, and using this, we propose a decentralized Thompson Sampling algorithm and decentralized Bayes-UCB algorithm. We analyze the decentralized Thompson Sampling algorithm under Bernoulli rewards and establish a problem-dependent upper bound on the cumulative regret. We show that regret incurred scales logarithmically over the time horizon with constants that match those of an optimal centralized agent with access to all observations across the network. Our analysis also characterizes the cumulative regret in terms of the network structure. Through extensive numerical studies, we show that our extensions of Thompson Sampling and Bayes-UCB incur lesser cumulative regret than the state-of-art algorithms inspired by the Upper Confidence Bound algorithm.

Introduction

In the classical Multi-Armed Bandit (MAB) problem, an agent must balance exploration and exploitation to maximize rewards from several unknown distributions. In modern decentralized systems—such as autonomous sensor networks or distributed recommendation engines—multiple agents must collaborate to learn more efficiently. The primary challenge lies in information sharing without a central coordinator. While frequentist methods like the Upper Confidence Bound (UCB) have been widely studied in this context, Bayesian methods like Thompson Sampling often exhibit superior empirical performance. This paper bridges the gap by providing a decentralized Bayesian framework with strong theoretical guarantees.

Methodology

The authors introduce a general framework for Decentralized Bayesian MABs, characterized by a two-step process at each time step $t$:

  1. Local Tempered Update: Each agent $i$ updates its local posterior distribution based on the reward received. A critical component is the use of a "learning rate" $\eta$. Theoretical analysis reveals that setting $\eta = N$ (the total number of agents) is essential for achieving performance parity with a centralized agent.
  2. Information Assimilation via Log-Merging: Agents exchange their updated posteriors with neighbors. These distributions are then merged using a weighted average of their logarithms (equivalent to a geometric mean). This "log-averaging" rule effectively aggregates collective knowledge while accounting for uncertainty across the network.
Algorithm 1: The Decentralized Bayesian MAB Algorithm detailing the local update and log-merging steps.

This framework is applied to derive Decentralized Thompson Sampling and Decentralized Bayes-UCB, offering computationally efficient closed-form updates for common distributions like Beta-Bernoulli and Gaussian-Gaussian.

Experimental Evaluation

The algorithms were evaluated using synthetic simulations on Bernoulli and Gaussian bandits across various network topologies, including cycle graphs, square grids, and complete graphs. The study also considered dynamic environments with random link failures and gossip protocols to test resilience.

Key Results and Insights

The mathematical analysis proves that per-agent cumulative regret scales logarithmically ($\log T$), matching the performance of an optimal centralized "super-agent" that observes all rewards across the network. Numerical results demonstrate that Decentralized Thompson Sampling and Bayes-UCB significantly outperform state-of-the-art frequentist counterparts.

Cumulative regret comparison showing the superior performance of Decentralized Thompson Sampling (black line) against frequentist baselines like coopUCB and DDUCB.

Key findings include:

  • Efficiency of Log-Merging: Merging entire distributions captures network-wide uncertainty better than simple mean-averaging of rewards, leading to faster convergence.
  • Robustness: The algorithms maintain logarithmic regret regardless of the specific network topology (provided it is connected) and are resilient to communication sparsity in time-varying networks.
  • Performance Gap: Simulations showed nearly a 10-fold reduction in regret compared to algorithms like coop-UCB and DDUCB in certain settings.

Conclusion and Future Work

This work establishes a robust foundation for decentralized Bayesian learning in bandit problems. While the current theoretical analysis focuses on Bernoulli rewards, empirical evidence suggests broader applicability to Gaussian distributions. Future research aims to extend formal proofs to the general exponential family and to tighten regret bounds relative to the number of agents and network spectral gaps. Additionally, exploring contextual bandits and variational inference for complex posteriors remains an open avenue.

Summary updated

BibTeX
@article{lalitha2020bayesian,
  author = {Anusha Lalitha and Andrea Goldsmith},
  title = {{Bayesian Algorithms for Decentralized Stochastic Bandits}},
  journal = {IEEE J. Sel. Areas Inf. Theory},
  year = {2020},
  url = {https://openreview.net/forum?id=RBtkf575h7},
}
Figure