Journal Article
Large Language Models

LLMs on Graphs

Bowen Jin, Gang Liu, Chi Han, Meng Jiang, Heng Ji, Jia-Wei Han
December 5, 2023IEEE Transactions on Knowledge and Data Engineering389 citations

389

Citations

17

Influential Citations

IEEE Transactions on Knowledge and Data Engineering

Venue

2023

Year

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.

Analysis

Why This Paper Matters

Large language models (LLMs) have demonstrated remarkable capabilities in processing and reasoning over pure text, but real-world data often includes rich structural information in the form of graphs. This paper addresses the underexplored intersection of LLMs and graphs, providing a timely and systematic review of how LLMs can be applied to graph-structured data and how graph data can enhance LLM capabilities. As graphs are ubiquitous in domains such as social networks, academic networks, e-commerce, and molecular biology, understanding how to leverage LLMs in these contexts is of significant practical importance.

The paper's significance is further amplified by the rapid growth of LLM research and the increasing need to handle multimodal data. By categorizing scenarios into pure graphs, text-attributed graphs, and text-paired graphs, the authors offer a clear taxonomy that helps researchers navigate the complex landscape. Moreover, the classification of techniques into LLM as Predictor, Encoder, and Aligner provides a structured lens for comparing different methodological choices, which is essential for both newcomers and experts in the field.

Given the high citation count (389) and publication in a reputable venue, this survey is positioned to become a foundational reference for future work on integrating LLMs with graph data. It not only consolidates existing knowledge but also identifies open challenges and future directions, thereby guiding the research community.

Technical Contributions

  • Taxonomy of Scenarios: The paper categorizes the application of LLMs on graphs into three distinct scenarios: pure graphs (where only graph structure is available), text-attributed graphs (where nodes or edges have textual features), and text-paired graphs (where graph data is accompanied by textual descriptions). This taxonomy clarifies the scope and challenges of each setting.
  • Role-Based Technique Classification: It systematically reviews techniques by the role LLMs play: as Predictor (directly generating predictions for graph tasks), as Encoder (encoding textual information into embeddings for graph models), and as Aligner (aligning graph and text representations). This classification highlights the functional diversity of LLMs in graph contexts.
  • Comparative Analysis: The paper compares the advantages and disadvantages of different schools of models within each role, providing insights into trade-offs such as computational cost, performance, and generalizability.
  • Resource Compilation: It summarizes open-source codes and benchmark datasets, facilitating reproducibility and practical adoption.
  • Future Directions: The authors outline potential research avenues, including improving graph-based reasoning, handling large-scale graphs, and enhancing multimodal alignment.

Results

As a survey paper, this work does not present new experimental results. Instead, it synthesizes findings from existing literature, offering qualitative comparisons and highlighting trends. The paper discusses various methods and their reported performance in original studies but does not conduct a unified benchmark or meta-analysis. Consequently, the "results" are the organized knowledge and comparative insights derived from the reviewed works, which serve as a guide for selecting appropriate techniques based on scenario and requirements.

Significance

This survey is significant for several reasons. First, it bridges two rapidly evolving areas—LLMs and graph learning—by providing a coherent framework that clarifies how LLMs can be integrated with graph-structured data. Second, it identifies gaps in current research, such as the need for better graph-based reasoning and scalable methods, which can inspire future work. Third, by compiling resources and benchmarks, it lowers the barrier to entry for practitioners and fosters reproducibility. Finally, the paper's impact extends beyond academia, as the techniques discussed have applications in social network analysis, recommendation systems, drug discovery, and more. As LLMs continue to advance, this survey will likely remain a key reference for integrating language models with structured data.