Online Clustering of Dueling Bandits

Zhiyong Wang, Jiahang Sun, Mingze Kong, Jize Xie, Qinghua Hu, John C.s. Lui, Zhongxiang Dai

Abstract

This paper introduces the first framework for Online Clustering of Dueling Bandits, enabling multiple users to collaborate and share data even when the system only receives preference-based feedback (e.g., "User prefers Item A over Item B"). We propose two novel algorithms: COLDB (linear) and CONDB (neural), which adaptively group users with similar tastes into clusters. This collaborative approach significantly reduces "regret"—the cost of learning—compared to treating every user independently. Our work provides both rigorous theoretical guarantees and empirical validation on synthetic and real-world datasets.

Introduction

In recommendation systems and LLM prompt optimization, Contextual Multi-Armed Bandits (MAB) are standard tools for learning user preferences. While "Clustering of Bandits" (CB) methods typically speed up this process by sharing data among similar users, they almost exclusively rely on absolute numerical rewards (like 1-5 star ratings). However, absolute ratings are often noisy and subjective.

Preference feedback (dueling bandits), where a user compares two options, is much more reliable in practice. Until now, there was no principled way to perform user clustering using only these binary comparisons. This paper fills that gap, addressing the challenge of collaborative learning under preference-based constraints.

Methodology

Our framework maintains a dynamic graph of users where connected components represent estimated clusters. Both proposed algorithms start with a complete graph and delete edges as users' estimated preferences diverge.

  1. COLDB (Clustering of Linear Dueling Bandits): Designed for linear reward functions, it uses Maximum Likelihood Estimation (MLE) to estimate a preference vector for each cluster.
  2. CONDB (Clustering of Neural Dueling Bandits): Designed for complex, non-linear rewards, it utilizes deep neural networks. To provide theoretical guarantees, we employ Neural Tangent Kernel (NTK) theory, treating wide neural networks as linear models in a high-dimensional feature space.

Key Insights and Theoretical Results

  • The Collaborative Effect: Theoretical analysis proves that regret scales with the number of clusters ($m$) rather than the total number of users ($u$). In systems with millions of users but few distinct "types," this leads to massive performance gains.
  • The Preference Penalty: We identify an extra dependency ($1/\kappa_\mu$) in the regret bounds, mathematically capturing the information loss when continuous rewards are compressed into binary preference bits.
  • Neural-to-Linear Bridge: By using NTK theory, we successfully extended clustering logic to complex neural networks, providing a rigorous backbone for deep-learning-based bandits.

Experimental Evaluation

We evaluated our algorithms using synthetic datasets and the real-world MovieLens benchmark.

Cumulative regret of COLDB on synthetic and MovieLens datasets.

As shown in Figure 1, COLDB significantly outperforms the independent baseline (LDB_IND). The results confirm that as the number of clusters decreases (e.g., $m=2$ vs $m=5$), the algorithm becomes more efficient due to enhanced data sharing.

Cumulative regret of CONDB on synthetic and MovieLens datasets.

Figure 4 demonstrates similar success for CONDB. Even with non-linear reward structures, the neural clustering approach maintains sub-linear regret and outperforms independent neural bandit models.

Conclusion

This work establishes a foundation for collaborative learning in preference-based environments. While current models assume static tastes, they offer a scalable solution for modern personalized systems. Future research will explore handling evolving user preferences and reducing the computational complexity of maintaining dynamic user graphs.

Summary updated

BibTeX
@inproceedings{wang2025online,
  author = {Zhiyong Wang and Jiahang Sun and Mingze Kong and Jize Xie and Qinghua Hu and John C.S. Lui and Zhongxiang Dai},
  title = {{Online Clustering of Dueling Bandits}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=EscpGI2XAx},
}
Figure