Online Clustering of Bandits with Misspecified User Models

Zhiyong Wang, Jize Xie, Xutong Liu, Shuai Li, John C.s. Lui

Abstract

Contextual bandits often leverage clustering to group similar users and accelerate learning through collaborative filtering. However, traditional Clustering of Bandits (CB) algorithms rely on the fragile assumptions that user preferences are perfectly linear and identical within clusters. This paper introduces the first robust clustering bandit algorithms, RCLUMB and RSCLUMB, designed to handle "misspecified" user models where rewards deviate from strict linearity. By incorporating tolerant edge deletion, 1-hop cluster filtering, and enlarged confidence radii, these algorithms maintain performance in the presence of noise. Theoretical analysis provides tight regret bounds, and empirical evaluations on Yelp and MovieLens datasets demonstrate significant improvements over state-of-the-art baselines.

Introduction

In modern online recommendation systems, contextual linear bandits serve as a foundational framework for balancing the exploration of new items with the exploitation of known user preferences. To scale these systems to millions of users, researchers typically employ Clustering of Bandits (CB). These methods group users with similar behaviors into clusters, allowing them to share data and learn more efficiently—a form of online collaborative filtering.

Despite their success, existing CB algorithms are often brittle due to two primary assumptions:

  1. Perfect Linearity: The expected reward for an item is assumed to be a perfectly linear function of its features.
  2. Cluster Homogeneity: All users within a cluster are assumed to share the exact same preference vector.

In real-world applications, these assumptions rarely hold. Human behavior is complex, features are often noisy, and users within a demographic cluster are rarely identical. When these models encounter "misspecification," standard CB algorithms tend to fail, either by converging on incorrect preferences or by prematurely fragmenting clusters, which nullifies the benefits of data sharing. This paper addresses this gap by formalizing the Clustering of Bandits with Misspecified User Models (CBMUM) problem.

Methods and Algorithms

The authors propose a model where rewards include an unknown additive deviation from linearity, bounded by a maximum misspecification level, $\epsilon_*$. To navigate this environment, they developed RCLUMB (Robust Clustering of Bandits) and RSCLUMB (Robust Set-based Clustering of Bandits).

Key Algorithmic Innovations

RCLUMB improves upon standard graph-based clustering through three critical modifications:

  • Tolerant Edge Deletion: Standard algorithms delete edges between users at the first sign of divergence. RCLUMB relaxes this threshold to account for $\epsilon_*$, preventing the algorithm from splitting similar users due to inherent model noise.
  • 1-Hop Cluster Filtering: In traditional CB, a user’s cluster is defined by their entire connected component in a similarity graph. Under misspecification, errors can compound across a chain of users (e.g., User A is similar to B, and B to C, but A is very different from C). RCLUMB restricts information sharing to direct 1-hop neighbors, preventing "preference drift" within clusters.
  • Enlarged Confidence Radius: To account for the uncertainty introduced by non-linear deviations, the algorithm expands the confidence radius used in the Upper Confidence Bound (UCB) selection process, ensuring more robust exploration.

Theoretical Insights

The paper establishes that under misspecification, perfect clustering is mathematically impossible. Instead, the goal shifts to maintaining a "good partition"—grouping users who are $\zeta$-close, where $\zeta$ is a function of the misspecification level.

A core theoretical contribution is the proof that intentional "misclustering" (grouping slightly different users to gain collaborative benefits) can be bounded. The authors prove a regret upper bound of $O(\epsilon_*T\sqrt{md\log T} + d\sqrt{mT\log T})$, which asymptotically matches their proven lower bound of $\Omega(\epsilon_*T\sqrt{d})$ regarding time $T$. This indicates that the algorithms are near-optimal for the CBMUM setting.

Empirical Evaluation

The algorithms were tested against synthetic data and two real-world datasets: Yelp and MovieLens 20M.

  • Synthetic Results: RCLUMB demonstrated a 21.9% improvement over standard clustering bandits (CLUB) and a 194.8% improvement over standard linear bandits (LinUCB).
  • Real-World Performance: On Yelp and MovieLens, both RCLUMB and RSCLUMB consistently outperformed baselines. A key finding was the algorithms' robustness: even when the exact misspecification level $\epsilon_*$ was unknown and replaced with a heuristic estimate, the robust algorithms still maintained a performance edge over existing state-of-the-art methods.

Conclusion

This work provides a robust framework for online clustering in the presence of model misspecification. By moving away from the assumption of perfect linearity, RCLUMB and RSCLUMB offer a more realistic approach to recommendation systems. Future research directions include developing methods to automatically adapt to the misspecification level $\epsilon_*$ without prior knowledge and exploring scenarios where the underlying cluster structure itself may change over time.

Summary updated

BibTeX
@inproceedings{wang2023online,
  author = {Zhiyong Wang and Jize Xie and Xutong Liu and Shuai Li and John C.S. Lui},
  title = {{Online Clustering of Bandits with Misspecified User Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=CQuRzAgjg9},
}
Figure