Fast communication-efficient spectral clustering over distributed data

Donghui Yan, Yingjie Wang, Jin Wang, Guodong Wu, Honggang WangIEEE Trans. big Data 2019 · DOI

Abstract

Spectral clustering is a powerful technique for identifying complex, non-convex cluster shapes, yet its computational complexity and the need for centralized data pose significant hurdles for large-scale, distributed applications. This paper introduces a novel framework that leverages Distortion Minimizing Local (DML) transformations to perform spectral clustering across distributed sites efficiently. By compressing local data into a small set of representative "codewords," the method achieves a significant computational speedup—often exceeding 2x—with negligible loss in clustering accuracy and minimal communication overhead.

Introduction

While spectral clustering excels at capturing intricate data structures where traditional methods like K-means fail, it suffers from a "Big Data" problem. The requirement to compute similarity matrices for all pairs of data points leads to costs that scale poorly with dataset size. Furthermore, real-world data is frequently siloed across geographically distributed locations, making centralized processing expensive due to bandwidth constraints and risky regarding data privacy. This research addresses these challenges by proposing a distributed algorithm that avoids raw data transmission while maintaining high clustering quality.

Methodology: The DML Framework

The core of the proposed approach is the Distortion Minimizing Local (DML) transformation. The framework operates in three distinct phases:

  1. Local Compression (DML): Each distributed site independently compresses its local data into a small set of "codewords" or representative points. The authors explore two primary methods for this compression:
  2. K-means: Utilizing cluster centroids as codewords.
  3. Random Projection Trees (rpTrees): Employing the averages of data points within the leaf nodes of a space-partitioning tree.
The proposed distributed spectral clustering framework using DML transformations.
  1. Central Clustering: The local sites transmit these codewords, along with their associated weights (counts of original points they represent), to a central server. The server then performs standard spectral clustering on this significantly reduced, pooled set of representatives.
  2. Membership Population: Once the central server determines the cluster labels for the codewords, these labels are sent back to the local sites. Each site then maps these labels back to its original raw data points based on their initial codeword assignments.

The effectiveness of this framework lies in the DML's ability to preserve the underlying geometry of the data. By creating a "sketch" of the original distribution, the spectral clustering performed on codewords closely approximates the results of clustering the full, centralized dataset.

Hierarchical space partitioning and the corresponding tree structure used in rpTrees for local data compression.

Experimental Evaluation

The framework was evaluated using a 10-dimensional synthetic Gaussian mixture model and eight large-scale real-world datasets from the UC Irvine Machine Learning Repository, including the 10.5M-instance HEPMASS dataset.

Key Results

  • Accuracy: The distributed approach maintained accuracy levels nearly identical to non-distributed baselines. For instance, on the HEPMASS dataset, accuracy remained stable at approximately 79% regardless of the number of distributed sites.
  • Computational Speedup: Parallelizing the DML compression step across sites yielded substantial performance gains. The framework consistently achieved a roughly 2x speedup with two sites. On the HEPMASS dataset, the distributed version using K-means DML reduced processing time from ~8,752 seconds to ~3,275 seconds.
  • Communication Efficiency and Privacy: By transmitting only a few thousand codewords instead of millions of raw data points, the communication overhead is minimized. This also enhances privacy, as raw, sensitive data never leaves its original site.

Conclusion

The DML-based framework provides a scalable and communication-efficient solution for spectral clustering on distributed data. By turning the challenge of data distribution into a parallel processing advantage, it achieves significant speedups without sacrificing accuracy. Future research may address potential bottlenecks at the central clustering stage for extremely large codeword sets and explore performance across more complex network topologies.

Summary updated

BibTeX
@article{yan2019fast,
  author = {Donghui Yan and Yingjie Wang and Jin Wang and Guodong Wu and Honggang Wang},
  title = {{Fast communication-efficient spectral clustering over distributed data}},
  journal = {IEEE Trans. big Data},
  year = {2019},
  doi = {10.1109/tbdata.2019.2907985},
}
Figure