CLAIApr 22, 2019

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

arXiv:1905.01969v4316 citations
Originality Highly original
AI Analysis

This addresses the problem of efficient and accurate pairwise sequence comparison for NLP practitioners, offering a practical solution that balances performance and computational cost.

The paper tackles the trade-off between accuracy and speed in multi-sentence scoring by introducing Poly-encoders, a transformer architecture that uses global self-attention features, achieving state-of-the-art results on three tasks with improved speed over Cross-encoders and accuracy over Bi-encoders.

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.

Code Implementations7 repos

Data from Papers with Code (CC-BY-SA-4.0)

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes