English

SGPT: Few-Shot Prompt Tuning for Signed Graphs

Machine Learning 2025-08-19 v2 Artificial Intelligence

Abstract

Signed Graph Neural Networks (SGNNs) are effective in learning expressive representations for signed graphs but typically require substantial task-specific labels, limiting their applicability in label-scarce industrial scenarios. In contrast, unsigned graph structures are abundant and can be readily leveraged to pre-train Graph Neural Networks (GNNs), offering a promising solution to reduce supervision requirements in downstream signed graph tasks. However, transferring knowledge from unsigned to signed graphs is non-trivial due to the fundamental discrepancies in graph types and task objectives between pre-training and downstream phases. To address this challenge, we propose Signed Graph Prompt Tuning (SGPT), a novel graph prompting framework that adapts pre-trained unsigned GNNs to few-shot signed graph tasks. We first design a graph template based on balance theory to disentangle mixed node relationships introduced by negative links, mitigating the structural mismatches between unsigned and signed graphs. We further introduce a task template that reformulates downstream signed tasks into a unified link prediction objective, aligning their optimization goals with the pre-training task. Furthermore, we develop feature prompts that align downstream semantic spaces with the feature spaces learned during pre-training, and semantic prompts to integrate link sign semantics in a task-aware manner. We conduct extensive experiments on seven benchmark signed graph datasets, demonstrating that SGPT significantly outperforms existing state-of-the-art methods, establishing a powerful and generalizable solution for few-shot signed graph learning.

Keywords

Cite

@article{arxiv.2412.12155,
  title  = {SGPT: Few-Shot Prompt Tuning for Signed Graphs},
  author = {Zian Zhai and Sima Qing and Xiaoyang Wang and Wenjie Zhang},
  journal= {arXiv preprint arXiv:2412.12155},
  year   = {2025}
}

Comments

CIKM'25

R2 v1 2026-06-28T20:37:39.541Z