paper-with-me

홈 › Papers

Can LLMs Effectively Leverage Graph Structural Information through Prompts, and Why?

2023-09-28 · Jin Huang, Xingjian Zhang, Qiaozhu Mei, Jiaqi Ma

Large language models (LLMs) are gaining increasing attention for their capability to process graphs with rich text attributes, especially in a zero-shot fashion. Recent studies demonstrate that LLMs obtain decent text classification performance on common text-rich graph benchmarks, and the performance can be improved by appending encoded structural information as natural languages into prompts. We aim to understand why the incorporation of structural information inherent in graph data can improve the prediction performance of LLMs. First, we rule out the concern of data leakage by curating a novel leakage-free dataset and conducting a comparative analysis alongside a previously widely-used dataset. Second, as past work usually encodes the ego-graph by describing the graph structure in natural language, we ask the question: do LLMs understand the graph structure in accordance with the intent of the prompt designers? Third, we investigate why LLMs can improve their performance after incorporating structural information. Our exploration of these questions reveals that (i) there is no substantial evidence that the performance of LLMs is significantly attributed to data leakage; (ii) instead of understanding prompts as graph structures as intended by the prompt designers, LLMs tend to process prompts more as contextual paragraphs and (iii) the most efficient elements of the local neighborhood included in the prompt are phrases that are pertinent to the node label, rather than the graph structure.

📄 PDF Abstract BibTeX arXiv:2309.16595

Code (2)

trais-lab/llm-structured-data 공식 구현 pytorch
CurryTang/Graph-LLM pytorch

Tasks

Graph LearningNode Classificationtext-classificationText ClassificationText-To-SQL

Similar Papers 제목 키워드 기반

Refining Interactions: Enhancing Anisotropy in Graph Neural Networks with Language Semantics

2025-04-02 · Zhaoxing Li, XiaoMing Zhang, Haifeng Zhang, Chengxiang Liu

The integration of Large Language Models (LLMs) with Graph Neural Networks (GNNs) has recently been explored to enhance the capabilities of Text Attribute Graphs (TAGs). Most existing methods feed textual descriptions of…

AttributeGraph Neural Network

GraphEdit: Large Language Models for Graph Structure Learning

2024-02-23 · Zirui Guo, Lianghao Xia, Yanhua Yu, Yuling Wang 외

Graph Structure Learning (GSL) focuses on capturing intrinsic dependencies and interactions among nodes in graph-structured data by generating novel graph structures. Graph Neural Networks (GNNs) have emerged as promisin…

Graph structure learning

Ontology-Enhanced Knowledge Graph Completion using Large Language Models

2025-07-28 · Wenbin Guo, Xin Wang, Jiaoyan Chen, Zhao Li 외 arxiv

Large Language Models (LLMs) have been extensively adopted in Knowledge Graph Completion (KGC), showcasing significant research advancements. However, as black-box models driven by deep neural architectures, current LLM-…

Knowledge Graph CompletionKnowledge Graphs

UNIT: Unleash Large Language Models Potential for Graph Continual Learning

2026-07-11 · Tairan Huang, Yili Wang, Beibei Hu, Yiting Shi 외 arxiv

In real-world multimodal web scenarios, graph-structured data often arrives in a streaming manner, making graph continual learning a crucial paradigm for continuously modeling such evolving structures. However, existing …

Continual LearningGeneral Knowledge

Few-Shot Graph Out-of-Distribution Detection with LLMs

2025-03-28 · Haoyan Xu, Zhengtao Yao, Yushun Dong, Ziyi Wang 외

Existing methods for graph out-of-distribution (OOD) detection typically depend on training graph neural network (GNN) classifiers using a substantial amount of labeled in-distribution (ID) data. However, acquiring high-…

Graph Neural NetworkInformativenessOut-of-Distribution DetectionOut of Distribution (OOD) Detection+1