Towards a Query-Optimal and Time-Efficient Algorithm for Clustering with a Faulty Oracle

Pan Peng, Jiapeng Zhang

Abstract

Motivated by applications in crowdsourced entity resolution in database, signed edge prediction in social networks and correlation clustering, Mazumdar and Saha [NIPS 2017] proposed an elegant theoretical framework for clustering with a faulty oracle. This paper, presented at COLT 2021, tackles the fundamental problem of grouping items into clusters when the only source of information is a "noisy" or "faulty" oracle.

Introduction

In many real-world scenarios, such as deduplicating a massive database (entity resolution) via crowdsourcing, we rely on human workers to determine if two entries represent the same entity. Because humans make mistakes, the information source is inherently noisy. Formally, we consider $n$ items belonging to $k$ unknown clusters. We have access to an oracle $\mathcal{O}$ that, when queried about a pair $(u, v)$, returns "+" if they are in the same cluster and "−" otherwise. The oracle is "faulty," flipping the correct answer with probability $\epsilon < 1/2$. The "bias" of the model is defined as $\delta = 1 - 2\epsilon$.

This problem presents two primary challenges:

  1. Query Efficiency: Queries are often expensive or time-consuming. The information-theoretic lower bound for query complexity is $\Omega(\frac{nk}{\delta^2})$.
  2. Time Efficiency: The algorithm must run in polynomial time relative to $n$.

A critical constraint in this model is persistent noise: querying the same pair multiple times yields the same (potentially incorrect) result, preventing simple noise reduction through repetition.

The NOISYCLUSTERING Algorithm

The authors introduce NOISYCLUSTERING, a polynomial-time algorithm that achieves nearly optimal query complexity for any constant $k$. The algorithm leverages a connection to the Stochastic Block Model (SBM), a generative model for community detection.

The algorithm follows a "sample-then-grow" framework:

  • Sampling: A small, representative subset of vertices $T$ is selected.
  • Global Seed Discovery: Instead of sensitive local methods (like counting common neighbors), the algorithm treats queries within $T$ as an SBM-generated graph. It applies an efficient SBM solver (specifically Vu’s algorithm) to identify high-confidence "seeds" or sub-clusters.
  • Cluster Growing: These seeds are used as anchors. A majority-voting subroutine, BELONGTOCLUSTER, then classifies the remaining vertices in $V$.

To handle clusters of significantly different sizes—a scenario where standard SBM solvers often fail—the authors prove a Size-Gap Lemma. This lemma guarantees a mathematically exploitable threshold in any unbalanced setting, allowing the algorithm to iteratively identify clusters by searching for size gaps.

Results and Comparison

The proposed algorithm achieves a query complexity of $O(\frac{nk \log n}{\delta^2} + \frac{k^{10} \log^2 n}{\delta^4})$. For a constant $k$, this matches the lower bound up to a factor of $O(\log^2 n)$. Furthermore, the algorithm is time-efficient, running in $poly(n, k, 1/\delta)$.

Comparison of query complexity and time efficiency across different clustering algorithms and scenarios.

As shown in the table above, this work closes the gap left by previous research. While Mazumdar and Saha (2017a) offered a trade-off between query optimality and time efficiency, and Larsen et al. (2020) focused on the $k=2$ case, this work provides a unified, efficient solution for general $k$.

Discussion

While this work marks a significant advancement, it leaves open questions regarding the dependency on $k$. The $k^{10}$ term in the query complexity suggests that performance may degrade if the number of clusters grows with $n$. The authors suggest a potential "statistical-computational gap" for very large $k$, similar to the Hidden Clique problem, where matching the information-theoretic lower bound might be computationally intractable. Future research may also focus on tightening the $O(\log^2 n)$ factor to reach the absolute lower bound.

Summary updated

BibTeX
@inproceedings{peng2021towards,
  author = {Pan Peng and Jiapeng Zhang},
  title = {{Towards a Query-Optimal and Time-Efficient Algorithm for Clustering with a Faulty Oracle}},
  booktitle = {Conference on Learning Theory},
  year = {2021},
  url = {https://openreview.net/forum?id=XjHvmrDcT5},
}
Figure