English

MAGPrompt: Message-Adaptive Graph Prompt Tuning for Graph Neural Networks

Machine Learning 2026-02-06 v1

Abstract

Pre-trained graph neural networks (GNNs) transfer well, but adapting them to downstream tasks remains challenging due to mismatches between pre-training objectives and task requirements. Graph prompt tuning offers a parameter-efficient alternative to fine-tuning, yet most methods only modify inputs or representations and leave message passing unchanged, limiting their ability to adapt neighborhood interactions. We propose message-adaptive graph prompt tuning, which injects learnable prompts into the message passing step to reweight incoming neighbor messages and add task-specific prompt vectors during message aggregation, while keeping the backbone GNN frozen. The approach is compatible with common GNN backbones and pre-training strategies, and applicable across downstream settings. Experiments on diverse node- and graph-level datasets show consistent gains over prior graph prompting methods in few-shot settings, while achieving performance competitive with fine-tuning in full-shot regimes.

Keywords

Cite

@article{arxiv.2602.05567,
  title  = {MAGPrompt: Message-Adaptive Graph Prompt Tuning for Graph Neural Networks},
  author = {Long D. Nguyen and Binh P. Nguyen},
  journal= {arXiv preprint arXiv:2602.05567},
  year   = {2026}
}