QRMeM:通过“先提问后反思”记忆机制突破长度限制
QRMeM: Unleash the Length Limitation through Question then Reflection Memory Mechanism
AI总结:
针对LLM处理长文本时静态知识整合不足及缺失多分段关系的问题,提出QRMeM机制,通过结合静态文本与结构化图引导的双重记忆池,采用反思性试错方法识别相关片段,在MCQ和Multi-doc QA基准上提升了性能。
摘要:
尽管大型语言模型(LLMs)在自然语言处理方面取得了显著进展,但它们在处理长文本时仍面临困难。记忆机制为管理长上下文提供了一种灵活的解决方案,利用压缩、摘要和结构化等技术来促进对大量文本的细致且高效的处理。然而,现有技术在静态知识整合方面面临挑战,导致对特定任务需求的适应性不足,并且缺失多分段关系,这阻碍了在响应过程中对相关片段的动态重组和逻辑组合。为了解决这些问题,我们引入了一种新策略,即“先提问后反思”记忆机制(QRMeM),它包含一个双重结构的记忆池。该记忆池将静态文本内容与结构化图引导协同起来,促进了一种反思性试错方法,用于导航和识别相关片段。我们在多项选择题(MCQ)和多文档问答(Multi-doc QA)基准上的评估表明,与现有方法相比,QRMeM提升了性能。
英文摘要:
While large language models (LLMs) have made notable advancements in natural language processing, they continue to struggle with processing extensive text. Memory mechanism offers a flexible solution for managing long contexts, utilizing techniques such as compression, summarization, and structuring to facilitate nuanced and efficient handling of large volumes of text. However, existing techniques face challenges with static knowledge integration, leading to insufficient adaptation to task-specific needs and missing multi-segmentation relationships, which hinders the dynamic reorganization and logical combination of relevant segments during the response process. To address these issues, we introduce a novel strategy, Question then Reflection Memory Mechanism (QRMeM), incorporating a dual-structured memory pool. This pool synergizes static textual content with structured graph guidance, fostering a reflective trial-and-error approach for navigating and identifying relevant segments. Our evaluation across multiple-choice questions (MCQ) and multi-document question answering (Multi-doc QA) benchmarks showcases QRMeM enhanced performance compared to existing approaches.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。