Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
51 tokens/sec
GPT-4o
60 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
8 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Retrieval Meets Reasoning: Dynamic In-Context Editing for Long-Text Understanding (2406.12331v1)

Published 18 Jun 2024 in cs.CL and cs.AI

Abstract: Current 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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (7)
  1. Weizhi Fei (8 papers)
  2. Xueyan Niu (15 papers)
  3. Guoqing Xie (2 papers)
  4. Yanhua Zhang (12 papers)
  5. Bo Bai (71 papers)
  6. Lei Deng (81 papers)
  7. Wei Han (202 papers)
Citations (2)
X Twitter Logo Streamline Icon: https://streamlinehq.com

Tweets