On Context-Dependent Clustering of Bandits

Claudio Gentile, Shuai Li, Purushottam Kar, Alexandros Karatzoglou, Evans Etrue, Giovanni ZappellaarXiv 2016 · DOI

Abstract: We investigate a novel cluster-of-bandit algorithm CAB for collaborative recommendation tasks that implements the underlying feedback sharing mechanism by estimating the neighborhood of users in a context-dependent manner. CAB makes sharp departures from the state of the art by incorporating collaborative effects into inference as well as learning processes in a manner that seamlessly interleaving explore-exploit tradeoffs and collaborative steps. We prove regret bounds under various assumptions on the data, which exhibit a crisp dependence on the expected number of clusters over the users, a natural measure of the statistical difficulty of the learning task. Experiments on production and real-world datasets show that CAB offers significantly increased prediction performance against a representative pool of state-of-the-art methods.

TL;DR

The paper introduces CAB (Context-Aware clustering of Bandits), a novel algorithm for recommendation systems that dynamically clusters users based on the specific item being considered. By sharing feedback among "neighborhoods" of similar users in a context-dependent way, CAB significantly reduces prediction error (regret) and excels in highly dynamic environments where new users and items appear constantly.

The Challenge: Cold Starts and Static Clusters

Modern recommendation engines for platforms like YouTube or news sites face a dual challenge: they must handle a continuous stream of new content and new users while trying to learn user preferences on the fly.

Traditional Collaborative Filtering (like matrix factorization) works well for static catalogs but struggles with "cold-start" problems—it can't recommend an item it hasn't seen many ratings for. Contextual Bandits solve this by using item features to make guesses, but they often treat every user as an isolated island, ignoring the fact that users with similar tastes can provide valuable information for each other.

Existing "clustering of bandit" methods try to group similar users, but they usually assume these groups are static. In reality, two users might have identical tastes in sci-fi movies but completely different tastes in documentaries. This paper addresses the need for context-dependent clustering, where user groupings shift depending on the specific item (the context) being recommended.

Methods: The CAB Algorithm

The authors propose the CAB algorithm, which is rooted in the linear contextual bandit framework. Its operation follows four key pillars:

  1. Context-Dependent Neighborhoods: For every candidate item, CAB identifies a "neighborhood" of users likely to react similarly to that specific item. It does this by comparing the current estimated preference vectors of users.
  2. Collaborative Recommendation: Instead of just using one user's data, CAB aggregates the preference estimates and confidence bounds across the entire neighborhood for that item. This "lifting" of information allows the algorithm to make much more informed recommendations for new or infrequent users.
  3. Feedback Propagation: When a user reacts to an item (e.g., clicks an ad), CAB doesn't just update that one user's model. If the algorithm is confident enough, it propagates that feedback to update the models of all users in that item's neighborhood.
  4. Sparse Variant (spCAB): A version for high-dimensional settings where user preferences only depend on a small subset of features, using sparse recovery techniques to maintain efficiency.

Experimental Evaluation

The algorithm was evaluated on five diverse real-world and production datasets:

  • Tuenti: Ad impression data from a Spanish social network (14k users, 15M records).
  • KDD Cup 2012: Search engine ad logs.
  • Avazu: Click-through rate (CTR) prediction data.
  • LastFM: Music streaming artist recommendations.
  • Delicious: Social bookmarking tags.
Cumulative regret ratio on LastFM and Delicious datasets. Lower values indicate better performance relative to a random baseline.

Key Insights and Results

  • The "Multiplex" of Communities: The core innovation is viewing the user base as a "multiplex" of interdependent clusterings. A user belongs to many different communities simultaneously, triggered by different types of content.
  • Superior CTR: On the Tuenti dataset, CAB delivered significantly higher Click-Through Rates (CTR) compared to standard baselines like LinUCB and other state-of-the-art clustering bandit algorithms like CLUB or DynUCB.
  • Cold-Start Performance: CAB showed significant performance boosts in the "cold-start" region—the initial phase where the system knows very little about users. By "borrowing" confidence from neighbors, it learns much faster.
Click-Through Rate (CTR) performance over time for Tuenti, KDD Cup, and Avazu datasets. CAB (red) consistently outperforms state-of-the-art baselines.

Limitations and Future Work

While CAB offers superior flexibility, calculating neighborhoods for every item at every time step can be computationally expensive as the number of users grows. The algorithm also relies on specific parameters (separation $\gamma$ and exploration $\alpha$) that require tuning for different production environments. Future work includes exploring "Thompson Sampling" versions of CAB and seeking a theoretical "lower bound" for regret complexity to determine if CAB is mathematically optimal.

Summary updated

BibTeX
@misc{gentile2016context,
  author = {Claudio Gentile and Shuai Li and Purushottam Kar and Alexandros Karatzoglou and Evans Etrue and Giovanni Zappella},
  title = {{On Context-Dependent Clustering of Bandits}},
  year = {2016},
  eprint = {1608.03544},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1608.03544},
}
Figure