Almost Asymptotically Optimal Active Clustering Through Pairwise Observations

Rachel S. Y. Teo, P. N. Karthik, Ramya Korlakai Vinayak, Vincent Y. F. TanarXiv 2026

TL;DR

This paper introduces a principled framework for active clustering using noisy pairwise comparisons under a fixed-confidence regime. By framing the task as a pure-exploration bandit problem, the authors derive an instance-dependent lower bound on query complexity and design $A^3CNP$, a computationally efficient algorithm that achieves near-optimal performance by drastically simplifying the search space of alternative clusterings.

What Problem Does This Paper Address?

Imagine trying to cluster a set of items when you don't have explicit features, but you can ask a noisy oracle (like a crowdsourced worker) whether two items belong to the same group. This setup is incredibly common in tasks like entity resolution (e.g., deduplicating patient records across hospitals) or signed edge prediction in social networks.

The challenge lies in minimizing the number of queries needed to find the correct clustering with a guaranteed confidence level ($1-\delta$). While traditional community detection frameworks like the Stochastic Block Model (SBM) look at a single "snapshot" graph and analyze what happens as the number of items grows to infinity, this paper tackles the high-stakes, fixed-confidence regime where the number of items is finite, but the allowed error probability vanishes ($\delta \to 0$). In applications like medical record matching, an incorrect merge or split can have severe downstream consequences, making this vanishing-error perspective highly practical.

Methods

The authors model the problem as a multi-armed bandit pure-exploration task where each "arm" corresponds to a pair of items. When queried, the oracle returns a binary answer that is correct with fixed but unknown probabilities ($p$ for identical clusters, $q$ for distinct clusters).

To solve this efficiently, the paper introduces several key innovations:

  1. Information-Theoretic Lower Bound: Using a change-of-measure technique, they establish a fundamental lower bound on the expected number of queries, formulated as a complex "sup-inf" optimization problem.
  2. Shrinking the Search Space: The "infimum" part of the lower bound requires searching over all possible incorrect clusterings. The total number of ways to partition $M$ items is given by the Bell number, which grows super-exponentially. The authors prove a key structural theorem: the most confusing alternative clusterings are always just one step away—either a single split of an existing cluster or a merge of two clusters. This reduces an intractable search space to a manageable local one.
  3. The $A^3CNP$ Algorithm: Standard Generalized Likelihood Ratio (GLR) stopping rules are statistically optimal but computationally impossible here because they require simultaneous optimization over all query counts. The authors design $A^3CNP$ (Almost Asymptotically Optimal Active Clustering with Noisy Pairwise Observations), which factors out the minimum query count to create a computationally feasible surrogate statistic while preserving the mathematical safety guarantees ($\delta$-correctness).

Datasets

The algorithm's performance is validated using synthetic experiments designed to simulate a difficult clustering environment. The authors evaluate a setup with $M = 6$ items split into $K = 3$ clusters: $\{\{1, 2\}, \{3, 4, 5\}, \{6\}\}$. To make it challenging, they use highly noisy oracle parameters: $p = 0.6$ and $q = 0.4$ (where $0.5$ represents pure randomness). No real-world datasets were used in this study.

Key Insights and Ideas

  • The "Local" Nature of Confusion: You don't need to worry about completely scrambled clusterings when optimizing your queries. The hardest alternatives to distinguish from the truth are always simple structural perturbations—merging two true clusters into one or splitting a true cluster into two.
  • Factoring Out Intractability: By decoupling the minimum number of queries across item pairs from the core GLR statistic, the authors bypass the simultaneous optimization bottleneck that usually dooms GLR methods in combinatorial spaces.
  • Robustness: The proposed algorithm shows remarkable robustness to its internal regularization hyperparameters ($\epsilon$ and $\sigma$), meaning its performance doesn't degrade significantly if these parameters aren't perfectly tuned.

Key Results

  • Theoretical Guarantees: The authors mathematically prove that $A^3CNP$ is $\delta$-correct, meaning it will output the wrong clustering with a probability of at most $\delta$.
  • Performance Superiority: In numerical simulations, $A^3CNP$ significantly outperforms existing state-of-the-art active clustering algorithms (such as the LIL-based algorithm by Chen et al.). It achieves much faster stopping times across the board.
  • Near-Optimal Scaling: As shown in Figure 1, the empirical sample complexity slope of $A^3CNP$ closely tracks the theoretical lower bound as $\log(1/\delta)$ increases, demonstrating its near-asymptotic optimality.
Sample complexity comparison of A3CNP against the baseline and theoretical bounds.

Limitations and Future Work

While powerful, the current framework has a few limitations:

  • Homogeneous Noise: It assumes that the oracle's error rates ($p$ and $q$) are constant across all pairs. In reality, some item pairs might be inherently more ambiguous than others.
  • Initial Overhead: The algorithm requires an initial phase where every single pair of items is sampled at least once. For massive datasets, querying all $\binom{M}{2}$ pairs even once becomes a significant bottleneck.

The authors suggest that future research should focus on extending this framework to handle heterogeneous noise levels, incorporating contextual or side information, and exploring large-scale regimes where querying every single pair is strictly impossible.

Summary updated

BibTeX
@misc{teo2026almost,
  author = {Rachel S. Y. Teo and P. N. Karthik and Ramya Korlakai Vinayak and Vincent Y. F. Tan},
  title = {{Almost Asymptotically Optimal Active Clustering Through Pairwise Observations}},
  year = {2026},
  eprint = {2602.05690},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.05690},
}
Figure