Let's Ask GNN: Empowering Large Language Model for Graph In-Context Learning

Zhengyu Hu, Yichuan Li, Zhengyu Chen, Jingang Wang, Han Liu +2 more
10/9/2024
cs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Textual Attributed Graphs (TAGs) are crucial for modeling complex real-world systems, yet leveraging large language models (LLMs) for TAGs presents unique challenges due to the gap between sequential text processing and graph-structured data. We introduce AskGNN, a novel approach that bridges this gap by leveraging In-Context Learning (ICL) to integrate graph data and task-specific information into LLMs. AskGNN employs a Graph Neural Network (GNN)-powered structure-enhanced retriever to select labeled nodes across graphs, incorporating complex graph structures and their supervision signals. Our learning-to-retrieve algorithm optimizes the retriever to select example nodes that maximize LLM performance on graph. Experiments across three tasks and seven LLMs demonstrate AskGNN's superior effectiveness in graph task performance, opening new avenues for applying LLMs to graph-structured data without extensive fine-tuning.

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. 1 weaker match is 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{hu2024lets,
  title  = {Let's Ask GNN: Empowering Large Language Model for Graph In-Context Learning},
  author = {Zhengyu Hu and Yichuan Li and Zhengyu Chen and Jingang Wang and Han Liu and Kyumin Lee and Kaize Ding},
  year   = {2024},
  eprint = {2410.07074},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.07074v3}
}

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

Discussion