Near Optimal Best Arm Identification for Clustered Bandits

Yash, Avishek Ghosh, Nikhil Karamchandani

Abstract

Identifying the optimal choice for a large population of agents is a fundamental challenge in recommendation systems. While individual-level optimization is data-intensive and population-wide averaging is inaccurate, real-world users often exhibit clustered preferences. This paper explores the "Heterogeneous Federated Bandits" problem, where agents belong to unknown clusters. We propose two novel algorithms—Clustering then Best Arm Identification (Cl-BAI) and Best Arm Identification then Clustering (BAI-Cl)—that leverage these latent structures. Our optimized variant, BAI-Cl++, achieves near-optimal sample complexity. Empirical evaluations on synthetic and real-world datasets (MovieLens, Yelp) demonstrate up to a 72% reduction in arm pulls compared to traditional methods.

Introduction

In many real-world recommendation scenarios, such as Netflix movie suggestions or Yelp business ratings, a central server must identify the "best" arm for a diverse set of agents. Treating every user as a unique individual is prohibitively expensive in terms of sample complexity, requiring extensive arm pulls for each person. Conversely, assuming a homogeneous population fails to capture the nuances of user preferences. This paper addresses the middle ground: agents are heterogeneous but fall into a small number of unknown clusters (e.g., users grouped by genre preference). The goal is to identify the best arm for every agent with high confidence while minimizing the total number of samples and communication overhead.

Methodology

The authors propose two main algorithmic strategies based on the Successive Elimination (SE) framework to exploit the clustered structure of the agent population.

Clustering then Best Arm Identification (Cl-BAI)

Cl-BAI operates in two phases. First, every agent pulls arms to obtain a coarse estimate of their preferences. The server then constructs a similarity graph where edges connect agents with similar estimated rewards; the connected components of this graph define the clusters. In the second phase, the server selects a representative from each cluster to perform a deep-dive identification of the best arm, which is then assigned to all members of that cluster.

Best Arm Identification then Clustering (BAI-Cl)

BAI-Cl takes the opposite approach. The server samples agents sequentially to identify the $M$ distinct best arms present across all clusters. Once these candidate arms are identified, all remaining agents are tested only against this small set of $M$ arms rather than the full set of $K$ arms. An optimized version, BAI-Cl++, utilizes an additional "separability" assumption to further reduce the pulls needed to match an agent to a cluster.

Experimental Results

The proposed algorithms were evaluated using synthetic datasets and real-world data from MovieLens-1M and Yelp.

Scalability and Efficiency

A primary insight of this work is that solving the bandit problem $M$ times (once per cluster) is significantly more efficient than solving it $N$ times (once per agent) when $M \ll N$. In experiments on the MovieLens dataset, BAI-Cl++ achieved a 72% reduction in sample complexity compared to a naive approach that ignores clustering. As shown in the scaling plots, the gap between the clustered algorithms and the naive baseline widens as the number of agents increases.

Sample complexity scaling with the number of agents (MovieLens-1M).

Impact of Cluster Separability

The theoretical guarantees of these methods rely on a separability parameter (eta), which represents the distinctness between clusters. Experimental results confirm that as clusters become more differentiated (increasing eta), the number of pulls required to correctly identify the best arms decreases significantly, highlighting the robustness of the clustering approach in well-separated environments.

Total arm pulls as a function of the cluster separability parameter eta.

Conclusion

This research demonstrates that leveraging latent cluster structures in federated bandit settings can lead to near-optimal efficiency. BAI-Cl++ is shown to be minimax optimal for a constant number of clusters, effectively hitting the theoretical speed limit for this problem class. Future work will focus on scenarios with an unknown number of clusters and decentralized communication protocols.

Summary updated

BibTeX
@inproceedings{yash2025near,
  author = {Yash and Avishek Ghosh and Nikhil Karamchandani},
  title = {{Near Optimal Best Arm Identification for Clustered Bandits}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=3Jr5Al16MS},
}
Figure