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

Can we Soft Prompt LLMs for Graph Learning Tasks?

About

Graph plays an important role in representing complex relationships in real-world applications such as social networks, biological data and citation networks. In recent years, Large Language Models (LLMs) have achieved tremendous success in various domains, which makes applying LLMs to graphs particularly appealing. However, directly applying LLMs to graph modalities presents unique challenges due to the discrepancy and mismatch between the graph and text modalities. Hence, to further investigate LLMs' potential for comprehending graph information, we introduce GraphPrompter, a novel framework designed to align graph information with LLMs via soft prompts. Specifically, GraphPrompter consists of two main components: a graph neural network to encode complex graph information and an LLM that effectively processes textual information. Comprehensive experiments on various benchmark datasets under node classification and link prediction tasks demonstrate the effectiveness of our proposed method. The GraphPrompter framework unveils the substantial capabilities of LLMs as predictors in graph-related tasks, enabling researchers to utilize LLMs across a spectrum of real-world graph scenarios more effectively.

Zheyuan Liu, Xiaoxin He, Yijun Tian, Nitesh V. Chawla• 2024

Related benchmarks

TaskDatasetResultRank
Node ClassificationCora
Accuracy51.11
1215
Node ClassificationPubmed
Accuracy88.11
627
Node ClassificationREDDIT
Accuracy90.36
216
Node ClassificationComputers
Mean Accuracy62.46
169
Node ClassificationProducts
Accuracy76.34
85
Node ClassificationComputers
Accuracy26.4
85
Node ClassificationMovies
Accuracy45.21
82
Node ClassificationCiteseer
Macro-F165.55
59
Node ClassificationSports
Accuracy80.92
30
Node ClassificationCora
Macro-F177.27
30
Showing 10 of 32 rows

Other info

Follow for update