Skip to main content
QUICK REVIEW

[论文解读] Efficient Document Ranking with Learnable Late Interactions

Ziwei Ji, Himanshu Jain|arXiv (Cornell University)|Jun 25, 2024
Text and Document Classification TechnologiesComputer Science被引用 3
一句话总结

该论文提出 LITE,一种可学习的晚期交互模型,通过在查询-文档标记相似度矩阵上应用轻量级、可学习的多层感知机(MLP),提升文档排序性能,相较于 ColBERT 和 DE 模型,在降低 75% 延迟和存储开销的同时,实现了更优的准确率。LITE 在理论上被证明即使在低嵌入维度下,也能作为连续评分函数的通用逼近器。

ABSTRACT

Cross-Encoder (CE) and Dual-Encoder (DE) models are two fundamental approaches for query-document relevance in information retrieval. To predict relevance, CE models use joint query-document embeddings, while DE models maintain factorized query and document embeddings; usually, the former has higher quality while the latter benefits from lower latency. Recently, late-interaction models have been proposed to realize more favorable latency-quality tradeoffs, by using a DE structure followed by a lightweight scorer based on query and document token embeddings. However, these lightweight scorers are often hand-crafted, and there is no understanding of their approximation power; further, such scorers require access to individual document token embeddings, which imposes an increased latency and storage burden. In this paper, we propose novel learnable late-interaction models (LITE) that resolve these issues. Theoretically, we prove that LITE is a universal approximator of continuous scoring functions, even for relatively small embedding dimension. Empirically, LITE outperforms previous late-interaction models such as ColBERT on both in-domain and zero-shot re-ranking tasks. For instance, experiments on MS MARCO passage re-ranking show that LITE not only yields a model with better generalization, but also lowers latency and requires 0.25x storage compared to ColBERT.

研究动机与目标

  • 为解决现有晚期交互模型的局限性,例如 ColBERT 中的手动设计评分器以及高存储和延迟成本。
  • 开发一种可学习、轻量级的评分器,在保持高相关性预测质量的同时,降低计算和存储开销。
  • 通过理论分析,正式建立晚期交互模型的逼近能力。
  • 在文档排序任务中,实现优于交叉编码器(Cross-Encoder)和双编码器(Dual-Encoder)基线模型的延迟-质量权衡。

提出的方法

  • LITE 使用类似于双编码器的双 Transformer 编码器结构,分别计算查询和文档的标记嵌入。
  • 与点积或求和-最大值降维不同,LITE 通过查询和文档标记嵌入计算相似度矩阵 S = Q^T D。
  • 一个共享的浅层多层感知机(MLP)通过分别对行和列应用独立的 MLP,随后通过投影得到标量评分。
  • 该方法采用可分离的评分机制,独立地对查询和文档侧应用共享的 MLP,从而实现参数效率。
  • 该方法在理论上具有坚实基础,即使在严格的存储约束下,也能作为 ℓ₂ 距离下连续评分函数的通用逼近器。
  • 该架构通过实时计算得分,避免存储完整的文档嵌入,从而降低存储和延迟。

实验结果

研究问题

  • RQ1可学习的晚期交互模型是否能在保持低延迟的同时,优于 ColBERT 的手动手动评分器(如求和-最大值降维),在排序准确率上表现更优?
  • RQ2晚期交互模型的理论逼近能力如何?它们是否能普遍逼近复杂的相关性函数?
  • RQ3在存储和延迟约束下,模型容量(如嵌入维度)如何影响晚期交互模型的性能?
  • RQ4可学习评分器是否能减少对预存储文档嵌入的需求,从而相比 ColBERT 降低存储和延迟?
  • RQ5LITE 在无需微调的情况下,能否在零样本重排序场景中表现出良好泛化能力?

主要发现

  • LITE 在域内 MS MARCO 文档重排序任务中优于 ColBERT,展现出更好的泛化能力和更高的准确率。
  • 在 MS MARCO 数据集上,LITE 相比 ColBERT 将存储需求降低了 75%(即 0.25×),同时保持或提升了性能。
  • LITE 通过避免预计算和存储完整文档嵌入,实现了比 ColBERT 更低的推理延迟。
  • 理论分析证明,即使在低嵌入维度下,LITE 仍是 ℓ₂ 距离下连续评分函数的通用逼近器。
  • LITE 在性能上显著优于双编码器模型,尤其在捕捉复杂查询-文档交互方面表现更优。
  • LITE 在零样本重排序任务中表现出良好的泛化能力,表明其具备强大的鲁棒性和可迁移性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。