mlsanityData to 14 Oct 2026

GraphSkill: Documentation-Guided Hierarchical Retrieval-Augmented Coding for Complex Graph Reasoning

arXiv 2603.06620 ↗First posted 20 Feb 2026cs.SE cs.AI cs.CLcited by 4

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

also in 1 more
Abstract (arXiv)

The growing demand for automated graph algorithm reasoning has attracted increasing attention in the large language model (LLM) community. Recent LLM-based graph reasoning methods typically decouple task descriptions from graph data, generate executable code augmented by retrieval from technical documentation, and refine the code through debugging. However, we identify two key limitations in existing approaches: (i) they treat technical documentation as flat text collections and ignore its hierarchical structure, leading to noisy retrieval that degrades code generation quality; and (ii) their debugging mechanisms focus primarily on runtime errors, yet ignore more critical logical errors. To address them, we propose method, an textitagentic hierarchical retrieval-augmented coding framework that exploits the document hierarchy through top-down traversal and early pruning, together with a textitself-debugging coding agent that iteratively refines code using automatically generated small-scale test cases. To enable comprehensive evaluation of complex graph reasoning, we introduce a new dataset, dataset, covering small-scale, large-scale, and composite graph reasoning tasks. Extensive experiments demonstrate that our method achieves higher task accuracy and lower inference cost compared to baselinesfootnoteThe code is available at hrefhttps://github.com/FairyFali/GraphSkilltextcolorbluehttps://github.com/FairyFali/GraphSkill..

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 15 of its 49 references that are in the map. First posted on arXiv 20 Feb 2026.

Builds on

15 of 49 references.

Closest ancestors · 2

Same direction, newest first

  1. 2024CodeGraph: Enhancing Graph Reasoning of LLMs with Code25 Aug
  2. 2024GraphInstruct: Empowering Large Language Models with Graph Understanding and Reasoning Capability7 Mar

Other references · 13

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2023Qwen Technical Reportcited by 3,344
  3. 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 991
  4. 2024DeepSeek-V3 Technical Reportcited by 811
  5. 2022Text and Code Embeddings by Contrastive Pre-Trainingcited by 361
  6. 2024Corrective Retrieval Augmented Generationcited by 197
  7. 2024Let Your Graph Do the Talking: Encoding Structured Data for LLMscited by 118
  8. 2024Agentic Retrieval-Augmented Generation for Time Series Analysiscited by 14
  9. 2024GraphTeam: Facilitating Large Language Model-based Graph Analysis via Multi-Agent Collaborationcited by 12
  10. 2024Enhance Graph Alignment for Large Language Modelscited by 7
  11. 2024MolX: Enhancing Large Language Models for Molecular Understanding With A Multi-Modal Extensioncited by 5
  12. 2025Pseudocode-Injection Magic: Enabling LLMs to Tackle Graph Computational Taskscited by 5
1 more
  1. 2025Generalizing Test-time Compute-optimal Scaling as an Optimizable Graphcited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Zero-shot Graph Reasoning via Retrieval Augmented Framework with LLMs
  2. 2026GraphScout: Empowering Large Language Models with Intrinsic Exploration Ability for Agentic Graph Reasoning
  3. 2025Graph Counselor: Adaptive Graph Exploration via Multi-Agent Synergy to Enhance LLM Reasoning
  4. 2025GraphSearch: An Agentic Deep Searching Workflow for Graph Retrieval-Augmented Generation
  5. 2025Enhancing Agentic Textual Graph Retrieval with Synthetic Stepwise Supervision
  6. 2026GTA: Graph Theory Agent and Benchmark for Algorithmic Graph Reasoning with LLMs
  7. 2025Reasoning by Exploration: A Unified Approach to Retrieval and Generation over Graphs
  8. 2025Rethinking and Benchmarking Large Language Models for Graph Reasoning