Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

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

About

The use of deep pre-trained bidirectional 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 three existing 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.

Samuel Humeau, Kurt Shuster, Marie-Anne Lachaux, Jason Weston• 2019

Related benchmarks

TaskDatasetResultRank
Response SelectionDSTC7 Track 1 (test)
Recall@1 (Top 100)91
27
Response SelectionConvAI2 (dev)
R@1/2090
25
Response SelectionUbuntu v2 (test)
MRR91.5
20
Response SelectionConvAI2 (test)
R@2086.8
16
Retrieval Question AnsweringSQuAD
MRR64.6
14
Multi-turn Response SelectionUbuntu Dialogue Corpus V2 (test)
R10@10.828
11
Open-domain Dialogue EvaluationFree run Mechanical Turk 1 (initial data collection run)
Overall Score0.419
10
Dialogue EvaluationIce-breaker human evaluation 1.0 (test)
Overall Score0.376
10
Open-domain Dialogue EvaluationFree Run 2 1.0 (secondary data collection run)
Overall Quality Score0.344
10
Retrieval Question AnsweringNews in-domain
MRR28.3
10
Showing 10 of 27 rows

Other info

Follow for update