Self-Taught Agentic Long Context Understanding
本文提出了一种名为AgenticLU的框架,通过结合目标自我澄清和情境定位,显著提升了大型语言模型对长文本的理解能力。
更新于 2025-02-25。作者:Yufan Zhuang、Xiaodong Yu、Jialian Wu、Ximeng Sun、Ze Wang、Jiang Liu、Yusheng Su、Jingbo Shang、Zicheng Liu、Emad Barsoum。
中文摘要
回答复杂、长上下文问题仍然是大型语言模型(LLMs)面临的主要挑战,因为这需要有效的提问澄清和上下文检索。我们提出了代理长上下文理解(AgenticLU)框架,该框架通过在代理工作流程中整合有针对性的自我澄清和上下文定位,旨在增强LLM对这些查询的理解。AgenticLU的核心是澄清链(CoC),其中模型通过自我生成的澄清问题和相应的上下文定位来细化其理解。通过将推理扩展为树搜索,其中每个节点代表一个CoC步骤,我们在NarrativeQA上实现了97.8%的答案召回率,搜索深度高达三,分支因子为八。为了将这种搜索过程的高成本分摊到训练中,我们利用CoC工作流程中获得的每个步骤的偏好对,并执行两阶段模型微调:(1)监督微调以学习有效的分解策略,(2)直接偏好优化以增强推理质量。这使得AgenticLU模型能够在单次推理过程中有效地生成澄清并检索相关上下文。在七个长上下文任务上的大量实验表明,AgenticLU显著优于最先进的提示方法和专业长上下文LLMs,实现了稳健的多跳推理,同时随着上下文长度的增加,保持了一致的性能。
英文摘要
Answering complex, long-context questions remains a major challenge for large language models (LLMs) as it requires effective question clarifications and context retrieval. We propose Agentic Long-Context Understanding (AgenticLU), a framework designed to enhance an LLM's understanding of such queries by integrating targeted self-clarification with contextual grounding within an agentic workflow. At the core of AgenticLU is Chain-of-Clarifications (CoC), where models refine their understanding through self-generated clarification questions and corresponding contextual groundings. By scaling inference as a tree search where each node represents a CoC step, we achieve 97.8% answer recall on NarrativeQA with a search depth of up to three and a branching factor of eight. To amortize the high cost of this search process to training, we leverage the preference pairs for each step obtained by the CoC workflow and perform two-stage model finetuning: (1) supervised finetuning to learn effective decomposition strategies, and (2) direct preference optimization to enhance reasoning quality. This enables AgenticLU models to generate clarifications and retrieve relevant context effectively and efficiently in a single inference pass. Extensive experiments across seven long-context tasks demonstrate that AgenticLU significantly outperforms state-of-the-art prompting methods and specialized long-context LLMs, achieving robust multi-hop reasoning while sustaining consistent performance as context length grows.
解读
一句话总结
本文提出了一种名为AgenticLU的框架,通过结合目标自我澄清和情境定位,显著提升了大型语言模型对长文本的理解能力。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:大型语言模型在处理复杂、长文本问题时,难以有效进行问题澄清和情境检索。
- 现有方案不足:现有方法难以充分利用长文本中的信息,且对长文本的理解能力有限。
- 研究目标:设计一个框架,增强大型语言模型对长文本问题的理解能力。
问题2:论文的核心创新点是什么?
- 技术创新:提出了一种名为Chain-of-Clarifications (CoC)的流程,通过自我生成的澄清问题和相应的情境定位来提高理解。
- 方法改进:通过将推理扩展为树搜索,实现了97.8%的答案召回率。
- 优势:与现有方法相比,AgenticLU在长文本理解任务上表现出显著优势,尤其是在多跳推理方面。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在NarrativeQA、HotpotQA、Natural Questions等多个长文本问答任务上进行了实验。
- 性能提升:AgenticLU在多个任务上显著优于基线模型,特别是在长文本和复杂推理任务上。
- 对比结果:与基于提示的方法和专门的长文本LLM相比,AgenticLU在多跳推理方面表现出色。
问题4:这个研究的实际应用价值是什么?
- 应用场景:适用于需要处理长文本和复杂问题的场景,如阅读理解、问答系统等。
- 实施建议:结合监督微调和直接偏好优化,提高模型在长文本理解任务上的性能。
- 局限与展望:目前模型无法自主决定何时停止多轮推理,未来工作将探索动态调整推理深度的方法。
来源
机器可读索引:llms.txt