Skip to main content
QUICK REVIEW

[论文解读] MAGPrompt: Message-Adaptive Graph Prompt Tuning for Graph Neural Networks

Long D. Nguyen, Binh P. Nguyen|arXiv (Cornell University)|Feb 5, 2026
Advanced Graph Neural NetworksComputer Science被引用 0
一句话总结

MAGPrompt 冻结预训练的 GNN 主干并学习轻量化提示,以重新加权每个邻居消息并在聚合时注入附加信号,在小样本设置下提升下游性能,并在与完整微调相比仍具竞争力。

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.

研究动机与目标

  • Motivate improving transferability of pre-trained GNNs across downstream tasks without full fine-tuning.
  • Develop a parameter-efficient prompting mechanism that directly modulates message passing.
  • Ensure compatibility with common GNN backbones and pre-training strategies while keeping the backbone frozen.
  • Demonstrate gains over representation-based graph prompting methods, especially in few-shot settings.

提出的方法

  • Freeze the GNN backbone and learn a small set of prompts per layer.
  • Introduce a per-edge message gate aij(l) to reweight neighbor messages during aggregation.
  • Add a shared message prompt p(l) injected at the message level during aggregation.
  • Optionally extend to MAGPrompt+ with multiple prompt bases and edge-adaptive composition for richer relational patterns.
  • Maintain permutation equivariance by preserving graph structure and backbone parameters.
  • Provide a prompt-collapse regularization to balance usage of prompt bases in MAGPrompt+.

实验结果

研究问题

  • RQ1Does message-adaptive prompting improve downstream adaptation in few-shot and full-shot settings compared to representation-based prompting?
  • RQ2How do MAGPrompt and MAGPrompt+ components (reweighting and compositional edge prompts) contribute to performance across datasets and pre-training strategies?
  • RQ3How do hyperparameters (prompt basis size, beta, regularization strength, attention dimension) affect results?

主要发现

  • MAGPrompt+ achieves the best average performance across 5-shot node classification benchmarks, outperforming prior graph prompting methods.
  • MAGPrompt consistently improves over representation-based prompting across datasets and pre-training strategies.
  • In graph classification (50-shot), MAGPrompt+ attains the highest average accuracy across all benchmarks and pre-training methods.
  • In full-shot MoleculeNet benchmarks, MAGPrompt+ attains state-of-the-art ROC-AUC, often surpassing fine-tuning.
  • Ablation studies show message-adaptive reweighting is crucial, and adding message-wise prompts provides additional gains.
  • Prompt bases (10-20) offer a balance between expressiveness and efficiency, with regularization mitigating prompt collapse.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。