arXiv:2611.06052cs.LGNov 2026

Manuscript Offprint

arXiv:2611.06052

Alleviating Limited Effectiveness and Multi-Class Collapse in Deep Graph-level Clustering

Xiaoyang Lin, Renchi Yang, Yuqi Chen, Xin Huang

Xiaoyang Lin

Hong Kong Baptist University Hong Kong SAR, China csxylin@comp.hkbu.edu.hk

Yuqi Chen

Hong Kong Baptist University Hong Kong SAR, China csyqchen@comp.hkbu.edu.hk

Renchi Yang*

Hong Kong Baptist University Hong Kong SAR, China renchi@hkbu.edu.hk

Xin Huang

Hong Kong Baptist University Hong Kong SAR, China xinhuang@comp.hkbu.edu.hk

Abstract

Given a collection of NN graphs, graph-level clustering (GLC) seeks to partition the NN graphs into semantically meaningful groups, which serves as a fundamental task in analyzing graph-structured data. While Graph Isomorphism Networks (GINs) have become the de facto encoders for GLC, they still fail to distinguish graphs due to their neglect of global topology. On top of that, existing deep clustering frameworks suffer from severe “clustering collapse” issues, particularly in imbalanced multi-class scenarios.

To address these challenges, we propose S3S^3GLC, a novel framework that integrates global topological characteristics with local neighborhood features for balanced GLC. Theoretically, we leverage the Hoffman-Wielandt inequality to construct Spectral Signature as a rigorous lower bound for graph edit distance (GED), providing a computationally efficient proxy for global topological features. We additionally propose a joint manifold-preserving sparse regression module to fuse Spectral Signature with Spatial Representation, eliminating noise while preserving the complementary information. Furthermore, to mitigate clustering collapse, we introduce a balanced clustering objective based on optimal transport, harnessing the Sinkhorn-Knopp normalization to enforce equipartition constraints on cluster assignments. Extensive experiments on 10 real-world datasets demonstrate that S3S^3GLC significantly outperforms 15 state-of-the-art baselines, achieving remarkable improvements on benchmark datasets such as REDDIT-12K and OGBG-PPA.

1 Introduction

Graph-level clustering (GLC) [38, 72, 76] involves partitioning a collection of graphs into disjoint groups where graphs within the same cluster (resp. distinct clusters) exhibit high (resp. low) semantic similarity in topological structure or attributes. The unsupervised paradigm of GLC bypasses the need for expert priors [72, 76] and is critical in domains where label acquisition is cost-prohibitive or impractical [26, 61], such as screening molecular compounds for drug discovery [1, 7, 56], typological analysis of social communities [29, 44, 67], and analyzing states in brain networks [32, 33].

As illustrated in Fig. 1, molecular clustering primarily depends on functional groups (e.g., Benzene rings). Molecules that contain similar functional groups are regarded as belonging to the same

compound (e.g., Aromatic). This highlights the importance of preserving key subgraph structures when learning graph representations. Therefore, effective GLC relies on graph representation learning (GRL) to encode such structural characteristics into informative feature vectors. However, relying solely on spectral methods [2, 75] to capture global topology overlooks the importance of subgraph structure, causing graphs that share the same subgraphs to fail to obtain similar graph-level representations. Meanwhile, most subgraph-matching-based approaches are inflexible and have high time complexity [27]. Moreover, as shown in the social network clustering in Fig. 1, graphs with similar structures often differ in scale. For example, in the cluster Open Forums, the two graphs are structurally similar but have different numbers of nodes (9 vs. 17). Since many methods based on GINs commonly use sum pooling [11, 12, 60], differences in graph size tend to overshadow structural differences, making the graph-level embeddings less discriminative. In summary, obtaining graph embeddings solely with spectral methods or with GINs has non-negligible drawbacks, as a subtask of unsupervised GRL, GLC inevitably inherits these challenges.

Prior work on graph-level clustering have evolved from early graph-kernel methods [8, 9, 20, 28, 43, 50, 50, 51] to recent GNN-based contrastive learning-based methods [16, 23, 31, 42, 58, 73] and end-to-end clustering frameworks [11, 12, 14]. Although these approaches have substantially improved graph representation learning and clustering efficiency, two fundamental challenges remain: limited expressivity and multi-class collapse. First, as discussed in §4.1, GINs cannot surpass the 1-WL test and thus fail to distinguish certain non-isomorphic graphs (see Fig. 2). Unfortunately,

Figure

Figure 1: Example GLC applications.

*Corresponding Author this limitation stems from the inability of GNNs to perceive the global structure and cannot be remedied by contrastive learning or hierarchical pooling [37]. Graph edit distance (GED) [48] can precisely measure the similarity between two graphs and distinguish graphs that the 1-WL test fails to tell apart. However, its computation is NP-hard. Second, to enable end-to-end clustering, both SOTA methods minimize the Kullback–Leibler (KL) divergence between cluster assignments and pseudo-labels, but this strategy lacks cluster-size constraints, leading to cluster collapse. In §4.2, we quantify the imbalance between ground-truth labels and the predicted labels of these SOTA methods on 10 real-world datasets and find that collapse is prevalent (see Fig. 3), especially pronounced on multi-class datasets such as ENZYMES [45].

To address the two fundamental challenges above, we present S³GLC, a novel Spectral Self-Supervised Graph-Level Clustering framework that jointly tackles limited expressivity and multi-class collapse in a unified, end-to-end pipeline. We introduce Spectral Signature based on the Hoffman-Wielandt inequality, proving that adjacency eigenvalue distances constitute a rigorous lower bound on GED and enable efficient global topology encoding beyond the 1-WL limit, complementing GIN-based Spatial Representation (Fig. 2). We propose joint manifold-preserving sparse regression (JMPSR) to fuse spectral and spatial views through row-sparse projections and manifold preservation, together with GED-guided contrastive learning that aligns spatial embeddings via topology-aware positive pairs. Finally, we formulate balanced pseudo-label generation as an optimal transport problem with equipartition constraints, solved efficiently by the Sinkhorn-Knopp (SK) algorithm to ensure balanced cluster assignments. In summary, our contributions are threefold:

  • We derive Spectral Signature from the Hoffman-Wielandt inequality, establishing it as a computationally tractable yet rigorous lower bound for GED that breaks the 1-WL expressivity ceiling without incurring NP-hard pairwise matching.

  • We propose JMPSR together with GED-guided contrastive learning to integrate global spectral and local spatial views, preserving critical complementary semantics through manifold structure while suppressing redundancy via row-sparse projections.

  • We introduce an optimal-transport-based balanced clustering objective with SK normalization, which enforces equipartition constraints on cluster assignments and mitigates the multi-class collapse prevalent in existing SOTA methods.

Extensive experiments on 10 real-world datasets against 15 competitive baselines demonstrate that S³GLC establishes new state-of-the-art results, with particularly pronounced gains on challenging multi-class benchmarks (e.g., +14.6% ACC on REDDIT-12K and +35.2% NMI on DD), validating the effectiveness of topology-enhanced, balanced GLC.

References (17)