View a PDF of the paper titled GraphInstruct: Empowering Large Language Models with Graph Understanding and Reasoning Capability, by Zihan Luo and 7 other authors
Abstract:Improving the general capabilities of large language models (LLMs) is an active research topic. As a common data structure in many real-world domains, understanding graph data is a crucial part of advancing general intelligence. To this end, we propose a dynamic benchmark named GraphInstruct in this paper, which comprehensively includes 21 classical graph reasoning tasks, providing diverse graph generation pipelines and detailed intermediate reasoning steps for each sample. Based on GraphInstruct, we develop GraphSolver via efficient instruction-tuning, which demonstrates prominent graph understanding capability compared to other open-sourced LLMs. To further endow LLMs with multi-step graph reasoning capability, we propose a label-mask training strategy and build GraphSolver+, which leverages masked supervision on intermediate reasoning tokens to emphasize crucial node-identification signals. As one of the pioneering efforts to enhance the graph understanding and reasoning abilities of LLMs, extensive experiments have demonstrated the superiority of GraphSolver and GraphSolver+ over other LLMs. We sincerely hope GraphInstruct will facilitate further research on applying LLMs to graph-structured data. Our code and data are released publicly at: this https URL.
Submission history
From: Zihan Luo [view email]
[v1]
Thu, 7 Mar 2024 13:36:08 UTC (7,803 KB)
[v2]
Tue, 2 Apr 2024 07:57:16 UTC (7,803 KB)
[v3]
Mon, 27 Oct 2025 08:07:17 UTC (17,192 KB)
[v4]
Tue, 18 Nov 2025 06:19:59 UTC (17,192 KB)
Source link
#Empowering #Large #Language #Models #Graph #Understanding #Reasoning #Capability









