mlsanityData to 14 Oct 2026

LFD: Layer Fused Decoding to Exploit External Knowledge in Retrieval-Augmented Generation

arXiv 2508.19614 ↗First posted 27 Aug 2025cs.CL cs.AIcited by 0

On the map: Retrieval-augmented generation → RAG robustness and adaptive retrieval

Abstract (arXiv)

Retrieval-augmented generation (RAG) incorporates external knowledge into large language models (LLMs), improving their adaptability to downstream tasks and enabling information updates. Surprisingly, recent empirical evidence demonstrates that injecting noise into retrieved relevant documents paradoxically facilitates exploitation of external knowledge and improves generation quality. Although counterintuitive and challenging to apply in practice, this phenomenon enables granular control and rigorous analysis of how LLMs integrate external knowledge. Therefore, in this paper, we intervene on noise injection and establish a layer-specific functional demarcation within the LLM: shallow layers specialize in local context modeling, intermediate layers focus on integrating long-range external factual knowledge, and deeper layers primarily rely on parametric internal knowledge. Building on this insight, we propose Layer Fused Decoding (LFD), a simple decoding strategy that directly combines representations from an intermediate layer with final-layer decoding outputs to fully exploit the external factual knowledge. To identify the optimal intermediate layer, we introduce an internal knowledge score (IKS) criterion that selects the layer with the lowest IKS value in the latter half of layers. Experimental results across multiple benchmarks demonstrate that LFD helps RAG systems more effectively surface retrieved context knowledge with minimal cost.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in RAG robustness and adaptive retrieval, one of 15 directions in Retrieval-augmented generation. Builds on 48 of its 60 references that are in the map. First posted on arXiv 27 Aug 2025.

Builds on

48 of 60 references.

Closest ancestors · 6

Same direction, newest first

  1. 2024Fact, Fetch, and Reason: A Unified Evaluation of Retrieval-Augmented Generation19 Sep
  2. 2024Pandora's Box or Aladdin's Lamp: A Comprehensive Analysis Revealing the Role of RAG Noise in Large Language Models24 Aug
  3. 2024RQ-RAG: Learning to Refine Queries for Retrieval Augmented Generation31 Mar
  4. 2024Adaptive-RAG: Learning to Adapt Retrieval-Augmented Large Language Models through Question Complexity21 Mar
  5. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection17 Oct
  6. 2023Benchmarking Large Language Models in Retrieval-Augmented Generation4 Sep

Other references · 42

  1. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  3. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  4. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  5. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  6. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  7. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
  8. 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,784
  9. 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,453
  10. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
  11. 2021Improving language models by retrieving from trillions of tokenscited by 1,293
  12. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
30 more
  1. 2024DeepSeek LLM: Scaling Open-Source Language Models with Longtermismcited by 642
  2. 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 623
  3. 2021Knowledge Neurons in Pretrained Transformerscited by 601
  4. 2023Active Retrieval Augmented Generationcited by 516
  5. 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 458
  6. 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Modelscited by 452
  7. 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applicationscited by 431
  8. 2024LoRA+: Efficient Low Rank Adaptation of Large Modelscited by 377
  9. 2023DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Modelscited by 376
  10. 2023ReConcile: Round-Table Conference Improves Reasoning via Consensus among Diverse LLMscited by 309
  11. 2023RAGTruth: A Hallucination Corpus for Developing Trustworthy Retrieval-Augmented Language Modelscited by 283
  12. 2024The Power of Noise: Redefining Retrieval for RAG Systemscited by 281
  13. 2022Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptorscited by 271
  14. 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decodingcited by 269
  15. 2022A Contrastive Framework for Neural Text Generationcited by 225
  16. 2024G-Retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question Answeringcited by 223
  17. 2024RankRAG: Unifying Context Ranking with Retrieval-Augmented Generation in LLMscited by 202
  18. 2023Self-Evaluation Guided Beam Search for Reasoningcited by 196
  19. 2024A Thorough Examination of Decoding Methods in the Era of LLMscited by 114
  20. 2022UniKGQA: Unified Retrieval and Reasoning for Solving Multi-hop Question Answering Over Knowledge Graphcited by 103
  21. 2024ReDeEP: Detecting Hallucination in Retrieval-Augmented Generation via Mechanistic Interpretabilitycited by 101
  22. 2024TruthX: Alleviating Hallucinations by Editing Large Language Models in Truthful Spacecited by 91
  23. 2023GenRec: Large Language Model for Generative Recommendationcited by 63
  24. 2024When Search Engine Services meet Large Language Models: Visions and Challengescited by 59
  25. 2020Best-First Beam Searchcited by 40
  26. 2024Towards a Search Engine for Machines: Unified Ranking for Multiple Retrieval-Augmented Large Language Modelscited by 23
  27. 2024Prompt Perturbation in Retrieval-Augmented Generation based Large Language Modelscited by 18
  28. 2023A Frustratingly Simple Decoding Method for Neural Text Generationcited by 16
  29. 2025MIRAGE: A Metric-Intensive Benchmark for Retrieval-Augmented Generation Evaluationcited by 11
  30. 2025Lost in the Passage: Passage-level In-context Learning Does Not Necessarily Need a "Passage"cited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Guaranteeing Knowledge Integration with Joint Decoding for Retrieval-Augmented Generation
  2. 2025REFRAG: Rethinking RAG based Decoding
  3. 2026ReFilter: Improving Robustness of Retrieval-Augmented Generation via Gated Filter
  4. 2024Context Quality Matters in Training Fusion-in-Decoder for Extractive Open-Domain Question Answering
  5. 2025Bridging External and Parametric Knowledge: Mitigating Hallucination of LLMs with Shared-Private Semantic Synergy in Dual-Stream Knowledge
  6. 2025Direct Retrieval-augmented Optimization: Synergizing Knowledge Selection and Language Models
  7. 2025Retrieval-Augmented Generation: A Comprehensive Survey of Architectures, Enhancements, and Robustness Frontiers
  8. 2024Multi-Source Knowledge Pruning for Retrieval-Augmented Generation: A Benchmark and Empirical Study