Improving Efficient Neural Ranking Models with Cross-Architecture Knowledge Distillation

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

290 citations recorded by the source corpus.

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 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 their effectiveness without compromising their efficiency. To benefit the community, we publish the costly teacher-score training files in a ready-to-use package.

Subfields: Artificial Intelligence, Information Retrieval & Search, Efficiency & Compression

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Jimmy J. Lin
  2. Sebastian Riedel
  3. Ji-rong Wen
  4. Wayne Xin Zhao
  5. Sebastian Hofstätter
  6. Wen-tau Yih
  7. Allan Hanbury
  8. Jing Liu

In Information Retrieval & Search

  1. Jimmy J. Lin
  2. Sheng-Chieh Lin
  3. Jheng-Hong Yang
  4. Sebastian Hofstätter
  5. Omar Khattab
  6. Allan Hanbury
  7. Sebastian Riedel
  8. Jing Liu

In Efficiency & Compression

  1. Jimmy J. Lin
  2. Sheng-Chieh Lin
  3. Jheng-Hong Yang
  4. Allan Hanbury
  5. Sebastian Hofstätter
  6. Mete Sertkan
  7. Rodrigo Nogueira
  8. Matei A. Zaharia

Citations in the corpus