Breaking Structural Isolation: Scalable Graph Clustering via Community-Aware Sampling and Structural Entropy

Jingyun Zhang, Hao Peng, Jianxin Li, Angsheng Li, Philip S. YuarXiv 2026

TL;DR

SCISE solves the "structural isolation" problem in large-scale graph clustering, where mini-batch sampling inherently severs global community contexts. By synergizing community-aware batch expansion with constrained structural entropy optimization, it preserves global topological integrity during training. This allows the framework to achieve state-of-the-art clustering performance while scaling near-linearly to graphs with millions of nodes.

What Problem Does This Paper Address?

Unsupervised graph clustering aims to partition nodes into cohesive communities based on topological and attribute similarities without relying on manual labels. Modern approaches typically combine Graph Neural Networks (GNNs) with Graph Contrastive Learning (GCL). However, as graphs scale to millions of nodes, these methods hit a massive bottleneck: they must rely on mini-batch training via stochastic node sampling to fit into memory.

Traditional samplers (whether completely random or localized to immediate neighborhoods) focus only on local reachability. As a result, they inevitably sever global community ties, scattering nodes from the same semantic cluster across different batches. The authors term this "structural isolation." Without global topological awareness during batch updates, models suffer from structural drifting and excessive community fragmentation, severely degrading clustering quality on large networks.

Figure 1: Comparison of sampling strategies. (a) Random: fragments communities into batches. (b) Local: limited to neighborhood context. (c) SCISE (Ours): incorporates global community context to preserve structural integrity within mini-batches.

Methods

The authors introduce SCISE (Scalable unsupervised graph Clustering framework), which bridges the gap between computational scalability and structural integrity using three core components:

  1. Structural Entropy Community Constraint (SECC): Performed as a quick, offline preprocessing step, SECC partitions the raw graph into dense community anchors. While traditional structural entropy minimization tends to over-segment graphs into thousands of tiny micro-communities, SECC introduces a target community count constraint ($N_{comm}$) to force the merge operations into a balanced, semantically meaningful mesoscopic structure.
  2. Community-Aware Sampling Expansion (CSampE): To counter structural isolation during online training, CSampE dynamically expands each mini-batch based on the SECC community priors. It uses a dual-track strategy: small communities are fully ingested into the batch to restore local topology, while large communities undergo a localized random-walk filtering process to extract a structural "backbone," preventing memory explosion.
  3. Structural Contrastive Learning (StructCL): Instead of computing contrastive losses over raw, noisy graph edges, StructCL refines intra-batch subgraphs. It builds a sparse structural affinity matrix using localized random-walk visitation frequencies, guiding the GCN encoder via a multi-positive InfoNCE loss to align node embeddings with higher-order structural similarities.

Datasets

The framework was evaluated on six standard benchmark datasets:

  • Medium-Scale: Amazon Photo, Amazon Computers, and Pubmed.
  • Large-Scale: Ogbn-arxiv, Reddit, and Ogbn-products.

The largest dataset, Ogbn-products, contains over 2.44 million nodes and 61.8 million edges, serving as a rigorous test for the framework's scalability and memory efficiency.

Key Insights and Ideas

  • The Sampling Paradox: The very tool used to make deep graph learning scalable—mini-batch sampling—fundamentally destroys the global community structures that graph clustering algorithms are trying to detect.
  • Constraint as a Regularizer: Unconstrained structural entropy minimization gets trapped in local optima, yielding fragmented micro-clusters. Imposing a global cardinality constraint ($N_{comm}$) acts as a powerful regularizer that preserves global community integrity.
  • Dual-Track Batch Expansion: You don't need to load an entire massive community to fix structural isolation. Capturing the structural "backbone" via localized random walks provides enough global context to stabilize gradient updates without blowing up the batch size.

Key Results

  • State-of-the-Art Performance: SCISE outperformed ten competitive baselines in 21 out of 24 metrics across all datasets. Notably, on the Ogbn-arxiv dataset, it improved the Normalized Mutual Information (NMI) by 3.25% and achieved a massive 17.08% absolute improvement in F1-score over the strongest baseline.
  • Strict Scalability: While many high-performance competitors suffered from Out-of-Memory (OOM) errors on large graphs, SCISE scaled near-linearly. The entire pipeline on the 2.45-million-node Ogbn-products dataset finished in 7.54 hours, with the SECC preprocessing step taking a negligible 10.75 seconds.
  • Robustness to Sparsity: In edge-deletion experiments, SCISE maintained stable clustering performance even when up to 80% of the graph's edges were randomly removed, showcasing the resilience of its community-guided expansion mechanism.

Limitations and Future Work

The primary limitation acknowledged by the authors is that SCISE is currently tailored for undirected, homogeneous graphs. Real-world networks are frequently heterogeneous (containing multiple node and edge types) or directed.

As next steps, the authors plan to extend the structural entropy-constrained framework to heterogeneous and complex graph settings. They also aim to explore more scalable online structural entropy optimization techniques and develop adaptive sampling budgets that automatically tune random-walk parameters based on local topological characteristics.

Summary updated

BibTeX
@misc{zhang2026breaking,
  author = {Jingyun Zhang and Hao Peng and Jianxin Li and Angsheng Li and Philip S. Yu},
  title = {{Breaking Structural Isolation: Scalable Graph Clustering via Community-Aware Sampling and Structural Entropy}},
  year = {2026},
  eprint = {2607.05469},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.05469},
}
Figure