Exploiting Text Semantics for Few and Zero Shot Node Classification on Text-attributed Graph

Yuxiang Wang, Xiao Yan, Shiyu Jin, Quanqing Xu, Chuang Hu +4 more
5/13/2025
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Text-attributed graph (TAG) provides a text description for each graph node, and few- and zero-shot node classification on TAGs have many applications in fields such as academia and social networks. Existing work utilizes various graph-based augmentation techniques to train the node and text embeddings, while text-based augmentations are largely unexplored. In this paper, we propose Text Semantics Augmentation (TSA) to improve accuracy by introducing more text semantic supervision signals. Specifically, we design two augmentation techniques, i.e., positive semantics matching and negative semantics contrast, to provide more reference texts for each graph node or text description. Positive semantic matching retrieves texts with similar embeddings to match with a graph node. Negative semantic contrast adds a negative prompt to construct a text description with the opposite semantics, which is contrasted with the original node and text. We evaluate TSA on 5 datasets and compare with 13 state-of-the-art baselines. The results show that TSA consistently outperforms all baselines, and its accuracy improvements over the best-performing baseline are usually over 5%.

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. Any repos shown below are weak matches — 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{wang2025exploiting,
  title  = {Exploiting Text Semantics for Few and Zero Shot Node Classification on Text-attributed Graph},
  author = {Yuxiang Wang and Xiao Yan and Shiyu Jin and Quanqing Xu and Chuang Hu and Yuanyuan Zhu and Bo Du and Jia Wu and Jiawei Jiang},
  year   = {2025},
  eprint = {2505.08168},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.08168v1}
}

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

Discussion