LoReC: Rethinking Large Language Models for Graph Data Analysis

Hongyu Zhan, Qixin Wang, Yusen Tan, Haitao Yu, Jingbo Zhou +4 more
4/20/2026
cs.LGcs.AI
gnn

Official code: Git-King-Zhan/LoReC (0 stars, Python, last commit 2026-09-27).

Abstract

The advent of Large Language Models (LLMs) has fundamentally reshaped the way we interact with graphs, giving rise to a new paradigm called GraphLLM. As revealed in recent studies, graph learning can benefit from LLMs.

Show full abstract

However, we observe limited benefits when we directly utilize LLMs to make predictions for graph-related tasks within GraphLLM paradigm, which even yields suboptimal results compared to conventional GNN-based approaches. Through in-depth analysis, we find this failure can be attributed to LLMs' limited capability for processing graph data and their tendency to overlook graph information. To address this issue, we propose LoReC (Look, Remember, and Contrast), a novel plug-and-play method for GraphLLM paradigm, which enhances LLM's understanding of graph data through three stages: (1) Look: redistributing attention to graph; (2) Remember: re-injecting graph information into the Feed-Forward Network (FFN); (3) Contrast: rectifying the vanilla logits produced in the decoding process. Extensive experiments demonstrate that LoReC brings notable improvements over current GraphLLM methods and outperforms GNN-based approaches across diverse datasets. The implementation is available at https://github.com/Git-King-Zhan/LoReC.

View on arXivView PDF

Code Implementations(1)

00Python, ShellJan 18, 20262 months ago

Similar Papers

Cite this paper

@article{zhan2026lorec,
  title  = {LoReC: Rethinking Large Language Models for Graph Data Analysis},
  author = {Hongyu Zhan and Qixin Wang and Yusen Tan and Haitao Yu and Jingbo Zhou and Shuai Chen and Jia Li and Xiao Tan and Jun Xia},
  year   = {2026},
  eprint = {2604.17897},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.17897v1}
}

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

Discussion