Can we Soft Prompt LLMs for Graph Learning Tasks?

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Liu, Zheyuan, He, Xiaoxin, Tian, Yijun, Chawla, Nitesh V.
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916162967699456
author Liu, Zheyuan
He, Xiaoxin
Tian, Yijun
Chawla, Nitesh V.
author_facet Liu, Zheyuan
He, Xiaoxin
Tian, Yijun
Chawla, Nitesh V.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2402_10359
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Can we Soft Prompt LLMs for Graph Learning Tasks?
Liu, Zheyuan
He, Xiaoxin
Tian, Yijun
Chawla, Nitesh V.
Machine Learning
Computation and Language
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.
title Can we Soft Prompt LLMs for Graph Learning Tasks?
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2402.10359