Large Language Models on Graphs: A Comprehensive Survey

Bowen Jin, Gang Liu, Chi Han, Meng Jiang, Heng Ji +1 more
12/5/2023
381 citations
cs.CLcs.LG
survey

Official code: PeterGriffinJin/Awesome-Language-Model-on-Graphs (1,000 stars, MIT, last commit 2025-03-02).

Abstract

Large language models (LLMs), such as GPT4 and LLaMA, are creating significant advancements in natural language processing, due to their strong text encoding/decoding ability and newly found emergent capability (e.g., reasoning). While LLMs are mainly designed to process pure texts, there are many real-world scenarios where text data is associated with rich structure information in the form of graphs (e.g., academic networks, and e-commerce networks) or scenarios where graph data is paired with rich textual information (e.g., molecules with descriptions).

Show full abstract

Besides, although LLMs have shown their pure text-based reasoning ability, it is underexplored whether such ability can be generalized to graphs (i.e., graph-based reasoning). In this paper, we provide a systematic review of scenarios and techniques related to large language models on graphs. We first summarize potential scenarios of adopting LLMs on graphs into three categories, namely pure graphs, text-attributed graphs, and text-paired graphs. We then discuss detailed techniques for utilizing LLMs on graphs, including LLM as Predictor, LLM as Encoder, and LLM as Aligner, and compare the advantages and disadvantages of different schools of models. Furthermore, we discuss the real-world applications of such methods and summarize open-source codes and benchmark datasets. Finally, we conclude with potential future research directions in this fast-growing field. The related source can be found at https://github.com/PeterGriffinJin/Awesome-Language-Model-on-Graphs.

View on arXivView PDF

Code Implementations(1)

MIT

A curated list of papers and resources based on "Large Language Models on Graphs: A Comprehensive Survey" (TKDE)

1,00066Jul 30, 20231 years agoMIT
awesome-resourcesgenerative-aigraphslarge-language-modelssurvey

Similar Papers

Cite this paper

@article{jin2023large,
  title  = {Large Language Models on Graphs: A Comprehensive Survey},
  author = {Bowen Jin and Gang Liu and Chi Han and Meng Jiang and Heng Ji and Jiawei Han},
  year   = {2023},
  eprint = {2312.02783},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.02783v4}
}

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

Discussion