QuACK: A Multipurpose Queuing Algorithm for Cooperative k-Armed Bandits

Benjamin Howson, Sarah Filippi, Ciara Pike-Burke · DOI

Abstract

QuACK (Queuing Algorithm for Cooperative k-Armed Bandits) is a novel "black-box" framework that transforms any single-agent bandit algorithm into a high-performing cooperative multi-agent version. By employing a queuing system to manage information flow and network delays, QuACK achieves theoretical performance that matches or exceeds specialized, hand-crafted algorithms across various environments—from private data to heavy-tailed rewards.

Introduction

The multi-armed bandit (MAB) problem is a fundamental model for decision-making under uncertainty. While single-agent MAB algorithms are well-understood, many real-world applications—such as sensor networks or distributed server clusters—require cooperative learning among multiple agents. Historically, cooperative algorithms have been "bespoke," requiring manual redesign for specific constraints like Thompson Sampling or differential privacy. QuACK addresses this by providing a general-purpose reduction that "multi-agent-ifies" any bandit algorithm while maintaining its mathematical guarantees.

The QuACK Framework

QuACK operates as a leader-based reduction. The network elects a central "leader" agent, ideally the graph median to minimize communication latency. The leader runs a standard single-agent algorithm ($\pi$) and manages the flow of information using a queuing system.

Algorithm 1: The QuACK framework for leader-based cooperative learning.

The core logic involves four main steps:

  1. Leader Election: A central node is chosen to coordinate the network.
  2. Simulation: The leader runs the internal algorithm $\pi$. Instead of waiting for real-time feedback for every decision, it uses queues of rewards collected by "follower" agents.
  3. Queuing Logic: When $\pi$ selects an action, the leader checks the corresponding queue. If a reward is available, it is fed to $\pi$ immediately, simulating rapid learning.
  4. Interaction: If a queue is empty, the leader performs the action in the environment and instructs followers to do the same. Followers return their rewards to the leader to refill the queues.

This buffering mechanism allows the core algorithm to operate as if it were a single agent playing at high speed, effectively masking network delays.

Experimental Evaluation

The authors evaluated QuACK using synthetic environments to test its robustness across different reward distributions and network topologies.

Network topologies used for evaluation, including Grid and Star configurations.

Setup and Topologies

Experiments were conducted on various graph structures, including Cycle, Grid, and Star graphs (as shown above), with scales reaching up to 196 agents. Reward distributions included standard Bernoulli rewards and $\alpha$-stable densities to simulate heavy-tailed environments with extreme outliers.

Key Results

  • Theoretical Optimality: QuACK’s "group regret" (the total error across the network) matches single-agent regret plus a constant factor determined by the graph's shortest-path distances.
  • Superior Scaling: Unlike gossip-based methods that rely on iterative averaging and suffer as networks grow, QuACK-UCB maintains stable performance.
  • Privacy Integration: By using a private single-agent algorithm as the "black box," QuACK provides the first provably efficient multi-agent bandit algorithm for Local Differential Privacy (LDP).

Discussion and Future Work

QuACK demonstrates that specialized cooperative algorithms are often unnecessary; a well-designed queuing interface can leverage existing single-agent research. However, the current model assumes high-precision communication, which may not be feasible in low-power sensor networks. Additionally, the leader-based architecture presents a single point of failure. Future research could explore decentralized "multi-leader" versions or dynamic leadership hand-offs to improve robustness.

Summary updated

BibTeX
@inproceedings{howson2025quack,
  author = {Benjamin Howson and Sarah Filippi and Ciara Pike-Burke},
  title = {{QuACK: A Multipurpose Queuing Algorithm for Cooperative k-Armed Bandits}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=H623AObRxU},
}
Figure