HeteGCD: Statistics-Aware Dual-Prototype Learning for Generalized Category Discovery on Heterophilous Graphs
Organizations: University of Electronic Science and Technology of China, China
Abstract
Heterophilous graphs are prevalent in real-world applications, where connected nodes often exhibit dissimilar attributes or belong to different classes, posing significant challenges to conventional graph learning methods based on homophily. This limitation becomes particularly pronounced in generalized category discovery (GCD), which requires models to recognize known classes and discover novel ones using labels from known classes only. However, existing graph GCD methods typically rely on aforementioned homophily-based inductive biases, which are ill-suited to heterophilous graphs. Meanwhile, although current heterophilous graph learning methods exploit diverse neighborhood signals, their selection and fusion are often guided by supervision across all classes, including novel classes whose labels are unavailable in GCD. These limitations raise a key question: how can heterogeneous neighborhood information be effectively leveraged for category discovery without any novel-class supervision? To answer this question, in this study we propose HeteGCD, a new statistics-aware dual-prototype learning perspective for generalized category discovery on heterophilous graphs. The key idea is to examine both statistics of local attribute differences and neighborhood class distribution to extract discriminative information in feature and probability spaces simultaneously. Specifically, a gated dual-stream encoder integrates both node attributes and local attribute-difference statistics to learn informative node representations. Afterwards, a dual-prototype classifier combines feature-based similarity with distribution-based consistency to support category discovery. Experiments on five heterophilous graphs show that HeteGCD achieves competitive performance against 24 baseline combinations.
Figures & tables
| Method | Roman Empire | Chameleon | Actor | BlogCatalog | Flickr | Summary | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Encoder | Old | New | All | Rk. | Old | New | All | Rk. | Old | New | All | Rk. | Old | New | All | Rk. | Old | New | All | Rk. | Avg. Rank | Overall Rank | |
| GCD | MLP | 60.89 | 30.92 | 45.58 | 14 | 46.14 | 33.68 | 38.53 | 8 | 35.21 | 29.01 | 31.78 | 2 | 95.16 | 48.97 | 72.03 | 4 | 92.37 | 13.55 | 48.73 | 11 | 7.80 | 2.5 |
| GCN | 34.50 | 17.98 | 24.52 | 23 | 49.32 | 30.37 | 38.50 | 9 | 20.44 | 30.48 | 27.61 | 22 | 73.03 | 45.07 | 59.12 | 11 | 69.33 | 34.86 | 50.29 | 8 | 14.60 | 16 | |
| GCNII | 71.55 | 27.01 | 48.68 | 6 | 45.80 | 26.66 | 35.91 | 21 | 23.43 | 24.07 | 25.93 | 25 | 97.02 | 67.66 | 82.32 | 2 | 90.91 | 28.54 | 56.36 | 4 | 11.60 | 12 | |
| H2GCN | 52.87 | 28.81 | 40.61 | 19 | 46.38 | 27.28 | 34.99 | 25 | 33.64 | 23.76 | 28.43 | 20 | 83.32 | 22.08 | 52.66 | 12 | 88.26 | 26.08 | 53.83 | 6 | 16.40 | 18.5 | |
| LINKX | 58.29 | 32.90 | 45.03 | 15 | 44.54 | 33.41 | 40.06 | 2 | 33.84 | 26.64 | 29.88 | 16 | 97.09 | 25.45 | 61.15 | 9 | 92.41 | 27.58 | 56.51 | 3 | 9.00 | 5 | |
| Variant | Flickr | BlogCatalog | Roman Empire | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Old | New | All | Old | New | All | Old | New | All | |
| w/o | 83.50 | 14.30 | 45.17 | 80.87 | 32.18 | 56.40 | 62.57 | 30.45 | 48.06 |
| w/o | 95.18 | 23.91 | 55.71 | 97.60 | 49.40 | 73.41 | 56.45 | 30.07 | 44.79 |
| w/o distribution | 95.00 | 21.10 | 54.09 | 95.56 | 51.03 | 73.26 | 70.82 | 31.90 | 52.47 |
| Ours (Full) | 95.41 | 22.89 | 55.28 | 97.56 | 49.13 | 73.28 | 63.52 | 31.14 | 49.99 |
| Avg. Imp. | +4.19 | +3.12 | +3.62 | +6.22 | +4.93 | +5.59 | +0.24 | +0.34 | +1.55 |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Nodes | Edges | Features | Classes | Old Classes | New Classes | labeled ratio (%) | Edge Homophily |
|---|---|---|---|---|---|---|---|---|
| Roman Empire | 22,662 | 32,927 | 300 | 18 | 9 | 9 | 10.05–29.51 | 0.047 |
| Chameleon | 890 | 8,854 | 2,325 | 5 | 2 | 3 | 16.40–19.55 | 0.236 |
| Actor | 7,600 | 26,659 | 932 | 5 | 2 | 3 | 14.21–23.76 | 0.217 |
| BlogCatalog | 5,196 | 171,743 | 8,189 | 6 | 3 | 3 | 29.08–30.81 | 0.401 |
| Flickr | 7,575 | 239,738 | 12,047 | 9 | 4 | 5 | 26.27–27.29 | 0.239 |
| Parameter | Search space |
|---|---|
| Learning rate | |
| Weight decay | |
| Contrastive batch size | |
| Supervised weight | |
| MeMax weight | |
| InfoNCE temperature |
Generalized Category Discovery
Generalized category discovery learns known classes from labeled examples while grouping unlabeled data into known and previously unseen categories.
See all 26 papers