mlsanityData to 7 Oct 2026

TwinBERT: Distilling Knowledge to Twin-Structured BERT Models for Efficient Retrieval

arXiv 2002.06275 ↗First posted 14 Feb 2020cs.IR cs.LGcited by 24

Not on the map. Why?

Abstract (arXiv)

Pre-trained language models like BERT have achieved great success in a wide variety of NLP tasks, while the superior performance comes with high demand in computational resources, which hinders the application in low-latency IR systems. We present TwinBERT model for effective and efficient retrieval, which has twin-structured BERT-like encoders to represent query and document respectively and a crossing layer to combine the embeddings and produce a similarity score. Different from BERT, where the two input sentences are concatenated and encoded together, TwinBERT decouples them during encoding and produces the embeddings for query and document independently, which allows document embeddings to be pre-computed offline and cached in memory. Thereupon, the computation left for run-time is from the query encoding and query-document crossing only. This single change can save large amount of computation time and resources, and therefore significantly improve serving efficiency. Moreover, a few well-designed network layers and training strategies are proposed to further reduce computational cost while at the same time keep the performance as remarkable as BERT model. Lastly, we develop two versions of TwinBERT for retrieval and relevance tasks correspondingly, and both of them achieve close or on-par performance to BERT-Base model. The model was trained following the teacher-student framework and evaluated with data from one of the major search engines. Experimental results showed that the inference time was significantly reduced and was firstly controlled around 20ms on CPUs while at the same time the performance gain from fine-tuned BERT-Base model was mostly retained. Integration of the models into production systems also demonstrated remarkable improvements on relevance metrics with negligible influence on latency.

Key facts. Cited by 24 papers in the map (data through 7 Oct 2026). First posted on arXiv 14 Feb 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 12; 2022: 5; 2023: 2; 2024: 2; 2025: 2; 2026: 1.

24 papers.

Sort:

  1. 2021Efficiently Teaching an Effective Dense Retriever with Balanced Topic Aware Samplingcited by 238
  2. 2022RetroMAE: Pre-Training Retrieval-oriented Language Models Via Masked Auto-Encodercited by 118
  3. 2021mMARCO: A Multilingual Version of the MS MARCO Passage Ranking Datasetcited by 116
  4. 2021Revisiting Adversarial Robustness Distillation: Robust Soft Labels Make Student Bettercited by 77
  5. 2021TextGNN: Improving Text Encoder via Graph Neural Network in Sponsored Searchcited by 54
  6. 2022SimA: Simple Softmax-free Attention for Vision Transformerscited by 32
  7. 2022Introducing Neural Bag of Whole-Words with ColBERTer: Contextualized Late Interactions using Enhanced Reductioncited by 21
  8. 2021V2W-BERT: A Framework for Effective Hierarchical Multiclass Classification of Software Vulnerabilitiescited by 13
  9. 2021Speech Recognition by Simply Fine-tuning BERTcited by 11
  10. 2021SDR: Efficient Neural Re-ranking using Succinct Document Representationcited by 7
  11. 2021Siamese BERT-based Model for Web Search Relevance Ranking Evaluated on a New Czech Datasetcited by 7
  12. 2023LAIT: Efficient Multi-Segment Encoding in Transformers with Layer-Adjustable Interactioncited by 7
12 more
  1. 2021Semi-Siamese Bi-encoder Neural Ranking Model Using Lightweight Fine-Tuningcited by 6
  2. 2021Distilling the Knowledge of Large-scale Generative Models into Retrieval Models for Efficient Open-domain Conversationcited by 4
  3. 2022Establishing Strong Baselines for TripClick Health Retrievalcited by 4
  4. 2023SlowFormer: Universal Adversarial Patch for Attack on Compute and Energy Efficiency of Inference Efficient Vision Transformerscited by 3
  5. 2021Hybrid Encoder: Towards Efficient and Precise Native AdsRecommendation via Hybrid Transformer Encoding Networkscited by 2
  6. 2025Can Cross Encoders Produce Useful Sentence Embeddings?cited by 2
  7. 2021ACE-BERT: Adversarial Cross-modal Enhanced BERT for E-commerce Retrievalcited by 1
  8. 2026Applying Embedding-Based Retrieval to Airbnb Searchcited by 1
  9. 2022Mix-and-Match: Scalable Dialog Response Retrieval using Gaussian Mixture Embeddingscited by 0
  10. 2024Enhancing Multi-field B2B Cloud Solution Matching via Contrastive Pre-trainingcited by 0
  11. 2024Multi-word Term Embeddings Improve Lexical Product Retrievalcited by 0
  12. 2025DyFuLM: An Advanced Multimodal Framework for Sentiment Analysiscited by 0