Abstract
Spectral clustering is a powerful technique for discovering non-convex clusters, but its cubic computational complexity limits its application to large-scale datasets. This paper presents Commute time Embedding Spectral Clustering (CESC), a novel approach that avoids explicit eigen-decomposition. By leveraging random projections and nearly linear-time Laplacian solvers, CESC computes an approximate commute time embedding that preserves the global graph structure. Experimental results demonstrate that CESC achieves superior accuracy and scalability compared to state-of-the-art sampling-based methods, successfully clustering datasets with over a million nodes.
Introduction
Spectral clustering is widely recognized for its ability to detect complex, non-linearly separable patterns in data. By mapping data points into the eigenspace of a graph Laplacian, it transforms intricate geometries into a space where simple algorithms like $k$-means can succeed. However, the standard approach requires an eigen-decomposition of the Laplacian matrix, which has a computational complexity of $O(n^3)$. This makes it impractical for modern large-scale datasets.
Existing acceleration techniques often rely on sampling—selecting a subset of "landmark" points to approximate the full spectrum. While faster, these methods risk losing critical structural information, such as thin bridges between clusters, leading to poor clustering quality. Furthermore, many sampling methods are designed for vector data and do not generalize well to raw graph structures.
Methodology: Commute Time Embedding Spectral Clustering (CESC)
The proposed CESC method shifts the focus from eigenvectors to Commute Time Embedding. The commute time between two nodes in a graph is the expected number of steps a random walk takes to travel between them and return. Unlike shortest-path metrics, commute time considers all possible paths, making it highly robust to noise and reflective of the global connectivity.
To compute this embedding efficiently without $O(n^3)$ costs, CESC employs two key innovations:
- Random Projections: Utilizing the Johnson-Lindenstrauss lemma, the graph's structure is projected into a lower-dimensional space ($k_{RP} \approx \log n$). This preserves the commute time distances between nodes with high probability.
- Nearly Linear Time Solvers: Instead of matrix decomposition, CESC solves a series of linear systems ($Lx = b$) using efficient solvers like the Spielman-Teng solver. This reduces the embedding complexity to $O(m)$, where $m$ is the number of edges.
Experimental Evaluation
The authors evaluated CESC against three prominent approximate spectral clustering methods: Nyström, KASP, and LSC. The evaluation spanned synthetic data, standard UCI benchmarks, and massive real-world graphs.
Synthetic and Benchmark Datasets
A synthetic "Data Mining" dataset (2,000 points) was used to test the ability to handle complex geometries. As shown in Figure 1, CESC successfully captures the continuous shapes of the letters, while sampling-based methods like Nyström often fragment the clusters due to missing "bridge" points in their samples.
For quantitative analysis, the authors used UCI datasets ranging from 2,100 to over 67,000 instances, including Segmentation, Spambase, Musk, Pen Digits, Letter Rec, and Connect4.
Key Results
CESC consistently outperformed its competitors in both accuracy and computational efficiency.
Accuracy and Robustness
In many cases, CESC achieved near-perfect accuracy relative to exact spectral clustering. For instance, on the Spambase dataset, CESC reached 100% accuracy, significantly outperforming KASP (60.8%) and Nyström (82.7%).
Scalability
The speedups provided by CESC are substantial. On the Connect4 dataset, CESC was approximately 6x faster than Nyström. More impressively, the method scaled to the RoadNet-TX graph, containing over 1.3 million nodes and 1.8 million edges. CESC generated the embedding for this massive graph in under 10 minutes, a feat impossible for standard spectral algorithms.
Conclusion
CESC represents a significant advancement in large-scale spectral clustering. By bypassing the eigenvector bottleneck and utilizing all data points through approximate commute time embeddings, it offers a robust and scalable alternative to sampling-based methods. Future work may focus on optimizing the remaining bottlenecks, such as $k$-nearest neighbor graph construction and the final $k$-means clustering step, to further enhance performance on multi-million node graphs.
Summary updated