arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2602.10021cs.CLcs.AI
收藏

解耦推理与隐式事实标记(DRIFT):一种双模型框架,用于高效长上下文推理

Decoupled Reasoning with Implicit Fact Tokens (DRIFT): A Dual-Model Framework for Efficient Long-Context Inference

Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Fudan University(复旦大学);Shanghai Innovation Institute(上海创新研究院);Tongji University(同济大学)

Wenxuan Xie, Yujia Wang, Xin Tan, Chaochao Lu, Xia Hu, Xuhong Wang

AI总结:

DRIFT通过双模型框架解耦知识提取与推理,提升长上下文推理效率和准确性。

摘要:

将大量动态知识整合到大型语言模型(LLMs)中仍然是一个重大挑战,因为事实数据和推理模式之间存在固有的交织。现有的解决方案,从非参数检索增强生成(RAG)到参数化知识编辑,通常在实践中受到有限的上下文窗口、检索器噪声或灾难性遗忘风险的限制。在本文中,我们提出了DRIFT,一种新的双模型架构,旨在明确解耦知识提取与推理过程。与静态提示压缩不同,DRIFT采用轻量级知识模型,将文档片段动态压缩成受查询条件约束的隐式事实标记。这些密集表示被投影到推理模型的嵌入空间中,用原始冗余文本替换,同时保持推理准确性。广泛的实验表明,DRIFT在长上下文任务上显著提高了性能,优于同等规模的强基线。我们的方法提供了一种可扩展且高效的范式,用于扩展LLMs的有效上下文窗口和推理能力。我们的代码可在https://github.com/Lancelot-Xie/DRIFT上获得。

英文摘要:

The integration of extensive, dynamic knowledge into Large Language Models (LLMs) remains a significant challenge due to the inherent entanglement of factual data and reasoning patterns. Existing solutions, ranging from non-parametric Retrieval-Augmented Generation (RAG) to parametric knowledge editing, are often constrained in practice by finite context windows, retriever noise, or the risk of catastrophic forgetting. In this paper, we propose DRIFT, a novel dual-model architecture designed to explicitly decouple knowledge extraction from the reasoning process. Unlike static prompt compression, DRIFT employs a lightweight knowledge model to dynamically compress document chunks into implicit fact tokens conditioned on the query. These dense representations are projected into the reasoning model's embedding space, replacing raw, redundant text while maintaining inference accuracy. Extensive experiments show that DRIFT significantly improves performance on long-context tasks, outperforming strong baselines among comparably sized models. Our approach provides a scalable and efficient paradigm for extending the effective context window and reasoning capabilities of LLMs. Our code is available at https://github.com/Lancelot-Xie/DRIFT.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑