Retrieval Meets Reasoning: Dynamic In-Context Editing for Long-Text Understanding
On the map: LLM reasoning → Knowledge- and tool-augmented reasoning
Abstract (arXiv)
Current Large Language Models (LLMs) face inherent limitations due to their pre-defined context lengths, which impede their capacity for multi-hop reasoning within extensive textual contexts. While existing techniques like Retrieval-Augmented Generation (RAG) have attempted to bridge this gap by sourcing external information, they fall short when direct answers are not readily available. We introduce a novel approach that re-imagines information retrieval through dynamic in-context editing, inspired by recent breakthroughs in knowledge editing. By treating lengthy contexts as malleable external knowledge, our method interactively gathers and integrates relevant information, thereby enabling LLMs to perform sophisticated reasoning steps. Experimental results demonstrate that our method effectively empowers context-limited LLMs, such as Llama2, to engage in multi-hop reasoning with improved performance, which outperforms state-of-the-art context window extrapolation methods and even compares favorably to more advanced commercial long-context models. Our interactive method not only enhances reasoning capabilities but also mitigates the associated training and computational costs, making it a pragmatic solution for enhancing LLMs' reasoning within expansive contexts.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 21 of its 39 references that are in the map. First posted on arXiv 18 Jun 2024.
Builds on
21 of 39 references.
Closest ancestors · 1
Same direction, newest first
Other references · 20
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
- 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 965
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 873
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
- 2022Decomposed Prompting: A Modular Approach for Solving Complex Taskscited by 554
- 2021Editing Factual Knowledge in Language Modelscited by 548
- 2024RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrievalcited by 519
- 2023Can We Edit Factual Knowledge by In-Context Learning?cited by 284
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 206
8 more
- 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 194
- 2024LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuningcited by 133
- 2023Retrieval meets Long Context Large Language Modelscited by 114
- 2023Extending Context Window of Large Language Models via Semantic Compressioncited by 45
- 2023CLEX: Continuous Length Extrapolation for Large Language Modelscited by 43
- 2024LongAgent: Scaling Language Models to 128k Context through Multi-Agent Collaborationcited by 38
- 2024Nemotron-4 15B Technical Reportcited by 36
- 2023Wasserstein-Fisher-Rao Embedding: Logical Query Embeddings with Local Comparison and Global Transportcited by 16
Built on by
Citing papers per year: 2024: 4; 2025: 5.
9 papers.
- 2025Towards Agentic RAG with Deep Reasoning: A Survey of RAG-Reasoning Systems in LLMscited by 40
- 2024Can Knowledge Editing Really Correct Hallucinations?cited by 28
- 2024Can Editing LLMs Inject Harm?cited by 22
- 2025Efficient Prompt Compression with Evaluator Heads for Long-Context Transformer Inferencecited by 10
- 2025DocMEdit: Towards Document-Level Model Editingcited by 5
- 2025Improving Context Fidelity via Native Retrieval-Augmented Reasoningcited by 5
- 2024Long-context Language Models Fail in Basic Retrieval Tasks Without Sufficient Reasoning Stepscited by 3
- 2024PRISM: Efficient Long-Range Reasoning With Short-Context LLMscited by 3
- 2025Model Editing as a Double-Edged Sword: Steering Agent Ethical Behavior Toward Beneficence or Harmcited by 2
- 2025Improving Context Fidelity via Native Retrieval-Augmented Reasoning17 Sep 2025
- 2025Towards Agentic RAG with Deep Reasoning: A Survey of RAG-Reasoning Systems in LLMs13 Jul 2025
- 2025Model Editing as a Double-Edged Sword: Steering Agent Ethical Behavior Toward Beneficence or Harm25 Jun 2025
- 2025DocMEdit: Towards Document-Level Model Editing26 May 2025
- 2025Efficient Prompt Compression with Evaluator Heads for Long-Context Transformer Inference22 Jan 2025
- 2024PRISM: Efficient Long-Range Reasoning With Short-Context LLMs25 Dec 2024
- 2024Can Knowledge Editing Really Correct Hallucinations?21 Oct 2024
- 2024Long-context Language Models Fail in Basic Retrieval Tasks Without Sufficient Reasoning Steps6 Oct 2024
- 2024Can Editing LLMs Inject Harm?29 Jul 2024
Similar, not cited
Close in wording, no citation either way
- 2025Emulating Retrieval Augmented Generation via Prompt Engineering for Enhanced Long Context Comprehension in LLMs
- 2025Beyond Isolated Capabilities: Bridging Long CoT Reasoning and Long-Context Understanding
- 2024NeedleBench: Evaluating LLM Retrieval and Reasoning Across Varying Information Densities
- 2025LIR3AG: A Lightweight Rerank Reasoning Strategy Framework for Retrieval-Augmented Generation
- 2024Retrieval-enhanced Knowledge Editing in Language Models for Multi-Hop Question Answering
- 2025Grounding Long-Context Reasoning with Contextual Normalization for Retrieval-Augmented Generation
- 2024Leave No Document Behind: Benchmarking Long-Context LLMs with Extended Multi-Doc QA
- 2025Tagging-Augmented Generation: Assisting Language Models in Finding Intricate Knowledge In Long Contexts