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

利用跨架构知识蒸馏改进高效神经排序模型

Improving Efficient Neural Ranking Models with Cross-Architecture Knowledge Distillation

Sebastian Hofstätter, Sophia Althammer, Michael Schröder, Mete Sertkan, Allan Hanbury

摘要:

检索和排名模型是许多应用程序的支柱,如Web搜索,开放域QA,或基于文本的推荐系统。神经排名模型在查询时的延迟在很大程度上取决于其设计者的架构和故意选择,以权衡效率以获得更高的效率。这种对越来越多的高效排名架构的低查询延迟的关注使它们适用于生产部署。在机器学习中,一种越来越常见的方法来缩小更高效模型的有效性差距,即将知识蒸馏从大型教师模型应用到较小的学生模型。我们发现,不同的排名架构往往会产生不同幅度的输出分数。基于这一发现,我们提出了一个跨架构的培训过程与利润集中损失(边际MSE),适应知识蒸馏不同的分数输出分布的不同BERT和非BERT通过排名架构。我们将可教信息作为额外的细粒度标签应用于MSMARCO通道集合的现有训练三元组。我们评估我们的过程中提取知识从国家的最先进的级联BERT模型到四个不同的有效架构(TK,ColBERT,PreTT,和一个BERT CLS点积模型)。我们表明,在我们评估的架构,我们的边际MSE知识蒸馏显着提高重新排名的有效性,而不影响其效率。此外,我们展示了我们的一般蒸馏方法,以改善最近邻索引检索与BERT点积模型,提供有竞争力的结果与专业和更昂贵的训练方法。为了使社区受益,我们将教师评分培训文件发布在一个现成的软件包中。

英文摘要:

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.

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

↑