DiPair: Fast and Accurate Distillation for Trillion-Scale Text Matching and Pair Modeling
Not on the map. Why?
Abstract (arXiv)
Pre-trained models like BERT (Devlin et al., 2018) have dominated NLP / IR applications such as single sentence classification, text pair classification, and question answering. However, deploying these models in real systems is highly non-trivial due to their exorbitant computational costs. A common remedy to this is knowledge distillation (Hinton et al., 2015), leading to faster inference. However -- as we show here -- existing works are not optimized for dealing with pairs (or tuples) of texts. Consequently, they are either not scalable or demonstrate subpar performance. In this work, we propose DiPair -- a novel framework for distilling fast and accurate models on text pair tasks. Coupled with an end-to-end training strategy, DiPair is both highly scalable and offers improved quality-speed tradeoffs. Empirical studies conducted on both academic and real-world e-commerce benchmarks demonstrate the efficacy of the proposed approach with speedups of over 350x and minimal quality drop relative to the cross-attention teacher BERT model.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). First posted on arXiv 7 Oct 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 6; 2022: 6; 2023: 1; 2024: 1.
14 papers.
Sort:
By area:
- 2021Condenser: a Pre-training Architecture for Dense Retrievalcited by 162
- 2022FiD-Light: Efficient and Effective Retrieval-Augmented Text Generationcited by 63
- 2022Multi-View Document Representation Learning for Open-Domain Dense Retrievalcited by 41
- 2021Trans-Encoder: Unsupervised sentence-pair modelling through self- and mutual-distillationscited by 20
- 2021Will this Question be Answered? Question Filtering via Answer Model Distillation for Efficient Question Answeringcited by 19
- 2021Improving Document Representations by Generating Pseudo Query Embeddings for Dense Retrievalcited by 14
- 2022Efficient Nearest Neighbor Search for Cross-Encoder Models using Matrix Factorizationcited by 10
- 2021SDR: Efficient Neural Re-ranking using Succinct Document Representationcited by 7
- 2022Improving Bilingual Lexicon Induction with Cross-Encoder Rerankingcited by 7
- 2024EAVE: Efficient Product Attribute Value Extraction via Lightweight Sparse-layer Interactioncited by 4
- 2021VIRT: Improving Representation-based Models for Text Matching through Virtual Interactioncited by 3
- 2022Once is Enough: A Light-Weight Cross-Attention for Fast Sentence Pair Modelingcited by 2
2 more
- 2024EAVE: Efficient Product Attribute Value Extraction via Lightweight Sparse-layer Interaction10 Jun 2024
- 2023Joint Representations of Text and Knowledge Graphs for Retrieval and Evaluation28 Feb 2023
- 2022Improving Bilingual Lexicon Induction with Cross-Encoder Reranking30 Oct 2022
- 2022Efficient Nearest Neighbor Search for Cross-Encoder Models using Matrix Factorization23 Oct 2022
- 2022Once is Enough: A Light-Weight Cross-Attention for Fast Sentence Pair Modeling11 Oct 2022
- 2022FiD-Light: Efficient and Effective Retrieval-Augmented Text Generation28 Sep 2022
- 2022Evaluation of Semantic Answer Similarity Metrics25 Jun 2022
- 2022Multi-View Document Representation Learning for Open-Domain Dense Retrieval16 Mar 2022
- 2021VIRT: Improving Representation-based Models for Text Matching through Virtual Interaction8 Dec 2021
- 2021SDR: Efficient Neural Re-ranking using Succinct Document Representation3 Oct 2021
- 2021Trans-Encoder: Unsupervised sentence-pair modelling through self- and mutual-distillations27 Sep 2021
- 2021Will this Question be Answered? Question Filtering via Answer Model Distillation for Efficient Question Answering14 Sep 2021
- 2021Condenser: a Pre-training Architecture for Dense Retrievalcited by 162
- 2022Multi-View Document Representation Learning for Open-Domain Dense Retrievalcited by 41
- 2021Trans-Encoder: Unsupervised sentence-pair modelling through self- and mutual-distillationscited by 20
- 2021Will this Question be Answered? Question Filtering via Answer Model Distillation for Efficient Question Answeringcited by 19
- 2021Improving Document Representations by Generating Pseudo Query Embeddings for Dense Retrievalcited by 14
- 2022Efficient Nearest Neighbor Search for Cross-Encoder Models using Matrix Factorizationcited by 10
- 2021SDR: Efficient Neural Re-ranking using Succinct Document Representationcited by 7
- 2022Improving Bilingual Lexicon Induction with Cross-Encoder Rerankingcited by 7
- 2024EAVE: Efficient Product Attribute Value Extraction via Lightweight Sparse-layer Interactioncited by 4
- 2021VIRT: Improving Representation-based Models for Text Matching through Virtual Interactioncited by 3
- 2022Once is Enough: A Light-Weight Cross-Attention for Fast Sentence Pair Modelingcited by 2
- 2022Evaluation of Semantic Answer Similarity Metricscited by 1
12 most cited of 13 All 13 (JSON)
- 2024EAVE: Efficient Product Attribute Value Extraction via Lightweight Sparse-layer Interaction10 Jun 2024
- 2023Joint Representations of Text and Knowledge Graphs for Retrieval and Evaluation28 Feb 2023
- 2022Improving Bilingual Lexicon Induction with Cross-Encoder Reranking30 Oct 2022
- 2022Efficient Nearest Neighbor Search for Cross-Encoder Models using Matrix Factorization23 Oct 2022
- 2022Once is Enough: A Light-Weight Cross-Attention for Fast Sentence Pair Modeling11 Oct 2022
- 2022Evaluation of Semantic Answer Similarity Metrics25 Jun 2022
- 2022Multi-View Document Representation Learning for Open-Domain Dense Retrieval16 Mar 2022
- 2021VIRT: Improving Representation-based Models for Text Matching through Virtual Interaction8 Dec 2021
- 2021SDR: Efficient Neural Re-ranking using Succinct Document Representation3 Oct 2021
- 2021Trans-Encoder: Unsupervised sentence-pair modelling through self- and mutual-distillations27 Sep 2021
- 2021Will this Question be Answered? Question Filtering via Answer Model Distillation for Efficient Question Answering14 Sep 2021
- 2021Improving Document Representations by Generating Pseudo Query Embeddings for Dense Retrieval8 May 2021
12 newest of 13 All 13 (JSON)