Clustering Items through Bandit Feedback: Finding the Right Feature out of Many

Maximilian Graf, Victor Thuot, Nicolas Verzelen · DOI

Abstract

Traditional clustering methods often assume access to complete datasets, which is impractical in scenarios where data collection is expensive, such as crowdsourcing or clinical trials. This paper introduces BanditClustering, an adaptive algorithm designed to group $n$ items into two categories by observing only one feature of one item at a time through noisy "bandit" feedback. By focusing on identifying the most discriminative features rather than measuring all dimensions, the algorithm achieves near-optimal sample complexity. Our theoretical and empirical results demonstrate that BanditClustering significantly outperforms traditional non-adaptive methods, particularly in high-dimensional, sparse settings.

Introduction

In many modern applications, we face a "pure exploration" clustering problem. We have $n$ items and $d$ possible features (questions) to query, but we want to minimize the total number of queries needed to sort items into groups. This presents two main challenges: the "needle in a haystack" problem, where groups may only differ on a few features in a high-dimensional space, and the adaptive sampling problem, which requires deciding the next query based on previous observations.

Methodology

The proposed BanditClustering algorithm is a fully adaptive procedure that operates in three distinct phases to minimize the observation budget required for a correct clustering with confidence $1-\delta$.

  1. Finding a Representative: The algorithm first identifies two items belonging to different groups using a sub-routine called CandidateRow (CR). This routine utilizes a modified Sequential Halving (CSH) technique to efficiently search the item-feature matrix.
  2. Identifying the Discriminative Feature: Once two items from different groups are identified, the algorithm searches for the specific feature index $j$ where the difference between these items is maximized.
  3. Clustering the Rest: Using the identified "good" feature, the algorithm queries only that feature for all remaining items to determine their group membership.
Algorithm 4: The high-level BanditClustering procedure.

A key insight of this approach is that clustering does not require knowledge of the entire feature vector. If a single feature strongly separates the groups, the other $d-1$ dimensions can be ignored. The algorithm's budget scales with the effective sparsity of the gap between group means rather than the raw dimension $d$.

Experiments and Results

The authors validated BanditClustering through synthetic simulation studies focusing on high-dimensional and sparse regimes.

  • Sparse High-Dimensionality: In experiments with $n=20$ items and $d=1000$ features, the algorithm successfully handled settings where only a few features were informative.
  • Scalability: Tests with up to $n=5000$ items (where $d=10n$) showed that BanditClustering maintains efficiency as the problem size grows.

Key results include:

  • Theoretical Optimality: The authors established a non-asymptotic upper bound on the budget $T$ and an instance-dependent lower bound, proving the algorithm is near-optimal.
  • Efficiency: In sparse settings, the required budget grows linearly with the number of informative features, whereas non-adaptive methods scale with the total dimension $d$.
  • Robustness: The algorithm maintains its success probability even with highly unbalanced group sizes.

Discussion and Future Work

While BanditClustering provides a robust framework for adaptive clustering, it currently has limitations. It is strictly designed for $K=2$ groups; extending this to $K > 2$ would require managing $K(K-1)/2$ pairwise differences. Additionally, the model assumes homogeneous groups where all items in a group share the same feature vector. Future work could adapt the algorithm to handle internal group variance (heterogeneity) and reduce the conservatism of the current $1-\delta$ guarantee to further optimize sample usage.

Summary updated

BibTeX
@inproceedings{graf2025clustering,
  author = {Maximilian Graf and Victor Thuot and Nicolas Verzelen},
  title = {{Clustering Items through Bandit Feedback: Finding the Right Feature out of Many}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=99zsyZpUqp},
}
Figure