Learning Deep Representations for Graph Clustering

Fei Tian, Bin Gao, Qing Cui, Enhong Chen, Tie-Yan Liu

Introduction

Graph clustering is a fundamental task in data analysis, used to partition nodes into groups with dense internal connections. While Spectral Clustering has long been the standard due to its theoretical elegance, it faces significant hurdles in scalability—typically requiring $O(n^3)$ complexity—and flexibility in handling non-linear constraints.

This paper introduces GraphEncoder, a deep learning-based approach that leverages Stacked Sparse Autoencoders (SAE) to learn robust node embeddings. By establishing a theoretical link between matrix reconstruction and spectral methods, the authors demonstrate that deep networks can produce more accurate, non-linear representations with significantly better computational efficiency.

Methodology

GraphEncoder treats the normalized graph similarity matrix ($D^{-1}S$) as input to a deep neural network. The process follows four key steps:

  1. Normalization: The similarity matrix is prepared such that each row represents a node's relationship to the entire graph.
  2. Greedy Layer-wise Training: Multiple sparse autoencoders are stacked and trained to reconstruct their inputs while enforcing a sparsity penalty (KL divergence).
  3. Non-linear Embedding: The SAE uses non-linear activation functions to capture complex, high-order graph structures that linear spectral methods might miss.
  4. Clustering: A standard k-means algorithm is applied to the final hidden layer's output to generate cluster assignments.

Key Insights

Theoretical Foundation

The authors show that spectral clustering is essentially a rank-$k$ matrix reconstruction problem, similar to the objective of an autoencoder. This allows deep learning to inherit the structural logic of spectral methods while adding the power of non-linearity.

Scalability and Denoising

Unlike spectral methods, training an autoencoder via backpropagation is $O(n)$ for sparse graphs, making it suitable for massive datasets. Additionally, the sparsity constraint helps the model ignore noisy edges, focusing on the most informative connections.

Hierarchical Refinement

A core finding is that increasing network depth consistently improves clustering performance. Each subsequent layer refines the node embeddings, capturing more abstract topological features.

NMI improvement across layers for DIP and BioGrid datasets.

As shown in the table above, the Normalized Mutual Information (NMI) for the DIP and BioGrid datasets increases steadily from Layer 1 to Layer 5, demonstrating the value of deep architectures in graph representation.

Experimental Results

The model was evaluated on several datasets, including UCI Wine, 20-Newsgroup subsets, and large-scale Protein-Protein Interaction (PPI) networks (DIP and BioGrid).

Performance comparison (NMI) across different datasets.

Superior Accuracy

As summarized in the table above, GraphEncoder (SAE) consistently outperforms both Spectral Clustering and k-means. On the 20-Newsgroup dataset, GraphEncoder (SAE) achieved an NMI of 0.84 (3-NG), significantly outperforming Spectral Clustering's 0.71.

Scalability on PPI Networks

On the BioGrid dataset (~6,000 nodes), the SAE-based method maintained high performance across various cluster counts, while traditional k-means on raw data lagged behind.

Conclusion

GraphEncoder demonstrates that deep representation learning is a powerful alternative to traditional spectral clustering. By combining the theoretical strengths of matrix reconstruction with the scalability and non-linearity of stacked autoencoders, it provides a robust framework for analyzing complex, large-scale graphs. Future work may address hyperparameter sensitivity and the application of these techniques to dynamic or directed graphs.

Summary updated

BibTeX
@inproceedings{tian2014learning,
  author = {Fei Tian and Bin Gao and Qing Cui and Enhong Chen and Tie-Yan Liu},
  title = {{Learning Deep Representations for Graph Clustering}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2014},
  doi = {10.1609/aaai.v28i1.8916},
}
Figure