Pre-Training and Prompting for Few-Shot Node Classification on Text-Attributed Graphs

Huanjing Zhao, Beining Yang, Yukuo Cen, Junyu Ren, Chenhui Zhang +4 more
7/22/2024
cs.SIcs.AIcs.LG

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

The text-attributed graph (TAG) is one kind of important real-world graph-structured data with each node associated with raw texts. For TAGs, traditional few-shot node classification methods directly conduct training on the pre-processed node features and do not consider the raw texts. The performance is highly dependent on the choice of the feature pre-processing method. In this paper, we propose P2TAG, a framework designed for few-shot node classification on TAGs with graph pre-training and prompting. P2TAG first pre-trains the language model (LM) and graph neural network (GNN) on TAGs with self-supervised loss. To fully utilize the ability of language models, we adapt the masked language modeling objective for our framework. The pre-trained model is then used for the few-shot node classification with a mixed prompt method, which simultaneously considers both text and graph information. We conduct experiments on six real-world TAGs, including paper citation networks and product co-purchasing networks. Experimental results demonstrate that our proposed framework outperforms existing graph few-shot learning methods on these datasets with +18.98% ~ +35.98% improvements.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhao2024pretraining,
  title  = {Pre-Training and Prompting for Few-Shot Node Classification on Text-Attributed Graphs},
  author = {Huanjing Zhao and Beining Yang and Yukuo Cen and Junyu Ren and Chenhui Zhang and Yuxiao Dong and Evgeny Kharlamov and Shu Zhao and Jie Tang},
  year   = {2024},
  eprint = {2407.15431},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.15431v1}
}

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/2407.15431.svg)](https://codeofpaper.com/paper/2407.15431)

Discussion