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

复现并比较跨编码器蒸馏技术

Building Better Encoder-only Cross-Encoders: A Controlled Study of Training Strategies for Neural Re-ranking

Sorbonne Université, CNRS, ISIR(索邦大学);Sinequa by ChapsVision(ChapsVision旗下Sinequa);Université de Toulouse, CNRS, IRIT, CLLE(图卢兹大学)

Victor Morand, Mathias Vast, Basile Van Cooten, Laure Soulier, Josiane Mothe, Benjamin Piwowarski

AI总结:

本文复现并比较了不同蒸馏技术在跨编码器上的效果,发现强调相对比较的目标在性能上优于传统方法。

摘要:

最近信息检索领域的进展已将基于变换器的跨编码器确立为信息检索中的关键组成部分。最近的研究集中在知识蒸馏上,表明通过正确的策略,传统跨编码器可以达到与大型语言模型重排序器相当的性能。然而,与之前训练策略的比较仍然不明确,包括从强跨编码器教师中进行蒸馏。此外,很少有研究覆盖相似范围的主干编码器,而自BERT以来,这一领域已取得了显著进展。在受控环境中缺乏全面研究使得识别稳健的设计选择变得困难。在本工作中,我们复现了schlatt等人提出的基于大型语言模型的蒸馏策略,并将其与hofstatter等人基于跨编码器教师集合的方法以及其它监督目标进行比较,以微调一系列广泛的跨编码器,从原始BERT及其后续版本RoBERTa、ELECTRA和DeBERTa-v3,到更近期的ModernBERT。我们对所有模型在领域内(TREC-DL和MS~MARCO dev)和领域外数据集(BEIR、LoTTE和Robust04)上进行了评估。我们的结果表明,在所有主干和评估设置中,强调相对比较的目标——成对MarginMSE和列表wise InfoNCE——始终优于点状基线,且目标选择可以带来与扩大主干架构相当的收益。

英文摘要:

Cross-encoders fine-tuned from Transformer backbones remain the standard for second-stage re-ranking, and recent knowledge-distillation strategies have closed much of the gap with LLM re-rankers. However, these strategies have not been compared under controlled conditions. In particular, it remains unclear how distillation from LLM rankers compares to distillation from strong cross-encoder teachers, or to purely supervised objectives. It is also unclear how much newer backbones (RoBERTa, ELECTRA, DeBERTaV3, ModernBERT) contribute compared to the original BERT. We run 162 controlled training runs (9 backbones x 6 objectives x 3 seeds), spanning pointwise, pairwise, and listwise losses with both human labels and two distillation signals, and evaluate on TREC-DL, MSMARCO dev, BEIR, LoTTE, and Robust04. We find that objectives emphasizing relative comparisons - pairwise MarginMSE and listwise InfoNCE - consistently outperform alternative objectives, including more complex listwise LLM distillation, across all backbones, and switching objective yields gains comparable to moving up one backbone size tier. A controlled disentanglement further shows that, once the negative-sampling pool is matched, even a simple pairwise Hinge loss with ColBERTv2 hard negatives matches - and on out of domain beats - listwise LLM distillation, indicating that the quality of the negatives is at least as important as the choice of loss. We release all 162 trained models on HuggingFace (https://huggingface.co/collections/xpmir/reproducing-cross-encoders) and a unified training codebase. (https://github.com/xpmir/cross-encoders)

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

↑