arXiv:2603.03010cs.IR2026-03

对比162种训练策略,发现相对排序损失更有效,负样本质量比损失类型更重要。

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

  • 采用多种损失函数与蒸馏信号,在9个模型上系统对比训练策略。
  • 基于相对比较的成对和列表损失优于复杂蒸馏方法,性能提升相当于换一个更大模型。
  • 负样本质量至关重要,简单成对损失配合高质量负样本可超越复杂蒸馏。

跨编码器通过Transformer骨干网络微调仍是第二阶段重排序的标准方案,近期知识蒸馏策略已大幅缩小其与大语言模型重排序器的差距。然而,这些策略尚未在受控条件下进行对比。本文在9种骨干模型(BERT、RoBERTa、ELECTRA、DeBERTaV3、ModernBERT等)、6种训练目标(点对点、成对、列表损失)及3个随机种子下,共执行162次受控训练实验,评估涵盖TREC-DL、MSMARCO dev、BEIR、LoTTE、Robust04数据集。结果表明,强调相对比较的成对MarginMSE与列表式InfoNCE损失在所有骨干模型上均显著优于其他目标,包括复杂的列表式大模型蒸馏。进一步解耦分析显示,当负样本池匹配时,仅使用ColBERTv2硬负样本的成对Hinge损失即可达到甚至超越列表式大模型蒸馏效果,说明负样本质量至少与损失选择同等重要。所有162个训练模型已发布于HuggingFace(https://huggingface.co/collections/xpmir/reproducing-cross-encoders),训练代码库也已开源(https://github.com/xpmir/cross-encoders)。

原文摘要 · Abstract (English)

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)

重排序跨编码器训练策略负样本

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