mlsanityData to 7 Oct 2026

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

arXiv 2608.27142 ↗First posted 27 Aug 2026cs.AIcited by 0

On the map: LLM reasoning → Knowledge- and tool-augmented reasoning

also in 1 more
Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 14 of its 38 references that are in the map. First posted on arXiv 27 Aug 2026.

Builds on

14 of 38 references.

Closest ancestors · 7

Same direction, newest first

  1. 2026Adaptive Information Control for Search-Augmented LLM Reasoning2 Feb
  2. 2025G1: Teaching LLMs to Reason on Graphs with Reinforcement Learning24 May
  3. 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learning12 Mar
  4. 2024LEGO-GraphRAG: Modularizing Graph-based Retrieval-Augmented Generation for Design Space Exploration6 Nov
  5. 2024Are Large-Language Models Graph Algorithmic Reasoners?29 Oct
  6. 2024GCoder: Improving Large Language Model for Generalized Graph Problem Solving24 Oct
  7. 2024GraphInstruct: Empowering Large Language Models with Graph Understanding and Reasoning Capability7 Mar

Other references · 7

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  4. 2023Qwen Technical Reportcited by 3,273
  5. 2024Let Your Graph Do the Talking: Encoding Structured Data for LLMscited by 112
  6. 2024GraphTeam: Facilitating Large Language Model-based Graph Analysis via Multi-Agent Collaborationcited by 12
  7. 2026EGL-SCA: Structural Credit Assignment for Co-Evolving Instructions and Tools in Graph Reasoning Agentscited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026AgentGL: Towards Agentic Graph Learning with LLMs via Reinforcement Learning
  2. 2026GraphScout: Empowering Large Language Models with Intrinsic Exploration Ability for Agentic Graph Reasoning
  3. 2025Enhancing Agentic Textual Graph Retrieval with Synthetic Stepwise Supervision
  4. 2025GRIP: In-Parameter Graph Reasoning through Fine-Tuning Large Language Models
  5. 2024GUNDAM: Aligning Large Language Models with Graph Understanding
  6. 2026GTA: Graph Theory Agent and Benchmark for Algorithmic Graph Reasoning with LLMs
  7. 2025GraphOmni: A Comprehensive and Extensible Benchmark Framework for Large Language Models on Graph-theoretic Tasks
  8. 2025GraphGhost: Tracing Structures Behind Large Language Models