Clustering from Sparse Pairwise Measurements

Alaa Saade, Marc Lelarge, Florent Krzakala, Lenka Zdeborová · DOI

Abstract

Clustering items from a sparse set of pairwise comparisons is a fundamental challenge in large-scale data analysis and human-in-the-loop experiments. This paper introduces three algorithms—Belief Propagation (BP), a non-backtracking spectral method, and the Bethe Hessian spectral method—designed to operate in the ultra-sparse regime where the number of measurements scales linearly with the number of items. We demonstrate that these methods can detect clusters down to the absolute information-theoretic limit, even when the measurement graph is disconnected.

Introduction

Traditional clustering algorithms typically require a complete or dense set of pairwise distances, leading to $O(n^2)$ complexity. However, in modern applications like crowdsourcing or massive-scale data processing, obtaining such a complete set is often infeasible. This work focuses on the ultra-sparse regime, where we observe only $O(n)$ measurements. In this regime, the average number of comparisons per item is constant, and the resulting measurement graph is likely to be disconnected, making exact recovery impossible. The objective shifts to partial recovery: finding a clustering that performs significantly better than a random guess.

Proposed Methods

The authors propose three interrelated approaches to tackle this problem:

  1. Belief Propagation (BP): An iterative message-passing algorithm that approximates the Bayes optimal solution by treating clustering as an inference problem on a graph.
  2. Non-backtracking Spectral Method: A spectral algorithm utilizing a $2m \times 2m$ matrix (where $m$ is the number of edges). This operator is specifically designed to ignore "backtracking" paths, preventing high-degree nodes from creating spurious clusters in sparse graphs.
  3. Bethe Hessian Spectral Method: A computationally efficient spectral approach using an $n \times n$ symmetric matrix. Derived as a linear approximation of the BP equations, it corresponds to the Hessian of the Bethe free energy.

Theoretical Limits and Results

A key contribution of this work is identifying the phase transition threshold ($\alpha_c$) for the case of two symmetric clusters. If the sampling rate $\alpha$ exceeds this threshold, the proposed algorithms succeed in detecting the underlying structure; below it, no algorithm can outperform a random guess.

Overlap performance of BP, Bethe Hessian (H), and non-backtracking (B) methods against the sampling rate $\alpha$ for $k=2$ and $k=3$ clusters.

As shown in Figure 1, all three algorithms successfully detect clusters as soon as the sampling rate $\alpha$ crosses the predicted theoretical threshold $\alpha_c$. While all three methods hit the threshold, BP and the Bethe Hessian generally achieve higher overlap (accuracy) than the non-backtracking operator once above the limit.

Robustness and Practical Application

The algorithms demonstrate significant robustness. While BP theoretically requires knowledge of the measurement distributions ($p_{in}$ and $p_{out}$), it remains effective even with noisy estimates. Furthermore, the Bethe Hessian provides a "best of both worlds" solution: it is as easy to implement as standard spectral clustering but performs nearly as well as BP.

Comparison of BP and Normalized Laplacian performance on sparse measurements of toy 2D datasets (concentric circles, blobs, and two moons).

Standard spectral clustering (e.g., using the Normalized Laplacian) often fails on sparse graphs because it is sensitive to high-degree nodes or small disconnected components. As illustrated in Figure 2, the proposed BP-based approach maintains high accuracy on sparse 2D benchmarks where traditional methods fail to recover the global structure.

Conclusion and Future Work

This work establishes that a linear number of observations is sufficient for partial recovery in clustering, provided the signal-to-noise ratio is adequate. While the theoretical proofs are currently restricted to symmetric clusters, numerical evidence suggests the findings extend to more complex scenarios. Future work includes developing "unsupervised" estimation techniques for measurement distributions and extending rigorous proofs to asymmetric cluster sizes.

Summary updated

BibTeX
@inproceedings{saade2016clustering,
  author = {Alaa Saade and Marc Lelarge and Florent Krzakala and Lenka Zdeborová},
  title = {{Clustering from Sparse Pairwise Measurements}},
  booktitle = {ISIT},
  year = {2016},
  doi = {10.1109/isit.2016.7541405},
}
Figure