Graph2text or Graph2token: A Perspective of Large Language Models for Graph Learning

Shuo Yu, Yingbo Wang, Ruolin Li, Guchun Liu, Yanming Shen +5 more
1/2/2025
cs.LG

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Graphs are data structures used to represent irregular networks and are prevalent in numerous real-world applications. Previous methods directly model graph structures and achieve significant success. However, these methods encounter bottlenecks due to the inherent irregularity of graphs. An innovative solution is converting graphs into textual representations, thereby harnessing the powerful capabilities of Large Language Models (LLMs) to process and comprehend graphs. In this paper, we present a comprehensive review of methodologies for applying LLMs to graphs, termed LLM4graph. The core of LLM4graph lies in transforming graphs into texts for LLMs to understand and analyze. Thus, we propose a novel taxonomy of LLM4graph methods in the view of the transformation. Specifically, existing methods can be divided into two paradigms: Graph2text and Graph2token, which transform graphs into texts or tokens as the input of LLMs, respectively. We point out four challenges during the transformation to systematically present existing methods in a problem-oriented perspective. For practical concerns, we provide a guideline for researchers on selecting appropriate models and LLMs for different graphs and hardware constraints. We also identify five future research directions for LLM4graph.

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. 3 weaker matches are 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{yu2025graphtext,
  title  = {Graph2text or Graph2token: A Perspective of Large Language Models for Graph Learning},
  author = {Shuo Yu and Yingbo Wang and Ruolin Li and Guchun Liu and Yanming Shen and Shaoxiong Ji and Bowen Li and Fengling Han and Xiuzhen Zhang and Feng Xia},
  year   = {2025},
  eprint = {2501.01124},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.01124v1}
}

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

Discussion