Abstract
Classical collaborative filtering and content-based filtering methods try to learn a static recommendation model given training data. These approaches are far from ideal in highly dynamic recommendation domains such as news recommendation and computational advertisement, where the set of items and users is very fluid. In this work, we investigate an adaptive clustering technique for content recommendation based on exploration-exploitation strategies in contextual multi-armed bandit settings. Our algorithm, COFIBA (Collaborative Filtering Bandits), takes into account the collaborative effects that arise due to the interaction of the users with the items, by dynamically grouping users based on the items under consideration and, at the same time, grouping items based on the similarity of the clusterings induced over the users. We provide an empirical analysis on real-world datasets, showing scalability and increased prediction performance (as measured by click-through rate) over state-of-the-art methods for clustering bandits.
Introduction
In dynamic recommendation environments like news feeds or digital advertising, the rapid influx of new users and items poses a significant challenge for traditional static models. While Collaborative Filtering (CF) excels at identifying preference patterns, it lacks the agility for online updates. Conversely, Contextual Multi-Armed Bandits are designed for online learning but often treat users in isolation, missing the rich collaborative signals inherent in user-item interactions. This paper introduces COFIBA, an algorithm that performs on-the-fly co-clustering of both users and items to leverage these signals effectively.
Methodology
COFIBA's core innovation lies in its dual-clustering mechanism. For every item, the algorithm maintains a graph of users. If two users exhibit similar reactions to an item, they remain connected; otherwise, the edge between them is deleted. User clusters are then defined as the connected components of these graphs. Simultaneously, items are grouped into clusters if they induce similar clustering patterns over the user base.
This context-dependent similarity allows the model to recognize that users may share tastes in one domain (e.g., sports) but differ in another (e.g., politics). To ensure scalability, COFIBA utilizes sparse Erdos-Renyi random graphs, avoiding the $O(n^2)$ complexity of full user-user graphs. The algorithm employs an Upper Confidence Bound (UCB) strategy to balance the exploitation of known preferences with the exploration of uncertain ones, ensuring it picks items with high potential reward.
Experimental Results
The performance of COFIBA was evaluated on three large-scale datasets: Yahoo! News (30M visits), Telefonica (15M ad interactions), and Avazu (40M mobile ad samples).
As illustrated in the Avazu dataset results, COFIBA consistently achieves a higher Click-Through Rate (CTR) than state-of-the-art baselines such as CLUB (user-only clustering) and LinUCB (no clustering). The algorithm demonstrates particular strength in the early rounds of interaction, indicating its proficiency in handling "cold-start" scenarios where little data is initially available for new users or items. Furthermore, the use of sparse graphs allowed the algorithm to scale to millions of users, a feat computationally prohibitive for naive clustering methods.
Conclusion and Future Work
COFIBA provides a mathematically rigorous and scalable solution for online recommendation through adaptive co-clustering. While the current implementation relies on one-hot encoding for items, future enhancements could incorporate rich feature embeddings (e.g., text or image features) and a "warm-up" phase using matrix factorization to further improve initial performance. Formal regret analysis confirms that COFIBA's error rate grows at a sub-linear rate, providing mathematical guarantees for its long-term convergence to optimal behavior.
Summary updated