Abstract
Recent advances in Large Language Models (LLMs) have significantly improved complex reasoning capabilities. Retrieval-Augmented Generation (RAG) has further extended these capabilities by grounding generation in dynamically retrieved evidence, enabling access to information beyond the model's training parameters. However, while RAG addresses knowledge availability, standard pipelines treat retrieved documents as independent, unstructured text chunks, forcing models to implicitly connect information across fragmented context. This limitation becomes critical for multi-hop queries, where answering correctly requires synthesizing information scattered across different documents. We present Structure-Augmented Reasoning Generation (SARG), a post-retrieval framework that addresses this gap by materializing explicit reasoning structures from retrieved context. SARG operates in three stages: extracting relational triples from retrieved documents via few-shot prompting, organizing these triples into a domain-adaptive knowledge graph, and performing multi-hop traversal to identify relevant reasoning chains. These chains, along with their associated text chunks, are then integrated into the generation prompt to explicitly guide the model's reasoning process. Importantly, SARG doesn't require custom retrievers or domain-specific fine-tuning. Instead, it functions as a modular layer compatible with all existing RAG pipelines. Extensive experiments on open-domain QA benchmarks and specialized reasoning datasets in finance and medicine demonstrate that SARG significantly outperforms state-of-the-art flat-context RAG baselines in both factual accuracy and reasoning coherence. Furthermore, by surfacing the exact traversal paths used during generation, SARG provides fully traceable and interpretable inference.
Introduction
Standard Retrieval-Augmented Generation (RAG) systems excel at providing LLMs with relevant facts but often fail at complex, multi-hop reasoning. This is primarily due to the "synthesis gap": treating retrieved documents as independent, unstructured chunks forces the model to implicitly connect dots across fragmented contexts. This often results in the "lost-in-the-middle" phenomenon, where critical cross-document dependencies are overlooked.
While existing solutions like GraphRAG attempt to solve this by indexing the entire corpus into a global knowledge graph, they face significant computational hurdles ($O(|C|)$ complexity) and lack flexibility when data changes. SARG (Structure-Augmented Reasoning Generation) addresses these issues by building on-demand, sparse knowledge graphs from retrieved documents, providing a lightweight and flexible post-retrieval reasoning layer.
The SARG Framework
SARG operates as a modular layer that can be integrated into any existing RAG pipeline. Its workflow is divided into four distinct stages designed to transform flat text into actionable reasoning chains.
- Context-Aware Graph Construction: Unlike traditional OpenIE, SARG uses few-shot prompting to extract reasoning-specific triples (e.g.,
<cause, relation, effect>). This focuses the graph on "load-bearing" structures while discarding purely descriptive data, creating a sparse "reasoning scratchpad." - Semantic Node Matching & Direction Classification: The system identifies key concepts in the user query and uses a distilled DistilBERT model to predict the reasoning direction (Forward, Backward, or Bidirectional). This classifier is significantly faster than LLM-based alternatives.
- Graph-Based Multi-Hop Traversal: Starting from query-matched nodes, SARG performs a Semantic Beam Search. It explores the local graph for semantically relevant paths, pruning low-confidence branches to maintain focus.
- Chain Selection & Prompt Compilation: The resulting reasoning chains are serialized into natural language and injected into the LLM prompt as a logical scaffold alongside the original text chunks.
Experimental Evaluation
SARG was evaluated against standard multi-hop benchmarks (HotpotQA, MuSiQue) and two new domain-specific datasets: Bitcoin Price Fluctuations (BP) for financial reasoning and Gaucher Disease (GD) for complex biomedical pathology.
Key Results
- Superior Accuracy: On HotpotQA, SARG achieved an Exact Match (EM) score of 57.90, significantly outperforming global graph baselines like GraphRAG (37.80) and HippoRAG2 (40.10).
- Efficiency: Local graph construction in SARG takes approximately 1.2 seconds per query, avoiding the prohibitive indexing times of global methods.
- Synthesis Correctness: Ablation studies showed that reasoning-specific schemas improved synthesis correctness by 26–47% compared to generic SPO triples.
Discussion
SARG demonstrates that sparsity is a feature; by filtering for causal and sequential links, it avoids combinatorial explosion. Its retriever-agnostic nature and use of local context make it fundamentally more efficient than corpus-wide indexing. Furthermore, by providing the LLM with a serialized "chain of thought" derived from the graph, SARG acts as a logical guide, preventing unjustified inferential leaps and ensuring fully traceable answers.
Conclusion and Future Work
While SARG significantly improves reasoning, it is currently limited by the extraction fidelity of the underlying LLM and a relatively rigid causal schema. Future work will explore dynamic schema adaptation for different domains (e.g., legal or technical) and multimodal integration to incorporate logic from non-textual sources like tables and charts.
Summary updated