Hashing-Based Distributed Clustering for Massive High-Dimensional Data

Yifeng Xiao, Jiang Xue, Deyu MengarXiv 2023 · DOI · OpenReview

Introduction

In the era of big data, information is often generated and stored across a network of "sub-sites" (e.g., different servers or IoT devices). Moving all this data to a central "global site" for clustering is often impossible due to privacy concerns and the sheer cost of bandwidth. Furthermore, high-dimensional (HD) data suffers from the "curse of dimensionality," where traditional distance metrics lose meaning and computational costs explode.

The HBDC (Hashing-Based Distributed Clustering) framework addresses these challenges by combining deep learning-to-hash with spectral clustering. By converting complex data into compact binary hash codes before transmission, it achieves high clustering accuracy with significantly lower communication overhead than traditional distributed methods.

The HBDC Framework

The authors propose a global-sub-site paradigm consisting of three main phases to manage distributed data efficiently.

The HBDC system architecture showing the interaction between sub-sites and the global site during training and clustering.
  1. Distributed Self-Supervised Training: The global site broadcasts a lightweight "hashing network" to all sub-sites. Sub-sites train this network locally using a distance-driven self-supervised loss function, ensuring that points close in the original high-dimensional space remain close in the resulting binary "Hamming" space.
  2. Global Aggregation: Sub-sites send local gradient updates to the global site, which merges them to update the master model iteratively.
  3. Hash Code Clustering: Once trained, sub-sites convert local data into short binary hash codes. Instead of sending raw data, they send only unique hash codes and their frequencies (degrees). The global site then performs spectral clustering on these codes.

Hashing-Based Clustering Logic

The core innovation lies in treating unique hash codes as vertices in a graph. This turns a massive clustering problem into a much smaller graph-cutting problem.

Conceptual mapping of high-dimensional data points to binary hash codes and subsequent clustering.

Since many data points map to the same hash code, the global site processes far fewer "entities" than the total number of samples. The hashing network performs a "rough" first-pass grouping, while downstream spectral clustering handles fine-grained refinement.

Evaluation and Results

HBDC was evaluated against five state-of-the-art distributed algorithms using synthetic datasets (S1–S5), hyperspectral images, and classic benchmarks like MNIST.

  • Accuracy: HBDC consistently outperformed or matched top-tier algorithms like k-means|| and DBDC. On complex synthetic datasets, it maintained over 95% purity and NMI even as dimensionality increased.
  • Communication Efficiency: Transmission costs are $O(D)$, but because data is sent as binary bits rather than floating-point vectors, bandwidth usage is remarkably low. For example, on the S5 dataset, HBDC reduced transmission costs by nearly 75% compared to REMOLD.
  • Scalability: Increasing the number of sub-sites accelerates convergence because more samples participate in training simultaneously, effectively increasing the global batch size.

Conclusion

HBDC provides a robust solution for clustering "big and wide" data. While it requires iterative communication during training and is sensitive to hyperparameters like hash code length, its efficiency in high-dimensional spaces is a significant advancement. Future work includes extending HBDC to online clustering for real-time streaming data.

Summary updated

Abstract

Clustering analysis is of substantial significance for data mining. The properties of big data raise higher demand for more efficient and economical distributed clustering methods. However, existing distributed clustering methods mainly focus on the size of data but ignore possible problems caused by data dimension. To solve this problem, we propose a new distributed algorithm, referred to as Hashing-Based Distributed Clustering (HBDC). Motivated by the outstanding performance of hashing methods for nearest neighbor searching, this algorithm applies the learning-to-hash technique to the clustering problem, which possesses incomparable advantages for data storage, transmission and computation. Following a global-sub-site paradigm, the HBDC consists of distributed training of hashing network and spectral clustering for hash codes at the global site. The sub-sites use the learnable network as a hash function to convert massive HD original data into a small number of hash codes, and send them to the global site for final clustering. In addition, a sample-selection method and slight network structures are designed to accelerate the convergence of the hash network. We also analyze the transmission cost of HBDC, including the upper bound. Our experiments on synthetic and real datasets illustrate the superiority of HBDC compared with existing state-of-the-art algorithms.
BibTeX
@misc{xiao2023hashing,
  author = {Yifeng Xiao and Jiang Xue and Deyu Meng},
  title = {{Hashing-Based Distributed Clustering for Massive High-Dimensional Data}},
  year = {2023},
  eprint = {2306.17417},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.17417},
}
Figure