GRAIN: Bridging Name and Narrative Shifts in Real-World Graph Reasoning through Invariance-Rewarded Agentic RL

📅 2026-08-27
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
为解决大语言模型在实际图推理中对节点标识符和任务表述变化的脆弱性,提出GRAIN框架,通过强化学习优化,提高结构不变性和泛化能力。
📝 Abstract
Despite their potential in standardized graph tasks, Large Language Models (LLMs) remain brittle to real-world shifts in node identifiers and task formulation. While deterministic graph tools are invariant to such shifts, extracting topological structures from noisy text is highly fragile for LLMs, which often overfit to surface patterns. Moreover, mitigating these parsing failures via multi-agent systems incurs prohibitive latency. To address this, we propose GRAIN, a single-agent framework optimized via reinforcement learning. GRAIN models reasoning as a semantic parsing and tool-execution pipeline, guided by a Structure Invariance Reward. By validating extracted intermediate graphs against ground-truth topologies, this reward forces the LLM to learn robust text-to-structure mappings rather than memorizing linguistic artifacts. We also introduce GRIT, a benchmark evaluating sensitivity to such linguistic shifts. GRAIN outperforms multi-agent baselines by 16.45\% in accuracy with approximately 24\% lower latency. Furthermore, it demonstrates superior structural generalization, halving the out-of-distribution (OOD) gap of SFT models (from 15.77\% to 7.80\%) and maintaining robustness on large-scale graphs beyond the training distribution.
Problem

Research questions and friction points this paper is trying to address.

Large Language Models
Graph Reasoning
Node Identifiers
Task Formulation
Invariance
Innovation

Methods, ideas, or system contributions that make the work stand out.

Structure Invariance Reward
Single-agent Framework
Robust Text-to-structure Mappings
Out-of-distribution Generalization
Z
Zike Yuan
Harbin Institute of Technology, Shenzhen, China; Peng Cheng Laboratory, Shenzhen, China
H
Han Zhang
Peng Cheng Laboratory, Shenzhen, China
J
Jianzhi Yan
Harbin Institute of Technology, Shenzhen, China; Peng Cheng Laboratory, Shenzhen, China
Le Liu
Le Liu
Northwestern Polytechnical University
VisualizationComputer GraphicsComputer VisionAI
C
Cai Ke
Harbin Institute of Technology, Shenzhen, China; Peng Cheng Laboratory, Shenzhen, China
H
Huozhi Zhou
J
Jian Xie
J
Jiran Yin
Y
Yukun Cao
Xidian University, Xi’an, China
Yue Yu
Yue Yu
Professor at Pengcheng Laboratory
Software EngineeringDistributed ComputingArtificial Intelligence System
H
Hui Wang
Peng Cheng Laboratory, Shenzhen, China
M
Ming Liu
Harbin Institute of Technology, Shenzhen, China; Peng Cheng Laboratory, Shenzhen, China
Bing Qin
Bing Qin
Professor in Harbin Institute of Technology
Natural Language ProcessingInformation ExtractionSentiment Analysis