Scalable Deep Graph Clustering with Random-walk based Self-supervised Learning

Xiang Li, Dong Li, Ruoming Jin, Gagan Agrawal, Rajiv Ramnath

Introduction

Graph clustering is a fundamental task in social network analysis, aimed at grouping similar nodes based on their attributes and topological connections. While Deep Graph Clustering using Graph Convolutional Networks (GCNs) has shown significant promise, it is traditionally hampered by two major issues: over-smoothing, where node representations become indistinguishable in deep architectures, and scalability, as standard GCNs often require the entire adjacency matrix to be loaded into memory.

RwSL (Random-walk based Scalable Learning) addresses these challenges by decoupling the graph structure from the neural network training. By reframing Laplacian smoothing as a Generalized PageRank (GPR) problem, RwSL achieves linear scalability, enabling deep clustering on massive datasets like Friendster (1.8 billion edges) using a single GPU.

Methodology

The core of RwSL is the use of GPR-based filtering to pre-process node attributes. This approach proves that Laplacian smoothing is a specific case of GPR. Instead of performing graph convolutions during training, RwSL uses a scalable, parallelizable random-walk algorithm to incorporate neighborhood information into node features beforehand.

RwSL Hybrid Architecture featuring an Autoencoder and a Co-train DNN with self-supervised loss functions.

The architecture consists of a dual-module system:

  1. Autoencoder (AE): Compresses and reconstructs the smoothed features to learn robust representations.
  2. Co-train DNN: A simple Deep Neural Network that works in parallel with the AE.

The model is trained using a self-supervised clustering objective. It computes a "target distribution" from current cluster assignments and minimizes the KL-divergence between this target and the soft assignments from both the AE and the DNN. Because the graph structure is pre-baked into the filtered attributes, the model can be trained using standard mini-batches, bypassing the "memory wall" of full-graph operations.

Experimental Evaluation

RwSL was evaluated across seven real-world datasets, ranging from standard benchmarks (ACM, Cora) to massive-scale graphs. Notably, RwSL successfully performed clustering on the Friendster dataset, which contains 65 million nodes and 1.8 billion edges, on a single GPU—a task where most baseline methods failed due to memory limitations.

Spectral analysis and sensitivity to the teleport probability alpha.

Key Insights

  • The PageRank Connection: The teleport probability ($\alpha$) in the GPR filter allows for precise tuning between local and global information. A smaller $\alpha$ captures wider neighborhood context without the catastrophic over-smoothing typical of deep GCNs.
  • Spectral Properties: Spectral analysis (shown in the figure above) demonstrates that GPR-based filters preserve high-frequency signals more effectively than standard GCN filters, maintaining crucial node-level details.
  • Efficiency: Training time scales linearly with the number of nodes. Unlike competing methods that struggle with the overhead of full-graph adjacency operations, RwSL's memory footprint is primarily determined by batch size and feature dimensions.

Conclusion

RwSL provides a scalable and effective framework for deep graph clustering on massive networks. By leveraging the connection between GCNs and Generalized PageRank, it overcomes the limitations of over-smoothing and high memory consumption. Future work will focus on adapting this random-walk approach to dynamic graphs and further automating hyper-parameter selection.

Summary updated

BibTeX
@inproceedings{li2022scalable,
  author = {Xiang Li and Dong Li and Ruoming Jin and Gagan Agrawal and Rajiv Ramnath},
  title = {{Scalable Deep Graph Clustering with Random-walk based Self-supervised Learning}},
  booktitle = {ASONAM},
  year = {2022},
  url = {https://openreview.net/forum?id=1EQjkvJLyh},
}
Figure