Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Leveraging Large Language Models for Node Generation in Few-Shot Learning on Text-Attributed Graphs

About

Text-attributed graphs have recently garnered significant attention due to their wide range of applications in web domains. Existing methodologies employ word embedding models for acquiring text representations as node features, which are subsequently fed into Graph Neural Networks (GNNs) for training. Recently, the advent of Large Language Models (LLMs) has introduced their powerful capabilities in information retrieval and text generation, which can greatly enhance the text attributes of graph data. Furthermore, the acquisition and labeling of extensive datasets are both costly and time-consuming endeavors. Consequently, few-shot learning has emerged as a crucial problem in the context of graph learning tasks. In order to tackle this challenge, we propose a lightweight paradigm called LLM4NG, which adopts a plug-and-play approach to empower text-attributed graphs through node generation using LLMs. Specifically, we utilize LLMs to extract semantic information from the labels and generate samples that belong to these categories as exemplars. Subsequently, we employ an edge predictor to capture the structural information inherent in the raw dataset and integrate the newly generated samples into the original graph. This approach harnesses LLMs for enhancing class-level information and seamlessly introduces labeled nodes and edges without modifying the raw dataset, thereby facilitating the node classification task in few-shot scenarios. Extensive experiments demonstrate the outstanding performance of our proposed paradigm, particularly in low-shot scenarios. For instance, in the 1-shot setting of the ogbn-arxiv dataset, LLM4NG achieves a 76% improvement over the baseline model.

Jianxiang Yu, Yuxiang Ren, Chenghua Gong, Jiaqi Tan, Xiang Li, Xuecang Zhang• 2023

Related benchmarks

TaskDatasetResultRank
Node ClassificationCiteseer
Accuracy36.92
541
Node ClassificationInstagram
Accuracy60.53
140
Node ClassificationCora
Accuracy48.51
138
Node ClassificationCiteseer full-supervised
Accuracy0.7618
55
Node ClassificationPubmed full-supervised
Accuracy89.83
52
Node ClassificationCora (full-supervised)
Accuracy87.24
36
Node ClassificationPhoto
Accuracy58.26
35
Node ClassificationArxiv Full-supervised
Accuracy76.28
4
Showing 8 of 8 rows

Other info

Follow for update