Poly-encoders: Architectures and Pre-training Strategies for Fast and Accurate Multi-sentence Scoring

By Samuel Humeau, Kurt Shuster, Marie-Anne Lachaux, Jason Aaron Edward Weston. 2019

319 citations recorded by the source corpus.

The use of deep pre-trained transformers has led to remarkable progress in a number of applications (Devlin et al., 2018). For tasks that make pairwise comparisons between sequences, matching a given input with a corresponding label, two approaches are common: Cross-encoders performing full self-attention over the pair and Bi-encoders encoding the pair separately. The former often performs better, but is too slow for practical use. In this work, we develop a new transformer architecture, the Poly-encoder, that learns global rather than token level self-attention features. We perform a detailed comparison of all three approaches, including what pre-training and fine-tuning strategies work best. We show our models achieve state-of-the-art results on four tasks; that Poly-encoders are faster than Cross-encoders and more accurate than Bi-encoders; and that the best results are obtained by pre-training on large datasets similar to the downstream tasks.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Model Architectures

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. Jason Aaron Edward Weston
  2. Luke S. Zettlemoyer
  3. Mohit Bansal
  4. Sebastian Riedel
  5. Jimmy J. Lin
  6. Hannaneh Hajishirzi
  7. Wen-tau Yih
  8. Jianfeng Gao

In Computer Vision and Pattern Recognition

  1. Jason Aaron Edward Weston
  2. Luc Van Gool
  3. Mohit Bansal
  4. Dacheng Tao
  5. Kurt Shuster
  6. Xiaogang Wang
  7. Sebastian Riedel
  8. Luke S. Zettlemoyer

In Model Architectures

  1. Jimmy J. Lin
  2. Andrew Yates
  3. Iryna Gurevych
  4. Zhuyun Dai
  5. Jamie Callan
  6. Sebastian Riedel
  7. Arthur Szlam
  8. Rodrigo Nogueira

Citations in the corpus