Accelerated spectral clustering using graph filtering of random signals

Nicolas Tremblay, Gilles Puy, Pierre Borgnat, Rémi Gribonval, Pierre Vandergheynst

TL;DR

This paper introduces a way to perform spectral clustering without the computationally expensive step of calculating eigenvectors. By applying fast graph filters to random noise signals, the authors can estimate node distances in the spectral domain, achieving a 2-3x speedup on large datasets while maintaining high clustering accuracy.

What Problem Does This Paper Address?

Spectral clustering is a powerhouse in machine learning because it can find complex, non-linear clusters that algorithms like k-means miss. However, it has a "speed limit." To work, it requires calculating the first $k$ eigenvectors of a graph's Laplacian matrix (a matrix representing the graph's structure).

For a dataset with $N$ points, this eigendecomposition is the primary bottleneck. Even with sparse matrices, the cost becomes prohibitive as $N$ grows into the hundreds of thousands or millions. Additionally, spectral clustering usually requires the user to know the number of clusters ($k$) beforehand—a value that is often unknown in real-world scenarios.

Methods

The authors bridge the gap between Graph Signal Processing (GSP) and traditional manifold learning. Their approach relies on two clever observations:

  1. The Johnson-Lindenstrauss (JL) Lemma: This mathematical principle states that high-dimensional data can be projected into a much lower-dimensional space while nearly preserving the distances between points.
  2. Fast Graph Filtering: Instead of finding eigenvectors, the authors treat the graph as a filter. They generate $\eta$ random Gaussian noise signals and pass them through a "low-pass" graph filter.

The Algorithm: * Estimate the Spectrum: They use fast methods to estimate the graph's largest eigenvalue and the $k$-th eigenvalue (the "cutting frequency"). * Filter Random Noise: They use Chebyshev polynomial approximations to apply a low-pass filter to random signals. This process is much faster than eigendecomposition because it only involves basic matrix-vector multiplications. * Feature Extraction: The filtered signals become the new "features" for each node. Because of the JL Lemma, the Euclidean distance between these filtered random features approximates the distance in the true eigenvector space. * Stability for $k$: Because the method is stochastic (based on random signals), they run it multiple times. They propose a stability measure—based on how consistent the clusters are across different random runs—to automatically estimate the optimal number of clusters $k$.

Datasets

The authors evaluated their method using synthetic Gaussian datasets.

  • They generated mixtures of $k=10$ two-dimensional Gaussians.
  • They scaled the number of points $N$ from small sets up to $N = 10^5$ (100,000 points).
  • They constructed $K$-nearest neighbor graphs to represent the similarities between these points.

Key Insights and Ideas

  • Eigenvectors are Overkill: You don't actually need the exact eigenvectors to cluster data; you just need a set of vectors that span the same subspace. Filtered random noise provides a "sketch" of this subspace much more cheaply.
  • Randomness is a Feature, Not a Bug: In traditional spectral clustering, the result is deterministic. By introducing randomness, the authors can measure "clustering stability." If different random noise seeds lead to the same clusters, that $k$ value is likely correct.
  • Polynomial Approximation is Key: The use of Chebyshev polynomials allows the filtering to scale linearly with the number of edges in the graph, making it ideal for the sparse graphs typically used in clustering.

Key Results

  • Accuracy: When the number of random signals ($\eta$) is at least twice the number of clusters ($2k$), the performance (measured by the Adjusted Rand Index) is virtually identical to classical spectral clustering.
  • Speed: For a dataset of $N = 10^5$, the proposed method was 2 to 3 times faster than the classical approach.
  • Scalability: As the dataset size $N$ increases, the time cost of the classical method grows significantly faster than the proposed filtered approach, suggesting even greater gains for larger-scale "Big Data" applications.

Limitations and Future Work

  • Error Propagation: While the authors proved that the distance estimation error is bounded, they note that it is still unclear exactly how this error propagates into the final k-means clustering step.
  • Polynomial Order: The method requires choosing a polynomial order ($m$). In their tests, they needed $m \approx 200$ for high accuracy, which adds some computational overhead.
  • Graph Types: The current results are focused on synthetic Gaussian data. Testing on real-world "irregular" graphs (like social networks or biological data) where the spectral density isn't as smooth remains a task for future research.

Reference: Tremblay, N., Puy, G., Borgnat, P., Gribonval, R., & Vandergheynst, P. (2015). Accelerated Spectral Clustering Using Graph Filtering of Random Signals. arXiv:1509.08863v1.

Summary updated

BibTeX
@inproceedings{tremblay2016accelerated,
  author = {Nicolas Tremblay and Gilles Puy and Pierre Borgnat and Rémi Gribonval and Pierre Vandergheynst},
  title = {{Accelerated spectral clustering using graph filtering of random signals}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2016},
  doi = {10.1109/icassp.2016.7472447},
}
Figure