改进的双排序器多教师蒸馏双编码器文档排序模型
Improving Bi-encoder Document Ranking Models with Two Rankers and Multi-teacher Distillation
摘要:
基于BERT的神经排名模型(NRM)可以根据查询和文档如何通过BERT的自注意层编码进行分类-双向编码器与交叉编码器。双编码器模型是高效的,因为所有的文档都可以在查询时间之前进行预处理,但与交叉编码器模型相比,它们的性能较差。这两个模型都使用一个排序器,它接收BERT表示作为输入,并生成一个相关性分数作为输出。在这项工作中,我们提出了一种方法,其中多教师蒸馏应用于交叉编码器NRM和双编码器NRM,以产生具有两个排序器的双编码器NRM。由此产生的学生双编码器通过同时从交叉编码器教师和双编码器教师学习并且还通过结合来自两个排名器的相关分数来实现改进的性能。我们称这种方法为TRMD(两级和多教师蒸馏)。在实验中,TwinBERT和ColBERT被认为是基线双编码器。当monoBERT被用作交叉编码器老师,同时TwinBERT或ColBERT被用作双向编码器老师时,TRMD产生的学生双向编码器比相应的基线双向编码器性能更好。对于P@20,最大改善为11.4%,平均改善为6.8%。作为一个额外的实验,我们考虑用TRMD来培养交叉编码器的学生,发现它也可以提高交叉编码器。
英文摘要:
BERT-based Neural Ranking Models (NRMs) can be classified according to how the query and document are encoded through BERT's self-attention layers - bi-encoder versus cross-encoder. Bi-encoder models are highly efficient because all the documents can be pre-processed before the query time, but their performance is inferior compared to cross-encoder models. Both models utilize a ranker that receives BERT representations as the input and generates a relevance score as the output. In this work, we propose a method where multi-teacher distillation is applied to a cross-encoder NRM and a bi-encoder NRM to produce a bi-encoder NRM with two rankers. The resulting student bi-encoder achieves an improved performance by simultaneously learning from a cross-encoder teacher and a bi-encoder teacher and also by combining relevance scores from the two rankers. We call this method TRMD (Two Rankers and Multi-teacher Distillation). In the experiments, TwinBERT and ColBERT are considered as baseline bi-encoders. When monoBERT is used as the cross-encoder teacher, together with either TwinBERT or ColBERT as the bi-encoder teacher, TRMD produces a student bi-encoder that performs better than the corresponding baseline bi-encoder. For P@20, the maximum improvement was 11.4%, and the average improvement was 6.8%. As an additional experiment, we considered producing cross-encoder students with TRMD, and found that it could also improve the cross-encoders.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。