English

Learning and Editing Universal Graph Prompt Tuning via Reinforcement Learning

Machine Learning 2025-12-10 v1

Abstract

Early graph prompt tuning approaches relied on task-specific designs for Graph Neural Networks (GNNs), limiting their adaptability across diverse pre-training strategies. In contrast, another promising line of research has investigated universal graph prompt tuning, which operates directly in the input graph's feature space and builds a theoretical foundation that universal graph prompt tuning can theoretically achieve an equivalent effect of any prompting function, eliminating dependence on specific pre-training strategies. Recent works propose selective node-based graph prompt tuning to pursue more ideal prompts. However, we argue that selective node-based graph prompt tuning inevitably compromises the theoretical foundation of universal graph prompt tuning. In this paper, we strengthen the theoretical foundation of universal graph prompt tuning by introducing stricter constraints, demonstrating that adding prompts to all nodes is a necessary condition for achieving the universality of graph prompts. To this end, we propose a novel model and paradigm, Learning and Editing Universal GrAph Prompt Tuning (LEAP), which preserves the theoretical foundation of universal graph prompt tuning while pursuing more ideal prompts. Specifically, we first build the basic universal graph prompts to preserve the theoretical foundation and then employ actor-critic reinforcement learning to select nodes and edit prompts. Extensive experiments on graph- and node-level tasks across various pre-training strategies in both full-shot and few-shot scenarios show that LEAP consistently outperforms fine-tuning and other prompt-based approaches.

Keywords

Cite

@article{arxiv.2512.08763,
  title  = {Learning and Editing Universal Graph Prompt Tuning via Reinforcement Learning},
  author = {Jinfeng Xu and Zheyu Chen and Shuo Yang and Jinze Li and Hewei Wang and Yijie Li and Edith C. H. Ngai},
  journal= {arXiv preprint arXiv:2512.08763},
  year   = {2025}
}

Comments

Accepted by KDD 2026

R2 v1 2026-07-01T08:17:21.046Z