mlsanityData to 7 Oct 2026

Retrieval Meets Reasoning: Dynamic In-Context Editing for Long-Text Understanding

arXiv 2406.12331 ↗First posted 18 Jun 2024cs.CL cs.AIcited by 9

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

  1. 2024DeepEdit: Knowledge Editing as Decoding with Constraints19 Jan

Other references · 20

  1. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  2. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  3. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
  4. 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 965
  5. 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 873
  6. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
  7. 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
  8. 2022Decomposed Prompting: A Modular Approach for Solving Complex Taskscited by 554
  9. 2021Editing Factual Knowledge in Language Modelscited by 548
  10. 2024RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrievalcited by 519
  11. 2023Can We Edit Factual Knowledge by In-Context Learning?cited by 284
  12. 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 206
8 more
  1. 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 194
  2. 2024LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuningcited by 133
  3. 2023Retrieval meets Long Context Large Language Modelscited by 114
  4. 2023Extending Context Window of Large Language Models via Semantic Compressioncited by 45
  5. 2023CLEX: Continuous Length Extrapolation for Large Language Modelscited by 43
  6. 2024LongAgent: Scaling Language Models to 128k Context through Multi-Agent Collaborationcited by 38
  7. 2024Nemotron-4 15B Technical Reportcited by 36
  8. 2023Wasserstein-Fisher-Rao Embedding: Logical Query Embeddings with Local Comparison and Global Transportcited by 16

Built on by

Cited by year

Citing papers per year: 2024: 4; 2025: 5.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Emulating Retrieval Augmented Generation via Prompt Engineering for Enhanced Long Context Comprehension in LLMs
  2. 2025Beyond Isolated Capabilities: Bridging Long CoT Reasoning and Long-Context Understanding
  3. 2024NeedleBench: Evaluating LLM Retrieval and Reasoning Across Varying Information Densities
  4. 2025LIR3AG: A Lightweight Rerank Reasoning Strategy Framework for Retrieval-Augmented Generation
  5. 2024Retrieval-enhanced Knowledge Editing in Language Models for Multi-Hop Question Answering
  6. 2025Grounding Long-Context Reasoning with Contextual Normalization for Retrieval-Augmented Generation
  7. 2024Leave No Document Behind: Benchmarking Long-Context LLMs with Extended Multi-Doc QA
  8. 2025Tagging-Augmented Generation: Assisting Language Models in Finding Intricate Knowledge In Long Contexts