Unsupervised Graph Clustering with Deep Structural Entropy

Jingyun Zhang, Hao Peng, Li Sun, Guanlin Wu, Chunyang Liu, Zhengtao Yu · DOI

Abstract

Traditional graph clustering methods often struggle with sparse, noisy data and the disconnect between node embedding and cluster assignment. This paper introduces DeSE (Deep Structural Entropy), a novel unsupervised framework that makes structural entropy differentiable. By integrating a Structural Learning Layer (SLL) with a soft-assignment clustering objective, DeSE iteratively refines both the graph structure and node embeddings. Experimental results on benchmark citation and co-purchase networks demonstrate that DeSE achieves state-of-the-art performance, particularly in handling sparse graphs and identifying robust community structures.

Introduction: Beyond the Dependency Traps

Graph clustering is fundamental for discovering community structures in networked data. However, existing approaches—ranging from traditional Graph Neural Networks (GNNs) to modern contrastive learning—frequently fall into two "dependency traps." First, they are overly reliant on the initial, often imperfect, adjacency matrix. Sparse or noisy graphs lead to suboptimal clusters. Second, there is a disconnect between learning node embeddings and the final clustering step (e.g., K-Means), which fails to capture the hierarchical nature of graph communities.

Comparison of graph clustering paradigms: (a) standard GNN, (b) and (c) iterative improvement models.

DeSE addresses these challenges by leveraging Structural Information Theory. It transforms structural entropy from a static metric into a differentiable objective, allowing the model to quantify and optimize the "orderliness" of communities within the deep learning loop.

The DeSE Framework

The DeSE architecture consists of three synergistic modules designed for end-to-end optimization.

The complete DeSE architecture, featuring the Structural Learning Layer (SLL), GNN encoder, and Assignment Layer (ASS).

1. Structural Learning Layer (SLL)

To mitigate graph sparsity, the SLL maps raw node features into a lower-dimensional space to construct a K-nearest neighbor (KNN) "attribute graph." This graph is fused with the original adjacency matrix, creating an enhanced graph that captures latent relationships between nodes with similar features even if they lack direct links.

2. Clustering Assignment Layer (ASS)

Unlike models that treat embedding and clustering as separate stages, the ASS layer uses GNNs to simultaneously generate node embeddings and a soft assignment matrix. This matrix provides a probabilistic view of cluster membership, accommodating the "fuzzy" boundaries often found in real-world networks like interdisciplinary citation graphs.

3. Soft Assignment Structural Entropy

The core innovation of DeSE is the reformulation of structural entropy into a continuous, differentiable loss function. By minimizing this entropy, the model drives the graph toward a stable state with clearly defined, low-disorder communities. The final objective is a dual-loss function combining Structural Entropy (SE) loss for cluster stability and Edge-based Cross-Entropy (CE) loss to preserve local connectivity.

Experimental Evaluation

The authors evaluated DeSE against eight baselines on four benchmark datasets: Cora and Citeseer (sparse citation networks), and Computer and Photo (denser Amazon co-purchase graphs).

DeSE achieved state-of-the-art results, outperforming baselines in 12 out of 16 metrics. Notably, it secured the highest Normalized Mutual Information (NMI) across all benchmarks. On the sparse Cora dataset, DeSE improved NMI by 4.3% and Adjusted Rand Index (ARI) by 4.7% over the strongest baseline.

Key Insights

  • Differentiable Entropy: Making structural entropy a trainable feedback mechanism allows the model to self-correct the graph structure during training.
  • Robustness to Sparsity: Sensitivity analysis revealed that adding even a single nearest neighbor ($K=1$) in the feature space significantly boosts performance on sparse graphs by bridging missing links.
  • Adaptive Convergence: DeSE is remarkably robust to the initial number of clusters ($k$). It tends to converge toward the true community structure even when $k$ is overestimated, effectively pruning redundant clusters.

Conclusion and Future Directions

DeSE represents a significant step forward in unsupervised graph clustering by unifying structural information theory with deep learning. While highly effective, the model's performance can be sensitive to the balance between SE and CE loss coefficients. Future work will focus on automating hyperparameter tuning and scaling the soft-assignment entropy calculation to handle massive graphs with millions of nodes.

Summary updated

BibTeX
@inproceedings{zhang2025unsupervised,
  author = {Jingyun Zhang and Hao Peng and Li Sun and Guanlin Wu and Chunyang Liu and Zhengtao Yu},
  title = {{Unsupervised Graph Clustering with Deep Structural Entropy}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2025},
  doi = {10.1145/3711896.3737173},
}
Figure