Clustering with Non-adaptive Subset Queries

Hadley Black, Euiwoong Lee, Arya Mazumdar, Barna Saha

Introduction

Clustering is a fundamental task in unsupervised learning, typically focused on partitioning a set of $n$ points into $k$ disjoint clusters based on inherent similarity. However, in many modern contexts—such as entity resolution, crowdsourcing, and biological data analysis—researchers can leverage an "oracle" (e.g., a human expert or a precise laboratory test) to provide ground-truth information about specific data points.

While adaptive clustering (where queries are asked sequentially) can be solved efficiently with $O(nk)$ pairwise queries, many real-world applications require non-adaptive strategies. In crowdsourcing, for instance, it is far more efficient to send all questions to workers simultaneously rather than waiting for individual responses. Unfortunately, traditional non-adaptive pairwise queries ("Do points $A$ and $B$ belong to the same cluster?") face a "quadratic barrier," requiring $\Omega(n^2)$ queries to ensure a correct partition. This paper explores a novel query model that breaks this barrier, achieving near-linear query complexity.

The Subset Query Model

The authors propose shifting from pairwise comparisons to subset queries. In this model, the algorithm provides the oracle with a subset of points $S \subseteq U$ and receives the number of distinct clusters represented in that subset.

This model is inspired by practical scenarios where it is easier to count categories than to compare every pair. For example, a specialist might quickly identify how many species of birds are present in a photograph, even if they haven't yet mapped every individual bird to its specific species. The paper demonstrates that this slight change in the query type leads to exponential improvements in efficiency for non-adaptive clustering.

Algorithmic Framework

The proposed solution bridges the gap between clustering and Combinatorial Group Testing. The authors develop a hybrid approach that handles clusters of different sizes using two distinct strategies:

1. Group Testing for Large Clusters

The algorithm utilizes a primitive called FINDREP. By observing how the cluster count changes when a point is added to a set, the algorithm can simulate an "OR-query" (detecting if a specific cluster is present). This allows the identification of representative elements for larger clusters using a number of queries that scales logarithmically with the number of clusters $k$.

2. Random Graph Connectivity for Small Clusters

To capture smaller clusters that might be missed by sparse sampling, the algorithm employs a strategy based on random graph theory. By generating large random subsets and observing the resulting counts, the algorithm infers "same-cluster" relationships. These inferences are treated as edges in a graph. Drawing on Erdős-Rényi random graph results, the authors prove that with a sufficient (yet near-linear) number of queries, the connected components of this graph will perfectly align with the true underlying clusters.

Key Theoretical Results

The paper provides rigorous mathematical proofs for the query complexity of their non-adaptive algorithms:

  • General Case: The primary randomized algorithm achieves the clustering using $O(n \log k \cdot (\log k + \log \log n)^2)$ queries. For a constant $k$, this is nearly linear in $n$, a massive improvement over the $O(n^2)$ required by pairwise queries.
  • Balanced Clusters: If the clusters are of relatively equal size ($B$-balanced), the complexity is further reduced to $O(n \log k)$ or $O(n \log^2 k)$.
  • Bounded Query Sizes: In scenarios where the oracle can only handle small subsets (size $s \le \sqrt{n}$), the authors prove a complexity of $O(n^2 k / s^2)$, which they show is nearly optimal.
  • Two-Round Adaptivity: If the constraint of pure non-adaptivity is relaxed to allow just one additional round of follow-up queries, the complexity simplifies to a clean $O(n \log k)$.

Discussion and Future Work

This work establishes that subset queries are significantly more powerful than pairwise queries for non-adaptive tasks. By moving from binary comparisons to counting, the "quadratic barrier" is effectively bypassed.

Several open questions remain for future research. While the current algorithms are nearly linear, the possibility of a strictly $O(n)$ non-adaptive algorithm remains an open problem. Additionally, the current efficient methods are randomized; developing a deterministic non-adaptive algorithm with similar query complexity is a significant theoretical challenge. Finally, the authors suggest that the dependence on $k$ in the bounded-size query setting could be further optimized to reach the absolute theoretical lower bounds.

Summary updated

BibTeX
@inproceedings{black2024clustering,
  author = {Hadley Black and Euiwoong Lee and Arya Mazumdar and Barna Saha},
  title = {{Clustering with Non-adaptive Subset Queries}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=lgtsXxk4dF},
}
Figure