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

EmbedDistill:一种用于信息检索的几何知识蒸馏方法

EmbedDistill: A Geometric Knowledge Distillation for Information Retrieval

Google LLC(谷歌有限责任公司)

Seungyeon Kim, Ankit Singh Rawat, Manzil Zaheer, Sadeep Jayasumana, Veeranjaneyulu Sadhanala, Wittawat Jitkrittum, Aditya Krishna Menon, Rob Fergus, Sanjiv Kumar

AI总结:

EmbedDistill 提出一种基于查询-文档相对几何关系的知识蒸馏方法,通过嵌入匹配和查询生成对齐师生表示,并设计非对称学生架构,在 MSMARCO 上以 1/10 规模保留教师模型 95-97% 的性能。

摘要:

大型神经模型(如 Transformer)在信息检索(IR)中取得了最先进的性能。本文旨在改进蒸馏方法,为此类模型在实际中的资源高效部署铺平道路。受我们对 IR 模型师生泛化差距的理论分析启发,我们提出了一种新颖的蒸馏方法,该方法利用大型教师模型学习到的查询与文档之间的相对几何关系。与现有的基于教师分数的蒸馏方法不同,我们提出的方法采用嵌入匹配任务来提供更强的信号,以对齐教师模型和学生模型的表示。此外,它还利用查询生成来探索数据流形,以减少在训练数据稀疏的区域中学生模型与教师模型之间的差异。进一步地,我们的分析还推动了新颖的非对称学生模型架构的设计,在不增加在线推理成本的情况下实现更好的嵌入对齐。在 MSMARCO 等标准基准上,我们表明我们的方法成功地从双编码器(DE)和交叉编码器(CE)教师模型蒸馏出 1/10 规模的非对称学生模型,并能保留教师模型 95-97% 的性能。

英文摘要:

Large neural models (such as Transformers) achieve state-of-the-art performance for information retrieval (IR). In this paper, we aim to improve distillation methods that pave the way for the resource-efficient deployment of such models in practice. Inspired by our theoretical analysis of the teacher-student generalization gap for IR models, we propose a novel distillation approach that leverages the relative geometry among queries and documents learned by the large teacher model. Unlike existing teacher score-based distillation methods, our proposed approach employs embedding matching tasks to provide a stronger signal to align the representations of the teacher and student models. In addition, it utilizes query generation to explore the data manifold to reduce the discrepancies between the student and the teacher where training data is sparse. Furthermore, our analysis also motivates novel asymmetric architectures for student models which realizes better embedding alignment without increasing online inference cost. On standard benchmarks like MSMARCO, we show that our approach successfully distills from both dual-encoder (DE) and cross-encoder (CE) teacher models to 1/10th size asymmetric students that can retain 95-97% of the teacher performance.

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

↑