Spectral Reversal: Counteracting Singular Value Bias for Graph Prompting
Organizations: School of Computer Science and Engineering, University of Electronic Science and Technology of China, Chengdu, Sichuan, China
Abstract
Pre-training Graph Neural Networks (GNNs) via self-supervised learning has become a dominant paradigm, yet efficiently adapting frozen encoders remains a challenge. Graph prompting offers a parameter-efficient alternative to fine-tuning, but existing methods largely treat pre-trained models as opaque feature extractors, ignoring their internal spectral structure. In this work, we identify a systematic phenomenon in pre-trained GNNs, which we term spectral bias: optimization during pre-training disproportionately aligns representations with directions associated with large singular values, leaving low-energy directions under-explored. We show that these underutilized directions can encode complementary information that is beneficial for downstream adaptation, especially under distribution shift. To leverage this insight, we propose Spectral Reverse Prompt (SRP), a prompting framework that rebalances the spectral contributions of frozen GNN encoders. SRP applies a learnable soft-thresholding mask in the spectral domain to down-weight dominant directions while amplifying weaker ones. In addition, SRP incorporates a null-space augmentation module that captures variation in directions with minimal activation under the frozen encoder. Extensive experiments across multiple benchmarks demonstrate that SRP achieves state-of-the-art performance with minimal additional parameters, highlighting that reweighting spectral components is a principled and effective strategy for parameter-efficient graph adaptation.
Figures & tables
| Pre-training | Tuning Methods | Cora | CiteSeer | PubMed | ogbn-arxiv | Flickr |
|---|---|---|---|---|---|---|
| GraphCL | Classifier Only | |||||
| GPPT | ||||||
| GraphPrompt | ||||||
| ALL-in-one | ||||||
| GPF | ||||||
| GPF-plus |
| Pre-training | Tuning Methods | ENZYMES | DD | NCI1 | NCI109 | Mutagenicity |
|---|---|---|---|---|---|---|
| GraphCL | Classifier Only | |||||
| GraphPrompt | ||||||
| ALL-in-one | ||||||
| GPF | ||||||
| GPF-plus | ||||||
| EdgePrompt |
| Variant | GraphCL | SimGRACE | ||||
|---|---|---|---|---|---|---|
| Cora | CiteSeer | Avg. | Cora | CiteSeer | Avg. | |
| SRP (full) | ||||||
| SRP-NM (w/o null channel) | ||||||
| SRP-NS (w/o spectral channel) | ||||||
| SRP-NR (w/o reverse) | ||||||
| SRP-Bi (bidirectional) | ||||||
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | #Nodes | #Edges | #Feat. | #Classes | Task |
|---|---|---|---|---|---|
| Cora | 2,708 | 10,556 | 1,433 | 7 | Node |
| CiteSeer | 3,327 | 9,104 | 3,703 | 6 | Node |
| PubMed | 19,717 | 88,648 | 500 | 3 | Node |
| ogbn-arxiv | 169,343 | 1,166,243 | 128 | 40 | Node |
| Flickr | 89,250 | 899,756 | 500 | 7 | Node |
| Cornell | 183 | 298 | 1703 | 5 | Node |
| Dataset | #Graphs | Avg. Nodes | Avg. Edges | #Feat. | #Classes | Task |
|---|---|---|---|---|---|---|
| ENZYMES | 600 | 32.63 | 124.27 | 3 | 6 | Graph |
| DD | 1,178 | 284.32 | 1,431.32 | 89 | 2 | Graph |
| NCI1 | 4,110 | 29.87 | 64.60 | 37 | 2 | Graph |
| NCI109 | 4,127 | 29.68 | 64.26 | 38 | 2 | Graph |
| Mutagenicity | 4,337 | 30.32 | 61.54 | 14 | 2 | Graph |
| Backbone | Dataset | Classifier-only | GraphLoRA | SRP |
|---|---|---|---|---|
| GraphGPS | Cora | |||
| GraphGPS | CiteSeer | |||
| GraphGPS | NCI1 | |||
| GraphGPS | ENZYMES | |||
| Graphormer | Cora | |||
| Graphormer | CiteSeer |
| Mask setting | Cora | CiteSeer | NCI1 | ENZYMES |
|---|---|---|---|---|
| 64.55 | 47.64 | 66.63 | 36.42 | |
| 64.88 | 48.03 | 66.52 | 36.92 | |
| 67.80 | 48.81 | 66.96 | 36.50 | |
| 68.10 | 48.99 | 66.80 | 36.67 | |
| 68.06 | 48.87 | 66.84 | 36.25 | |
| Hard threshold (STE) | 67.95 | 48.90 | 66.89 | 35.67 |
| Dataset | Strong- | Random- | Weak- | Hard (STE) | Soft |
|---|---|---|---|---|---|
| Cora | 64.25 | 64.44 | 67.80 | 67.95 | 68.10 |
| CiteSeer | 47.10 | 47.46 | 48.78 | 48.90 | 48.99 |
| NCI1 | 66.42 | 66.45 | 66.87 | 66.89 | 66.80 |
| Dataset | Classifier-only | GraphLoRA | SRP | SRP vs. GraphLoRA |
|---|---|---|---|---|
| Cornell | ||||
| Squirrel | ||||
| Chameleon |
| Dataset | GPF | SRP |
|---|---|---|
| Cora | 0.121 | 0.077 |
| CiteSeer | 0.131 | 0.084 |
| PubMed | 0.678 | 0.508 |
| ENZYMES | 0.221 | 0.292 |
| DD | 0.191 | 0.136 |
| NCI1 | 0.342 | 0.297 |
Graph Neural Networks
Graph Neural Networks learn from graph-structured data by combining information across connected nodes, edges, and larger structures.
See all 726 papers