One Prompt Fits All: Universal Graph Adaptation for Pretrained Models

Yong-Qi Huang, Ji-Tao Zhao, Dong-Xiao He, Xiao-Bao Wang, Ya-Wen Li +3 more
9/1/2025
17 citations

No official code found. Best implementation: hedongxiao-tju/UniPrompt (16 stars).

Abstract

Graph Prompt Learning (GPL) has emerged as a promising paradigm that bridges graph pretraining models and downstream scenarios, mitigating label dependency and the misalignment between upstream pretraining and downstream tasks. Although existing GPL studies explore various prompt strategies, their effectiveness and underlying principles remain unclear.

Show full abstract

We identify two critical limitations: (1) Lack of consensus on underlying mechanisms: Despite current GPLs have advanced the field, there is no consensus on how prompts interact with pretrained models, as different strategies intervene at varying spaces within the model, i.e., input-level, layer-wise, and representation-level prompts. (2) Limited scenario adaptability: Most methods fail to generalize across diverse downstream scenarios, especially under data distribution shifts (e.g., homophilic-to-heterophilic graphs). To address these issues, we theoretically analyze existing GPL approaches and reveal that representation-level prompts essentially function as fine-tuning a simple downstream classifier, proposing that graph prompt learning should focus on unleashing the capability of pretrained models, and the classifier should adapt to downstream scenarios. Based on our findings, we propose UniPrompt, a novel GPL method that adapts any pretrained models, unleashing the capability of pretrained models while preserving the input graph. Extensive experiments demonstrate that our method can effectively integrate with various pretrained models and achieve strong performance across in-domain and cross-domain scenarios.

View on arXivView PDF

Code Implementations(1)

[NeurIPS 2025] One Prompt Fits All: Universal Graph Adaptation for Pretrained Models

161

Similar Papers

Cite this paper

@article{huang2025prompt,
  title  = {One Prompt Fits All: Universal Graph Adaptation for Pretrained Models},
  author = {Yong-Qi Huang and Ji-Tao Zhao and Dong-Xiao He and Xiao-Bao Wang and Ya-Wen Li and Yuxiao Huang and Di Jin and Zhi-Yong Feng},
  year   = {2025},
  eprint = {2509.22416},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2509.22416},
  url    = {https://doi.org/10.48550/arXiv.2509.22416},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.22416.svg)](https://codeofpaper.com/paper/2509.22416)

Discussion