Meta Clustering of Neural Bandits

Yikun Ban, Yunzhe Qi, Tianxin Wei, Lihui Liu, Jingrui He

Abstract

Traditional Clustering of Bandits (COB) algorithms have long relied on the assumption of linear reward functions to balance user personalization with collaborative filtering. However, real-world preferences are often non-linear and context-dependent. This paper introduces Meta Clustering of Neural Bandits (M-CNB), a framework that leverages neural networks and meta-learning to dynamically cluster users based on non-linear preferences. By employing a meta-learner to capture shared knowledge across clusters, M-CNB achieves superior adaptation and theoretical robustness, outperforming state-of-the-art baselines across diverse recommendation and classification tasks.

1. Introduction

Modern recommendation systems operate in a state of constant tension between user heterogeneity—the unique preferences of an individual—and user correlations—the shared tastes that allow a system to learn from collective behavior. Contextual bandits serve as the primary mathematical framework for navigating this exploration-exploitation trade-off.

While existing "Clustering of Bandits" (COB) methods improve learning speed by grouping similar users, they suffer from two primary limitations:

  1. Linearity Constraints: They almost exclusively assume linear reward functions, which fail to capture the complex, high-dimensional relationships between item features and user preferences.
  2. Static Grouping: Traditional models assume user clusters are global and static. In practice, two users may exhibit similar preferences for one category (e.g., "country music") but diverge significantly in another (e.g., "rock music").

M-CNB addresses these gaps by introducing a neural-based approach that supports non-linear rewards and "relative clustering."

2. The M-CNB Framework

M-CNB utilizes a hierarchical neural architecture to bridge the gap between individual learning and collaborative meta-learning.

2.1 Neural User Learners

Each user in the system is associated with a dedicated neural network. These learners are responsible for estimating user-specific preferences and, crucially, identifying which "relative cluster" a user belongs to for a specific item at a specific time. This allows the system to maintain a high degree of personalization.

2.2 The Meta-Learner ($\Theta$)

In linear models, collaborative learning is often achieved by simply averaging parameters. This approach is insufficient for complex neural networks. M-CNB instead employs a meta-learner inspired by Model-Agnostic Meta-Learning (MAML). This meta-learner captures the shared underlying structure of a cluster, providing a "prior" that can rapidly adapt to a specific group's behavior with minimal samples.

2.3 Dynamic Relative Clustering

Unlike traditional methods that assign users to fixed groups, M-CNB utilizes relative clustering. Users are grouped based on the similarity of their neural network outputs for a specific arm context. This means the cluster structure is fluid and item-varying, allowing the model to capture nuanced, context-dependent correlations between users.

2.4 Exploration Strategy

The algorithm employs an Upper Confidence Bound (UCB) strategy for exploration. This strategy integrates both user-specific confidence intervals and meta-side information, ensuring that the system explores new items effectively while leveraging the collective knowledge of the identified cluster.

3. Theoretical Robustness

A significant contribution of M-CNB is its theoretical framework. Many neural bandit proofs fail when faced with adversarial context attacks (e.g., identical or parallel contexts that lead to a singular Neural Tangent Kernel matrix). M-CNB’s regret analysis is instance-dependent, ensuring the model remains robust even when items are repeated or contexts are manipulated by an adversary.

4. Empirical Evaluation

4.1 Datasets and Setup

The researchers evaluated M-CNB against eight strong baselines, including linear clustering methods (CLUB, COFIBA) and standard neural bandits (NeuralUCB). The evaluation spanned two domains:

  • Recommendation Systems: Amazon (E-commerce), Facebook (Social), MovieLens (Movies), and Yelp (Business).
  • Online Classification: Image datasets (MNIST, CIFAR-10, Fashion-MNIST) and tabular data (Mushroom, MagicTelescope), where classes were treated as "users" to test cross-class correlation exploitation.

4.2 Key Results

M-CNB consistently achieved state-of-the-art results:

  • Performance Gains: The model improved performance by 8.1% on MovieLens, 7.7% on Facebook, and 5.8% on Amazon compared to the strongest baselines.
  • Handling Non-Linearity: On complex image datasets like CIFAR-10, M-CNB demonstrated a significantly lower regret curve, proving its ability to capture non-linear rewards where linear models reached a performance plateau.
  • Computational Efficiency: Despite the added complexity of meta-learning, the clustering process remains $O(n)$. While the computational overhead is 1.6x to 2.9x higher than a single neural network, the jump in accuracy provides a compelling trade-off for production environments.

5. Discussion and Future Work

While M-CNB represents a significant step forward, several avenues for optimization remain. To scale the system to millions of users, the authors suggest a "pre-clustering" phase using K-means on user features to reduce the number of active user learners. Additionally, future research could investigate reducing the frequency of neural network updates to optimize the computational budget without degrading recommendation quality. Finally, while the model is robust, fine-tuning hyperparameters like the cluster exploration factor ($\nu$) remains a critical task for deployment in highly dynamic environments.

6. Conclusion

M-CNB successfully bridges the gap between individual personalization and collaborative learning by moving beyond linear assumptions. Through the combination of neural representation, meta-learning, and dynamic relative clustering, it provides a robust and high-performing framework for modern, non-linear recommendation challenges.

Summary updated

BibTeX
@inproceedings{ban2024meta,
  author = {Yikun Ban and Yunzhe Qi and Tianxin Wei and Lihui Liu and Jingrui He},
  title = {{Meta Clustering of Neural Bandits}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2024},
  url = {https://openreview.net/forum?id=PU808CdLg9},
}
Figure