Beyond the Parameters: A Technical Survey of Contextual Enrichment in Large Language Models: From In-Context Prompting to Causal Retrieval-Augmented Generation
Large language models (LLMs) encode vast world knowledge in their parameters, yet they remain fundamentally limited by static knowledge, finite context windows, and weakly structured causal reasoning. This survey provides a unified account of augmentation strategies along a single axis: the degree of structured context supplied at inference time. We cover in-context learning and prompt engineering, Retrieval-Augmented Generation (RAG), GraphRAG, and CausalRAG. Beyond conceptual comparison, we provide a transparent literature-screening protocol, a claim-audit framework, and a structured cross-paper evidence synthesis that distinguishes higher-confidence findings from emerging results. The paper concludes with a deployment-oriented decision framework and concrete research priorities for trustworthy retrieval-augmented NLP.
Figures & tables
Gap
Prompting
RAG
GraphRAG
CausalRAG
Knowledge gap
∘
Yes
Yes
Yes
Retrieval gap
No
∘
Yes
Yes
Reasoning gap
No
No
∘
Yes
Table 1: Three failure gaps in knowledge-intensive question answering and paradigm-level coverage (authors’ synthesis based on cited literature).
Paradigm
Source
Dataset
Systems compared
Metric (unit)
Reported values
Delta
Prompting (CoT)
Wei et al. (2022)
GSM8K
PaLM 540B: CoT vs standard prompting
Solve rate (%)
57.0 vs 18.0
+39.0 pts
RAG
Lewis et al. (2020)
Natural Questions (Open-domain QA)
RAG vs T5-11B (closed-book)
Exact Match (EM, %)
44.5 vs 34.5
+10.0 pts
GraphRAG-Global (slice comparison)
Wang et al. (2025)
OpenAlex single-paper case study
GraphRAG-Global: abstract vs full text
Composite score (author-defined)
49.98 vs 76.37
+26.39
GraphRAG-Local (slice comparison)
Wang et al. (2025)
OpenAlex single-paper case study
GraphRAG-Local: abstract vs full text
Composite score (author-defined)
62.29 vs 84.27
+21.98
CausalRAG (slice comparison)
Wang et al. (2025)
OpenAlex single-paper case study
CausalRAG: abstract, intro, and full text
Composite score (author-defined)
72.43, 74.86, 91.69
+19.26 (abstract to full)
CausalRAG (k=s sweep)
Wang et al. (2025)
OpenAlex
CausalRAG: k=s=1 vs k=s=5
Author-reported score
0.534 vs 0.824
+0.290
Table 2: Quantitative evidence matrix with explicit metric definitions and scope constraints. All values are reported in the cited source studies.
Criterion
Prompting
RAG
GraphRAG
CausalRAG
Indexing cost
None
Low to Medium
High
High to Very High
Relational reasoning
Limited
Limited
Strong
Strong
Causal reasoning
Weak
Weak
Partial
Strong
Global summary
Weak
Moderate
Strong
Strong
Typical faithfulness
Low to Medium
Medium
Medium to High
High
Table 3: Comparative summary across paradigms (authors’ synthesis).
Claim
Primary support
Confidence
Notes
RAG improves factual grounding versus prompting-only baselines in knowledge-intensive QA.
Lewis et al. (2020) ; Chen et al. (2023)
High
Established across multiple benchmarks.
CausalRAG improves faithfulness and causal coherence over vanilla RAG and associative graph retrieval in reported settings.
Wang et al. (2025) ; Samarajeewa et al. (2024)
Medium
Evidence is promising but still limited in scale.
GraphRAG supports stronger relational and global-corpus reasoning than flat top- k chunk retrieval.
Edge et al. (2024) ; Han et al. (2025) ; Peng et al. (2024)
Medium to High
Strong conceptual fit; evaluation setups vary.
Long-context prompting alone suffers from placement sensitivity (lost-in-the-middle).
Liu et al. (2024)
High
Strong evidence in controlled long-context evaluations.
Automated causal extraction remains error-prone and expensive in current LLM pipelines.
Jiralerspong et al. (2024) ; Wang et al. (2025)
Medium
Active research area; methods evolving quickly.
Table 4: Claim audit for key statements in this survey (authors’ evidence grading with explicit source attribution).
Retrieval-augmented generation (RAG) improves large language models by grounding generation in external evidence, but it also introduces a source trust problem: retrieved context may be useful, irrelevant, or even misleading. Existing RAG systems often apply a fixed trust policy toward retrieved evidence, which can either over-trust incorrect context or underuse context when the user explicitly asks for context-following behavior. Therefore, we propose Intent-Guided Decoding (IGD), a framework that arbitrates between retrieved context and parametric memory according to user intent. IGD uses answer-level filtering and token-level correction to steer the final decoding trajectory between retrieved context and parametric memory. We evaluate IGD on three faithful QA benchmarks and three factual-conflict benchmarks across five LLMs, IGD substantially improves factual recovery, achieving gains of up to 65.4 percentage points on factual-conflict benchmarks over Direct RAG, while preserving or improving strict context-following behavior, this findings highlight the importance of balancing factuality and faithfulness in RAG.
Haolin Jin, Pengyue Yang, Huaming Chen
School of Electrical and Computer Engineering The University of Sydney Sydney, NSW, Australia
Large language models (LLMs) have transformed natural language processing (NLP), enabling diverse applications by integrating large-scale pre-trained knowledge. However, their static knowledge limits dynamic reasoning over external information, especially in knowledge-intensive domains. Retrieval-Augmented Generation (RAG) addresses this challenge by combining retrieval mechanisms with generative modeling to improve contextual understanding. Traditional RAG systems suffer from disrupted contextual integrity due to text chunking and over-reliance on semantic similarity for retrieval, often resulting in shallow and less accurate responses. We propose Causal-Counterfactual RAG, a novel framework that integrates explicit causal graphs representing cause-effect relationships into the retrieval process and incorporates counterfactual reasoning grounded on the causal structure. Unlike conventional methods, our framework evaluates not only direct causal evidence but also the counterfactuality of associated causes, combining results from both to generate more robust, accurate, and interpretable answers. By leveraging causal pathways and associated hypothetical scenarios, Causal-Counterfactual RAG preserves contextual coherence, reduces hallucination, and enhances reasoning fidelity.
Harshad Khadilkar, Abhay Gupta
Indian Institute of Technology Bombay · Indian Institute of Technology Patna
Retrieval-Augmented Generation (RAG) significantly enhances Large Language Models (LLMs) by providing access to external knowledge. However, current research primarily focuses on retrieval quality, often overlooking the critical ''integration bottleneck'': even when relevant documents are retrieved, LLMs frequently fail to utilize them effectively due to conflicts with their internal parametric knowledge. In this paper, we argue that implicitly resolving this conflict in a single generation pass is suboptimal. We introduce GuarantRAG, a framework that explicitly decouples reasoning from evidence integration. First, we generate an ''Inner-Answer'' based solely on parametric knowledge to capture the model's reasoning flow. Second, to guarantee faithful evidence extraction, we generate a ''Refer-Answer'' using a novel Contrastive DPO objective. This objective treats the parametric Inner-Answer as a negative constraint and the retrieved documents as positive ground truth, forcing the model to suppress internal hallucinations in favor of external evidence during this phase. Finally, rather than naive concatenation or using the DPO trained model directly, we propose a joint decoding mechanism that dynamically fuses the logical coherence of the Inner-Answer with the factual precision of the Refer-Answer at the token level. Experiments on five QA benchmarks demonstrate that GuarantRAG improves accuracy by up to 12.1% and reduces hallucinations by 16.3% compared to standard and dynamic RAG baselines.
Zhengyi Zhao, Shubo Zhang, Zezhong Wang +7
The Chinese University of Hong Kong · Ministry of Education Key Laboratory of High Confidence Software Technologies, CUHK · University of International Relations +2