arXiv:2508.01959cs.CL2025-08被引 10

让短文本嵌入理解上下文,提升长文档检索效果

SitEmb-v1.5: Improved Context-Aware Dense Retrieval for Semantic Association and Long Story Comprehension

  • 用大上下文条件化短文本嵌入,增强语义理解
  • 10亿参数的SitEmb-v1超越7-80亿参数模型,80亿版再提升10%
  • 适合需要精准定位证据的长篇故事理解任务

长文档的检索增强生成通常将文本切分为小块作为检索单元。但由于原文档中存在依赖关系,准确理解每一块往往需依赖上下文信息。此前方法尝试通过编码更长上下文窗口来生成嵌入,但效果受限:一方面长块增加模型编码负担,另一方面实际应用仍需返回局部证据以适应模型或人力带宽限制。本文提出新思路——以宽上下文为条件,构建短块的嵌入表示,使其意义‘情境化’。我们发现现有嵌入模型难以有效编码此类情境信息,因此设计新训练范式并开发了情境嵌入模型(SitEmb)。为评估,我们构建了一个专用于测试情境检索能力的书籍情节数据集。实验显示,基于BGE-M3的10亿参数SitEmb-v1显著优于多个7-80亿参数的先进模型;其80亿参数版本的SitEmb-v1.5性能进一步提升超10%,且在多语言和多种下游任务中表现优异。

原文摘要 · Abstract (English)

Retrieval-augmented generation (RAG) over long documents typically involves splitting the text into smaller chunks, which serve as the basic units for retrieval. However, due to dependencies across the original document, contextual information is often essential for accurately interpreting each chunk. To address this, prior work has explored encoding longer context windows to produce embeddings for longer chunks. Despite these efforts, gains in retrieval and downstream tasks remain limited. This is because (1) longer chunks strain the capacity of embedding models due to the increased amount of information they must encode, and (2) many real-world applications still require returning localized evidence due to constraints on model or human bandwidth. We propose an alternative approach to this challenge by representing short chunks in a way that is conditioned on a broader context window to enhance retrieval performance -- i.e., situating a chunk's meaning within its context. We further show that existing embedding models are not well-equipped to encode such situated context effectively, and thus introduce a new training paradigm and develop the situated embedding models (SitEmb). To evaluate our method, we curate a book-plot retrieval dataset specifically designed to assess situated retrieval capabilities. On this benchmark, our SitEmb-v1 model based on BGE-M3 substantially outperforms state-of-the-art embedding models, including several with up to 7-8B parameters, with only 1B parameters. Our 8B SitEmb-v1.5 model further improves performance by over 10% and shows strong results across different languages and several downstream applications.

嵌入模型长文档检索情境感知RAG

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。