晚交互模型压缩的简单线性修正
Simple Linear Corrections for Compression in Late Interaction
AI总结:
该研究针对晚交互模型压缩后质量下降问题,提出学习全局线性修正的轻量方法,在多个基准上多数场景优于基线压缩,可恢复压缩带来的部分质量损失。
摘要:
晚交互(多向量)模型使用一组 token 级向量表示文档,在嵌入质量和成本上介于交叉编码器(cross-encoders)和密集编码器(dense encoders)之间。但与后者相比,其索引的存储和评分成本较高。池化和基于剪枝的压缩技术被广泛应用,但在激进压缩时质量会明显下降。我们研究是否可通过对评分函数进行轻量修改,在文档向量压缩后恢复检索质量。对于编码器、压缩器和向量预算的每种组合,我们通过蒸馏未压缩模型对候选文档的评分分布来学习全局线性修正。编码器和压缩器保持冻结状态,该修正可在搜索时应用于每个查询,或离线一次性应用于存储的向量。我们在 MS MARCO 和 BEIR 上使用 ColBERTv2 和 Jina v4,在 ViDoRe v3 视觉文档检索基准上使用 ColPali2 评估该方法。实验涵盖四种无训练压缩方法、多个向量预算、域内适配及从 MS MARCO 到 BEIR 的迁移。在域内设置中,该修正方法在 160 个 BEIR 设置中的 154 个上优于基线压缩,而从 MS MARCO 的迁移在不同模型和数据集上表现更不稳定。我们还发现,使用合成查询训练的矩阵可在 ViDoRe v3 上优于基线压缩。这些结果表明,小型学习修正可在不重新训练编码器或重新压缩文档的情况下,恢复部分压缩导致的质量损失。
英文摘要:
Late-interaction (multi-vector) models represent documents using a set of token-level vectors, providing a middle ground between cross-encoders and dense encoders in terms of quality and cost of embedding. However, compared to the latter, the indices are costly to store and score. Pooling and pruning based compression techniques are deployed widely but deteriorate in quality noticeably with aggressive compression. We investigate whether a lightweight change to the scoring function can recover retrieval quality after document-vector compression. For each combination of encoder, compressor, and vector budget, we learn a global linear correction by distilling the uncompressed model's score distributions over candidate documents. The encoder and compressor remain frozen, and the correction can be applied to each query at search time or once, offline, to the stored vectors. We evaluate the method with ColBERTv2 and Jina v4 on MS MARCO and BEIR, and with ColPali2 on the ViDoRe v3 visual document retrieval benchmark. Experiments cover four training-free compression methods, multiple vector budgets, in-domain adaptation, and transfer from MS MARCO to BEIR. In the in-domain setting, the correction improves over baseline compression in 154 of 160 BEIR settings, while transfer from MS MARCO is more variable across models and datasets. We also find that matrices trained with synthetic queries can improve over baseline compression on ViDoRe v3. These results show that a small learned correction can recover some of the quality lost to compression without retraining the encoder or recompressing the documents.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。