paper-with-me

Papers

Improving Efficient Neural Ranking Models with Cross-Architecture Knowledge Distillation

2020-10-06 · Sebastian Hofstätter, Sophia Althammer, Michael Schröder, Mete Sertkan, Allan Hanbury

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.

📄 PDF Abstract BibTeX arXiv:2010.02666

Code (1)

sebastian-hofstaetter/neural-ranking-kd 공식 구현 pytorch

Tasks

Knowledge DistillationPassage RankingRecommendation SystemsRe-RankingRetrieval

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Knowledge Distillation A very simple way to improve the performance of almost any machine learning algorithm is to train many different models on the same data and then to average their predictions.…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
WordPiece 설명 없음
Multi-Head Attention 설명 없음
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.

Similar Papers 제목 키워드 기반

An Empirical Study of Uniform-Architecture Knowledge Distillation in Document Ranking

2023-02-08 · Xubo Qin, Xiyuan Liu, Xiongfeng Zheng, Jie Liu 외

Although BERT-based ranking models have been commonly used in commercial search engines, they are usually time-consuming for online ranking tasks. Knowledge distillation, which aims at learning a smaller model with compa…

Document RankingKnowledge Distillation

Teacher-Student Architecture for Knowledge Distillation: A Survey

2023-08-08 · Chengming Hu, Xuan Li, Dan Liu, Haolun Wu 외

Although Deep neural networks (DNNs) have shown a strong capacity to solve large-scale problems in many areas, such DNNs are hard to be deployed in real-world systems due to their voluminous parameters. To tackle this is…

Knowledge DistillationregressionSurvey

RD-NAS: Enhancing One-shot Supernet Ranking Ability via Ranking Distillation from Zero-cost Proxies

2023-01-24 · Peijie Dong, Xin Niu, Lujun Li, Zhiliang Tian 외

Neural architecture search (NAS) has made tremendous progress in the automatic design of effective neural network structures but suffers from a heavy computational burden. One-shot NAS significantly alleviates the burden…

Computational EfficiencyNeural Architecture Search

RankDistil: Knowledge Distillation for Ranking

2021-04-13 · AISTATS 2021 4 · Sashank J. Reddi, Rama Kumar Pasumarthi, Aditya Krishna Menon, Ankit Singh Rawat Felix Yu 외

Knowledge distillation is an approach to improve the performance of a student model by using the knowledge of a complex teacher.Despite its success in several deep learning applications, the study of distillation is most…

Document RankingKnowledge Distillation

How to Make Cross Encoder a Good Teacher for Efficient Image-Text Retrieval?

2024-07-10 · CVPR 2024 1 · Yuxin Chen, Zongyang Ma, Ziqi Zhang, Zhongang Qi 외

Dominant dual-encoder models enable efficient image-text retrieval but suffer from limited accuracy while the cross-encoder models offer higher accuracy at the expense of efficiency. Distilling cross-modality matching kn…

Contrastive LearningImage-text RetrievalRetrievalText Retrieval+2