Skip to main content
QUICK REVIEW

[Paper Review] Large Language Models on Graphs: A Comprehensive Survey

Bowen Jin, Gang Liu|arXiv (Cornell University)|Dec 5, 2023
Topic ModelingComputer Science8 citations
TL;DR

A systematic survey of how large language models (LLMs) can be applied to graph data, categorizing graph scenarios and LLM roles, and outlining techniques, applications, datasets, and future directions.

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). 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.

Motivation & Objective

  • Classify graph scenarios for LLM applications into pure graphs, text-attributed graphs, and text-paired graphs.
  • Systematically review techniques for using LLMs on graphs, including LLM as Predictor, Encoder, and Aligner.
  • Summarize training/inference frameworks, datasets, open-source codes, and real-world applications.
  • Discuss limitations, challenges, and six future research directions in this rapidly growing field.

Proposed method

  • Categorize graph scenarios where LLMs can be applied: pure graphs, text-attributed graphs, and text-paired graphs.
  • Classify LLM-on-graph techniques by role: LLM as Predictor, LLM as Encoder, and LLM as Aligner, with subcategories for input formats and training regimes.
  • Provide detailed illustrations of representative models and compare advantages/disadvantages across schools of models.
  • Summarize open-source codebases, benchmark datasets, and real-world applications.
  • Outline an end-to-end training & inference framework for LLMs on graphs.

Experimental results

Research questions

  • RQ1What are the main graph scenarios where LLMs can be effectively applied (pure graphs, text-attributed graphs, text-paired graphs)?
  • RQ2What roles can LLMs play in graph tasks (predictor, encoder, aligner) and how do these roles interact with GNNs?
  • RQ3What are the key techniques and practical considerations for applying LLMs to graph data across different scenarios?
  • RQ4What datasets, codebases, and applications currently exist, and what future directions are most promising?

Key findings

  • LLMs on graphs can be categorized by graph scenario and by the role of the LLM (predictor, encoder, aligner).
  • A wide range of techniques exist for integrating graph structure and text, including Graph as Sequence, Graph-Empowered LLMs, Graph-Aware Finetuning, and various alignment strategies.
  • There are diverse real-world applications and open-source resources spanning datasets, codebases, and domain-specific tasks.
  • The survey identifies fundamental principles and six prospective directions to guide future research in this fast-growing area.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.