Demystifying Online Clustering of Bandits: Enhanced Exploration Under Stochastic and Smoothed Adversarial Contexts

Zhuohua Li, Maoli Liu, Xiangxiang Dai, John C.s. Lui

Introduction

In modern recommendation systems, the "online clustering of bandits" framework has emerged as a powerful tool for balancing personalization with data efficiency. By assuming that users with similar preferences form clusters, systems can share information across a group, learning much faster than they would by treating every user in isolation. However, a significant gap has persisted between theoretical models and real-world application. Most existing algorithms rely on restrictive mathematical assumptions—specifically, that data is independent and identically distributed (i.i.d.)—which rarely hold in practice.

This paper addresses these limitations by introducing two new algorithms, UniCLUB and PhaseUniCLUB. These methods move away from traditional exploration strategies to more effectively identify user clusters under a more realistic "smoothed adversarial" context setting.

The UCB Paradox in Clustering

Most state-of-the-art clustering bandit algorithms, such as the widely used CLUB, rely on the Upper Confidence Bound (UCB) strategy. UCB is designed to balance the trade-off between exploration (trying new things) and exploitation (choosing the best known option). While UCB is highly effective for standard bandit problems, it introduces a paradox in the context of clustering.

Because UCB is "optimistic," it quickly converges on what it perceives to be the optimal arm. Once it finds a high-performing arm, it stops exploring the rest of the feature space. However, identifying which cluster a user belongs to requires broad statistical information across the entire feature space—information that UCB fails to gather. To compensate for this lack of information, previous researchers had to assume that the environment naturally provides "diverse" contexts in an i.i.d. manner. When this assumption is violated, as it often is in real-world data, cluster identification fails, and performance degrades.

Strategic Exploration: UniCLUB and PhaseUniCLUB

To resolve the UCB paradox, the authors propose a shift in algorithmic design: Enhanced Exploration. Instead of relying solely on UCB, the proposed algorithms incorporate a strategic "pure exploration" phase where arms are selected uniformly at random. This "dumb" exploration is actually a smarter way to gather the specific data needed to distinguish between similar user clusters.

  1. UniCLUB: Designed for scenarios where the minimum "gap" (the statistical difference) between user clusters is known. It utilizes a fixed exploration period ($T_0$) to accurately identify cluster memberships before transitioning to a standard exploitation phase.
  2. PhaseUniCLUB: Addresses the more common real-world scenario where the cluster gap is unknown. It employs a "doubling trick," alternating between exploration and UCB sub-phases to gradually refine cluster estimates over time.
  3. UniSCLUB: An extension of these principles to set-based clustering models.

Beyond i.i.d.: Smoothed Adversarial Contexts

A second major contribution of this work is the introduction of the Smoothed Adversarial context setting. In a fully adversarial setting, an opponent chooses contexts to be as difficult as possible, which often makes clustering impossible. In the i.i.d. setting, contexts are chosen randomly, which is often too simplistic.

Inspired by "smoothed analysis," the authors propose a middle ground: an adversary chooses the contexts, but a small amount of Gaussian noise is added. This tiny bit of "natural jitter" provides enough diversity for the algorithms to identify clusters effectively without requiring the restrictive assumptions of the i.i.d. model. This captures the reality of real-world data, which is rarely perfectly random but usually contains some inherent noise.

Empirical Evaluation and Results

The authors evaluated their approach using synthetic data and three major recommendation benchmarks: MovieLens-25M, Last.fm, and Yelp. Using Singular Value Decomposition (SVD) to create feature and preference vectors, they simulated the online bandit process.

Key Findings

  • Theoretical Robustness: The authors achieved regret bounds of $\tilde{O}(ud/(\gamma^2\lambda_x) + d\sqrt{mT})$, matching the minimax near-optimal regret for linear bandits while significantly relaxing the requirements for cluster identification.
  • Superior Performance: In head-to-head empirical tests, UniCLUB and UniSCLUB consistently outperformed their predecessors (CLUB and SCLUB) across all real-world datasets.
  • Efficiency: Despite the inclusion of a pure exploration phase, the running time of these algorithms remains comparable to standard UCB-based clustering, making them viable for production environments.

Conclusion and Future Work

By demonstrating that uniform exploration is a feature rather than a bug in clustering bandits, this research provides a more robust foundation for recommendation systems. The move toward smoothed adversarial contexts bridges the gap between theoretical models and the messy reality of user data.

However, several avenues for future research remain. The current models assume a linear reward structure; extending these techniques to non-linear models (such as Neural Bandits) is a logical next step. Additionally, while the smoothed adversarial setting is a major step forward, achieving similar results in a fully adversarial environment remains an open challenge. Finally, future iterations could account for dynamic clusters, where user preferences and group memberships shift over time.

Summary updated

BibTeX
@inproceedings{li2025demystifying,
  author = {Zhuohua Li and Maoli Liu and Xiangxiang Dai and John C.S. Lui},
  title = {{Demystifying Online Clustering of Bandits: Enhanced Exploration Under Stochastic and Smoothed Adversarial Contexts}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=421D67DY3i},
}
Figure