Compactness and Consistency: A Conjoint Framework for Deep Graph Clustering

Wei Ju, Siyu Yi, Kangjie Zheng, Yifan Wang, Ziyue Qiao, Li Shen, Yongdao Zhou, Xiaochun Cao, Jiancheng Lv

Graph clustering—grouping similar nodes in a network—is a fundamental task with applications ranging from social network analysis to biological research. While Graph Neural Networks (GNNs) are the standard tool for this, they suffer from two major limitations:

  1. Locality Constraint: Most GNNs rely on message passing between immediate neighbors. Capturing the global structure usually requires many layers, which often leads to over-smoothing (where all node representations become indistinguishable).
  2. Noise and Redundancy: Real-world graph data is inherently noisy. Redundant features and spurious edges can lead to bloated embeddings that obscure true underlying clusters.

To address these issues, researchers have proposed CoCo (Compactness and Consistency), a novel framework that captures both fine-grained local details and broad global structures while distilling embeddings to their most essential, compact form.

The CoCo Framework

The CoCo framework overcomes the "local-only" bias of standard GNNs by combining global graph diffusion with a low-rank subspace reconstruction technique. It operates in three main stages:

The CoCo Framework Architecture
  • Dual-View Feature Extraction: Instead of relying solely on immediate neighbors, CoCo creates two views of the graph. The Local View uses the standard adjacency matrix, while the Global View uses a graph diffusion matrix (based on Personalized PageRank). This allows the model to capture long-range dependencies without needing a deep, over-smoothed architecture.
  • Compactness Learning (Denoising): To strip away noise, CoCo treats the node embeddings as a Gaussian Mixture Model (GMM). It uses an Expectation-Maximization (EM) algorithm to find a low-rank subspace that captures the core signal of the data. By reconstructing the embeddings from this optimal subspace, the framework effectively filters out noise and redundancy.
  • Consistency Learning: To ensure the local and global views are semantically aligned, CoCo employs a consistency loss. It selects a set of "anchor nodes" and calculates how similar every other node is to these anchors in both views. It then uses Kullback-Leibler (KL) divergence to force these similarity distributions to align, ensuring a unified understanding of the graph's structure.

Key Innovations

  • Low-Rank as a Filter: Using GMM-based subspace training serves as a principled way to preserve "Individual Mass Conservation" and "Maximal Variation." This ensures the model keeps the most important signals while discarding the noise.
  • Relationship-Based Consistency: Instead of forcing the raw embedding vectors of the two views to be identical, CoCo forces their relationships to anchor points to be consistent. This allows each view to maintain its unique perspective while agreeing on the overall cluster structure.
  • Efficiency via Anchors: To avoid the massive computational cost of comparing every node to every other node ($O(N^2)$), the use of a memory bank of anchor samples keeps the algorithm's complexity linear ($O(N)$).

Experimental Results

The model was evaluated on widely used benchmark datasets for deep graph clustering, including Cora, AMAP, BAT, EAT, and UAT. It was also tested on heterophilic graphs and standard node classification benchmarks to prove its versatility.

Performance Comparison on Benchmark Datasets
  • State-of-the-Art Performance: CoCo consistently outperformed top-tier methods. For example, on the Cora dataset, CoCo achieved a clustering accuracy of 79.36%, a significant improvement over previous baselines.
  • Robustness to Noise: In experiments where noise was intentionally added to edges and attributes, CoCo's performance degraded much less than competing models, validating the effectiveness of its compactness learning module.
  • Versatility: Beyond clustering, CoCo set new high-water marks for unsupervised node classification on several datasets, suggesting the learned embeddings are highly transferable to downstream tasks.

Limitations and Future Directions

While CoCo is highly effective, the authors note a few areas for future development. The model relies on key hyperparameters, such as the subspace dimension and the number of anchors, which require manual tuning for new datasets. Additionally, the current framework is designed for static graphs; extending CoCo to temporal (dynamic) graphs is a promising next step. Finally, applying this framework to specialized, highly noisy fields like single-cell genomics presents an exciting opportunity for domain expansion.

Summary updated

BibTeX
@inproceedings{ju2026compactness,
  author = {Wei Ju and Siyu Yi and Kangjie Zheng and Yifan Wang and Ziyue Qiao and Li Shen and Yongdao Zhou and Xiaochun Cao and Jiancheng Lv},
  title = {{Compactness and Consistency: A Conjoint Framework for Deep Graph Clustering}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=9jdQLmPUHW},
}
Figure