[论文解读] Improving Efficient Neural Ranking Models with Cross-Architecture Knowledge Distillation
This paper introduces a cross-architecture knowledge distillation method with a Margin-MSE loss to transfer knowledge from a BERT-CAT teacher to various efficient ranking architectures, boosting re-ranking and dense retrieval performance without sacrificing efficiency.
Retrieval and ranking models are the backbone of many applications such as web search, open domain QA, or text-based recommender systems. The latency of neural ranking models at query time is largely dependent on the architecture and deliberate choices by their designers to trade-off effectiveness for higher efficiency. This focus on low query latency of a rising number of efficient ranking architectures make them feasible for production deployment. In machine learning an increasingly common approach to close the effectiveness gap of more efficient models is to apply knowledge distillation from a large teacher model to a smaller student model. We find that different ranking architectures tend to produce output scores in different magnitudes. Based on this finding, we propose a cross-architecture training procedure with a margin focused loss (Margin-MSE), that adapts knowledge distillation to the varying score output distributions of different BERT and non-BERT passage ranking architectures. We apply the teachable information as additional fine-grained labels to existing training triples of the MSMARCO-Passage collection. We evaluate our procedure of distilling knowledge from state-of-the-art concatenated BERT models to four different efficient architectures (TK, ColBERT, PreTT, and a BERT CLS dot product model). We show that across our evaluated architectures our Margin-MSE knowledge distillation significantly improves re-ranking effectiveness without compromising their efficiency. Additionally, we show our general distillation method to improve nearest neighbor based index retrieval with the BERT dot product model, offering competitive results with specialized and much more costly training methods. To benefit the community, we publish the teacher-score training files in a ready-to-use package.
研究动机与目标
- Motivate reducing latency of neural ranking models while preserving or improving effectiveness.
- Propose a model-agnostic cross-architecture distillation method that accounts for differing score distributions across architectures.
- Show that Margin-MSE distillation yields gains for multiple efficient architectures in re-ranking and dense retrieval tasks.
- Investigate the impact of single versus ensemble teacher models on distillation effectiveness.
- Provide ready-to-use teacher training files and demonstrate the practicality of the approach.
提出的方法
- Train a strong BERT-CAT teacher on MSMARCO with RankNet loss.
- Infer teacher scores for all training triples and reuse them for distillation.
- Train student models of different architectures (TK, ColBERT, PreTT, BERT-DOT) using Margin-MSE loss that matches teacher margins.
- Compare Margin-MSE against other distillation losses (pointwise MSE, Weighted RankNet) through ablation studies.
- Evaluate on MSMARCO-DEV and TREC-DL’19 across re-ranking and dense retrieval settings.
- Publish code and ready-to-use teacher training files for community use.
实验结果
研究问题
- RQ1RQ1 How can knowledge distillation be applied across architecture types to improve retrieval effectiveness?
- RQ2RQ2 Is distillation from a single teacher model as effective as an ensemble of teachers?
- RQ3RQ3 How effective is distillation for dense nearest-neighbor retrieval using a BERT-DOT style model?
- RQ4RQ4 How does knowledge distillation shift the efficiency–effectiveness trade-off for efficient architectures?
主要发现
- Margin-MSE consistently improves all evaluated architectures over their baselines in re-ranking and dense retrieval scenarios.
- Ensembles of teacher models generally outperform single teachers across MSMARCO-DEV and TREC-DL’19 settings.
- DistilBERT-based students often match or surpass BERT-based baselines with substantially lower latency and similar or better effectiveness.
- Distillation narrows the efficiency–effectiveness gap for TK, ColBERT, and BERT-DOT, reducing the need to trade off accuracy for speed.
- Dense retrieval results with Margin-MSE are competitive with more costly methods like ANCE and TCT-ColBERT, while using smaller batch sizes and resources.
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。