Abstract
We consider the problem of clustering partially labeled data from a minimal number of randomly chosen pairwise comparisons between the items. We introduce an efficient local algorithm based on a power iteration of the non-backtracking operator and study its performance on a simple model. For the case of two clusters, we give bounds on the classification error and show that a small error can be achieved from $O(n)$ randomly chosen measurements, where $n$ is the number of items in the dataset. Our algorithm is therefore efficient both in terms of time and space complexities. We also investigate numerically the performance of the algorithm on synthetic and real world data.
Introduction
Traditional similarity-based clustering methods, such as spectral clustering, often face significant scalability challenges. For a dataset of $n$ items, these methods typically require $O(n^2)$ similarity calculations, which becomes computationally prohibitive as $n$ grows into the millions. While random subsampling can mitigate this, two critical questions remain: how to effectively leverage a small "seed" of known labels (semi-supervision) and exactly how many random comparisons are necessary for high accuracy.
This paper introduces a highly efficient local algorithm for semi-supervised clustering that addresses these challenges. By utilizing a "non-backtracking" local walk—a linearized version of belief propagation—the authors demonstrate that accurate clustering is achievable with only $O(n)$ random measurements, with classification error decaying exponentially as more measurements are added.
Methodology: Non-Backtracking Local Walk
The core contribution is a local algorithm that operates on a sparse similarity graph. Unlike global spectral methods that find eigenvectors across the entire graph, this approach estimates a node's label based only on information within a small, fixed radius ($k_{max}$).
The algorithm employs a non-backtracking operator to update "messages" on directed edges. This prevents "backtracking" (e.g., node A to B and back to A), which often introduces noise in sparse graphs. For binary clustering, the process is detailed in Algorithm 1.
For scenarios involving more than two clusters, the authors extend this approach using a deflation-based power iteration. A key practical step is "centering" similarities by subtracting the mean, which focuses the algorithm on inter-cluster differences rather than average graph density.
Experimental Setup
The algorithm's performance was evaluated across diverse datasets:
- Synthetic Gaussian Blobs: 2D points organized into 2 and 4 clusters.
- MNIST: Subsets of handwritten digits, specifically binary (0s vs. 1s) and ternary (0s, 1s, and 2s) classification tasks.
- 20 Newsgroups: A text dataset for document classification.
Key Results and Insights
The proposed method demonstrates significant advantages in both speed and data efficiency. On the MNIST dataset, the algorithm achieved over 96% accuracy in approximately 2 seconds on a standard laptop.
Key findings include:
- Exponential Error Decay: Theoretical analysis proves that classification error decays exponentially relative to the average number of similarities measured per item ($\alpha$).
- Efficiency in Sparse Regimes: The algorithm requires only a small sampling rate (e.g., $\alpha \approx 6$) to reach near-peak accuracy, significantly outperforming standard Label Propagation in undersampled conditions.
- Locality as a Strength: While local algorithms can struggle in unsupervised settings, the authors show that even a few known labels provide sufficient "anchor points" for local methods to excel in semi-supervised tasks.
Conclusion
This work provides a rigorous "detectability threshold," showing that if the signal-to-noise ratio is above a specific limit, the algorithm is guaranteed to improve upon initial partial labeling. While the theoretical guarantees are strongest under the Stochastic Block Model (SBM), empirical results on real-world data like MNIST confirm its practical utility. Future research may focus on automatically adapting weighting functions for unknown data distributions.
Summary updated