Active clustering with bandit feedback

Victor Thuot, Alexandra Carpentier, Christophe Giraud, Nicolas VerzelenarXiv 2024 · DOI

Introduction

Clustering is a fundamental task in data science, yet it faces significant challenges in high-dimensional settings. In traditional "batch" clustering, a fixed dataset is analyzed, often leading to a "computation-information gap" where theoretically possible clustering is computationally intractable. This paper introduces the Active Clustering Problem (ACP), framing clustering as an interaction with an $N$-armed bandit to overcome these limitations through active sampling.

Problem Formulation

In the ACP, a learner interacts with $N$ items (arms). Each pull of an arm $a \in [N]$ yields a noisy $d$-dimensional observation $X_{a,t} = \mu_a + \epsilon_{a,t}$, where $\mu_a$ is the hidden mean vector and $\epsilon_{a,t}$ is sub-Gaussian noise. The items are partitioned into $K$ clusters, such that items in the same cluster share the same mean. The goal is to identify this partition with high confidence $1-\delta$ using the minimum total number of samples (budget).

The ACB Algorithm

The authors propose the Active Clustering Bandit (ACB) algorithm, which operates in two distinct phases:

  1. Sequential Representatives Identification (SRI): The discovery phase aims to find one representative item for each of the $K$ clusters. It uses sequential elimination and a specialized unbiased estimator for squared Euclidean distances to remain robust against high-dimensional noise.
  2. Active Distance-based Classification (ADC): Once representatives are identified, the algorithm allocates its remaining budget to estimate their means precisely and classifies all other items by assigning them to the nearest representative.
The ADC procedure for classifying arms based on estimated cluster means.

Adaptive Clustering with ACB*

A practical challenge is that parameters like the minimum cluster distance ($\Delta_*$) or the minimum cluster size ($\theta_*$) are often unknown. To address this, the authors developed ACB*, an adaptive version that iteratively scans through candidate parameter levels to find the optimal clustering without prior knowledge of these constants.

The ACB* algorithm, which adapts to unknown cluster parameters.

Key Insights and Results

The most significant theoretical contribution is proving that active sampling eliminates the computation-information gap. While batch clustering requires clusters to be widely separated for polynomial-time algorithms to succeed, ACB achieves optimal performance in the active setting. By allowing the algorithm to choose which items to sample, the optimal budget can be achieved with a polynomial-time algorithm.

The derived non-asymptotic lower bound for the budget matches the performance of ACB in most regimes. The expected budget is approximately: $$ \tau \approx N + \frac{\sigma^2}{\Delta_*^2} \left[ N \log(N/\delta) + \sqrt{dKN \log(N/\delta)} \right] $$

Empirically, in high-dimensional simulations ($d=1000, N=200$), ACB significantly outperforms uniform sampling baselines. The efficiency gain becomes more pronounced as the number of clusters $K$ increases, demonstrating the algorithm's ability to exploit the underlying data structure.

Conclusion

The Active Clustering Bandit framework provides a computationally efficient and theoretically optimal approach to high-dimensional clustering. By shifting from static batch processing to active bandit feedback, the researchers have bridged the gap between information theory and practical computation. Future work includes extending these methods to heterogeneous clusters with varying sizes and noise levels, as well as scenarios where the number of clusters $K$ is unknown.

Summary updated

Abstract

We investigate the Active Clustering Problem (ACP). A learner interacts with an $N$-armed stochastic bandit with $d$-dimensional subGaussian feedback. There exists a hidden partition of the arms into $K$ groups, such that arms within the same group, share the same mean vector. The learner's task is to uncover this hidden partition with the smallest budget - i.e., the least number of observation - and with a probability of error smaller than a prescribed constant $δ$. In this paper, (i) we derive a non-asymptotic lower bound for the budget, and (ii) we introduce the computationally efficient ACB algorithm, whose budget matches the lower bound in most regimes. We improve on the performance of a uniform sampling strategy. Importantly, contrary to the batch setting, we establish that there is no computation-information gap in the active setting.
BibTeX
@misc{thuot2024active,
  author = {Victor Thuot and Alexandra Carpentier and Christophe Giraud and Nicolas Verzelen},
  title = {{Active clustering with bandit feedback}},
  year = {2024},
  eprint = {2406.11485},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.11485},
}
Figure