arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.34146cs.CLcs.AI
收藏

长上下文时代的检索反思:用于自适应上下文构建的无训练语义树

Rethinking Retrieval in the Long-Context Era: Training-Free Semantic Trees for Adaptive Context Construction

Sun Yat-sen University(中山大学);Alibaba Group(阿里巴巴集团)

Zhe Xu, Tianhao Liao, Zhenqing Ling, Ying Shen, Yaliang Li, Daoyuan Chen

AI总结:

本研究针对长上下文语言模型的检索问题,提出无训练语义树框架,通过语义抽象选择并组织文档证据,在四个模型上提升了三个LongBench任务的QA-F1,同时缩短了上下文长度。

摘要:

长上下文语言模型如今已能处理完整文档,使得全上下文提示成为段落检索的实用替代方案。然而,模型接收的信息容量决定了其可获取的信息量,却无法决定哪些信息最能支持查询。这一区别促使我们重新思考检索问题:当完整文档已能被容纳时,能否通过选择和组织其中的证据来提升回答质量?挑战在于在保留支撑事实与关系的同时,将上下文聚焦于问题。为协调这些目标,我们提出\textbf{\textit{ours}},一种无训练框架,它利用语义抽象指导选择,同时保留原始文本用于回答。\textbf{\textit{ours}}通过单次生成为完整文档构建可复用的语义层次结构,将节点描述与源片段关联。给定查询,结构-语义评分与细粒度词汇归因会提名共享源节点,这些节点与祖先上下文的并集既保留了结构关系,又保留了完整局部文本。在四个前沿问答模型上,\textbf{\textit{ours}}在三个LongBench任务上较全上下文提示平均提升QA-F1 1.72个百分点,在四模型平均表现上超过评估基线,同时将答案-上下文长度减少58.55%。我们的代码可在该代码仓库获取。

英文摘要:

Long-context language models can increasingly process entire documents, making full-context prompting a practical alternative to passage retrieval. However, greater capacity determines how much information a model can receive, but not which information best supports a query. This distinction motivates rethinking retrieval: when the full document already fits, can selecting and organizing its evidence improve answering? The challenge is to retain supporting facts and relations while keeping the context focused on the question. To reconcile these goals, we introduce \ours, a training-free framework that uses semantic abstraction to guide selection while retaining original text for answering. \ours constructs a reusable semantic hierarchy from the full document in a single generation, linking node descriptions to source spans. Given a query, structural--semantic scoring and fine-grained lexical attribution nominate shared source nodes; their union with ancestor context preserves structural relations and complete local text. Across four frontier answer models, \ours improves average QA-F1 by 1.72 points over full-context prompting on three LongBench tasks, surpassing the evaluated baselines on the four-model average while reducing answer-context length by 58.55\%. Our code is available at the $\href{https://anonymous.4open.science/r/treefuse-ECFE}{repository}$.

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

↑