arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.23642cs.IR
收藏

改进长上下文检索的多前缀嵌入

Improving Long-Context Retrieval with Multi-Prefix Embedding

University of Waterloo(滑铁卢大学);University of Queensland(昆士兰大学);University of Utah(犹他大学);Carnegie Mellon University(卡内基梅隆大学)

Zhenglin Yu, Xueguang Ma, Shengyao Zhuang, Zhichao Xu, Luyu Gao, Crystina Zhang, Jimmy Lin

AI总结:

提出多前缀嵌入(MPE)方法,通过将文档分割为以EOS令牌分隔的块,在单次因果前向传播中编码全文并提取每个前缀边界的嵌入,实现跨块上下文保留和块级MaxSim匹配,仅需文档级相关性标签,在长上下文检索中优于基线方法。

摘要:

长上下文检索面临一个矛盾:单向量嵌入丢失细粒度细节,而令牌级多向量方法则带来高昂的存储成本。我们提出多前缀嵌入(MPE),该方法将文档分割为以EOS令牌分隔的块,在单次因果前向传播中编码整个序列,并在每个前缀边界提取一个嵌入。MPE保留了跨块上下文,支持块级MaxSim匹配,并且仅使用文档级相关性标签进行训练。在MLDR-en、BrowseComp-Plus和LongEmbed上的实验表明,MPE与单向量、独立块和多向量基线相比具有竞争力或更优,同时提供了用于定位证据块的自然来源归因机制。

英文摘要:

Long-context retrieval exposes a tension: single-vector embeddings lose fine-grained detail, while token-level multi-vector methods incur prohibitive storage. We propose Multi-Prefix Embedding (MPE), which partitions a document into chunks separated by EOS tokens, encodes the full sequence in a single causal forward pass, and extracts one embedding at each prefix boundary. MPE retains cross-chunk context, enables chunk-level MaxSim matching, and trains with only document-level relevance labels. Experiments on MLDR-en, BrowseComp-Plus, and LongEmbed show that MPE is competitive with or outperforms single-vector, independent-chunk, and multi-vector baselines, while providing a natural source attribution mechanism for locating evidence chunks.

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

↑