GCIG: GraphRAG-based Cross-document Instruction Generation for Boosting LLM Reasoning

Xiaoliang Xu, Huang Yuan, Junmei Wang, Can Xu


Abstract
Automatic instruction generation offers a low-cost, high-efficiency pathway for fine-tuning large language models (LLMs). However, existing methods struggle in knowledge-intensive domains and complex reasoning tasks due to their dependence on high-quality seed data, limited coverage of single-document knowledge, and repetitive content. To overcome these limitations, this paper presents GCIG, a GraphRAG-based Cross-document Instruction Generation framework. We begin by constructing an enhanced knowledge graph to provide a structural representation of the raw corpus, followed by LLM-driven selection of reliable subgraph-text pairs based on factuality and logical complementarity. Subsequently, we adaptively generate diverse questions through task-aware prompts and context-sensitive retrieval. Finally, we employ Chain-of-Thought reasoning to anchor entity paths and integrate scattered evidence, thereby closing logical gaps and improving answer coherence. Experiments on knowledge-intensive and multi-hop question-answering tasks demonstrate that GCIG outperforms existing methods, producing instruction data with stronger logical consistency and broader knowledge coverage for effective LLM fine-tuning. The code and data are publicly available at https://github.com/WhitEiller/GCIG.
Anthology ID:
2026.findings-acl.871
Volume:
Findings of the Association for Computational Linguistics: ACL 2026
Month:
July
Year:
2026
Address:
San Diego, California, United States
Editors:
Maria Liakata, Viviane P. Moreira, Jiajun Zhang, David Jurgens
Venue:
Findings
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
17593–17609
Language:
URL:
https://preview.aclanthology.org/ingest-acl/2026.findings-acl.871/
DOI:
Bibkey:
Cite (ACL):
Xiaoliang Xu, Huang Yuan, Junmei Wang, and Can Xu. 2026. GCIG: GraphRAG-based Cross-document Instruction Generation for Boosting LLM Reasoning. In Findings of the Association for Computational Linguistics: ACL 2026, pages 17593–17609, San Diego, California, United States. Association for Computational Linguistics.
Cite (Informal):
GCIG: GraphRAG-based Cross-document Instruction Generation for Boosting LLM Reasoning (Xu et al., Findings 2026)
Copy Citation:
PDF:
https://preview.aclanthology.org/ingest-acl/2026.findings-acl.871.pdf
Checklist:
 2026.findings-acl.871.checklist.pdf