NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Query-Efficient Correlation Clustering

David García-Soriano, Konstantin Kutzkov, Francesco Bonchi, Charalampos E. Tsourakakis · DOI

Abstract

Correlation clustering is arguably the most natural formulation of clustering. Given $n$ objects and a pairwise similarity measure, the goal is to cluster the objects so that, to the best possible extent, similar objects are put in the same cluster and dissimilar objects are put in different clusters. A main drawback of correlation clustering is that it requires as input the $\Theta(n^2)$ pairwise similarities. This is often infeasible to compute or even just to store. In this paper we study query-efficient algorithms for correlation clustering. Specifically, we devise a correlation clustering algorithm that, given a budget of $Q$ queries, attains a solution whose expected number of disagreements is at most $3\cdot OPT + O(\frac{n^3}{Q})$, where $OPT$ is the optimal cost for the instance. Its running time is $O(Q)$, and can be easily made non-adaptive (meaning it can specify all its queries at the outset and make them in parallel) with the same guarantees. Up to constant factors, our algorithm yields a provably optimal trade-off between the number of queries $Q$ and the worst-case error attained, even for adaptive algorithms. Finally, we perform an experimental study of our proposed method on both synthetic and real data, showing the scalability and the accuracy of our algorithm.

Introduction

Correlation clustering is a powerful "model-less" framework: given a set of items and a way to say if two items are "similar" (+) or "dissimilar" (-), the goal is to partition them into clusters to minimize disagreements. Unlike K-means, the number of clusters is not specified in advance. However, standard algorithms assume access to the relationship between every pair of items, requiring $O(n^2)$ queries. In fields like biology or entity resolution, this is often impossible. This paper addresses the question: How well can we cluster if we only have a budget of $Q$ queries?

Methodology

The authors introduce QECC (Query-Efficient Correlation Clustering), which builds upon the classic QwickCluster algorithm. QwickCluster works by picking a random "pivot" node and clustering it with all its positive neighbors. QECC adapts this by running the process until the query budget $Q$ is exhausted, then assigning all remaining unclustered nodes to singleton clusters.

Key variants include:

  • Non-adaptive QECC: Pivots are pre-selected and queried in parallel, achieving the same theoretical guarantees as the adaptive version.
  • QECC-heur: A practical improvement that biases pivot selection toward nodes with higher degrees, targeting centers of large clusters first.

The theoretical analysis shows that QECC achieves an expected cost of at most $3 \cdot OPT + \frac{n^3}{2Q}$. The additive term $O(n^3/Q)$ represents the "price of ignorance" for nodes the algorithm never had the budget to query.

Experimental Setup

The authors evaluated their algorithms on a mix of synthetic and real-world data, including citation networks and feature-based datasets.

Dataset characteristics and ground truth statistics.

Results

Empirical results demonstrate that QECC and QECC-heur consistently outperform baselines. As shown in the performance plots, the algorithms approach ground truth performance as the query budget increases.

Performance comparison of QECC variants across synthetic and real datasets, showing cost, recall, and precision vs. query budget.

Key findings include:

  • Efficiency: The algorithm runs in $O(Q)$ time, making it extremely fast for large-scale applications.
  • Recall vs. Budget: On the Cora dataset, QECC-heur found high-quality clusters using only a tiny fraction of the queries required for full-information methods.
  • Adaptivity Gap: The results confirm that non-adaptive strategies can perform nearly as well as adaptive ones in this setting.

Conclusion

QECC provides a provably near-optimal trade-off between query budget and clustering error. While the current approach is based on a 3-approximation, future work may extend these query-efficient principles to LP-based methods or different oracle models to further reduce complexity.

Summary updated

BibTeX
@inproceedings{garciasoriano2020query,
  author = {David García-Soriano and Konstantin Kutzkov and Francesco Bonchi and Charalampos E. Tsourakakis},
  title = {{Query-Efficient Correlation Clustering}},
  booktitle = {The Web Conference},
  year = {2020},
  doi = {10.1145/3366423.3380220},
}
Figure