mlsanityData to 14 Oct 2026

Embedding Recycling for Language Models

arXiv 2207.04993 ↗First posted 11 Jul 2022cs.CLcited by 5

Not on the map. Why?

Abstract (arXiv)

Real-world applications of neural language models often involve running many different models over the same corpus. The high computational cost of these runs has led to interest in techniques that can reuse the contextualized embeddings produced in previous runs to speed training and inference of future ones. We refer to this approach as embedding recycling (ER). While multiple ER techniques have been proposed, their practical effectiveness is still unknown because existing evaluations consider very few models and do not adequately account for overhead costs. We perform an extensive evaluation of ER across eight different models (17 to 900 million parameters) and fourteen tasks in English. We show how a simple ER technique that caches activations from an intermediate layer of a pretrained model, and learns task-specific adapters on the later layers, is broadly effective. For the best-performing baseline in our experiments (DeBERTa-v2 XL), adding a precomputed cache results in a >90% speedup during training and 87-91% speedup for inference, with negligible impact on accuracy. Our analysis reveals important areas of future work.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 52 of its 67 references that are in the map. First posted on arXiv 11 Jul 2022.

Builds on

52 of 67 references.

References · 52

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  7. 2020Scaling Laws for Neural Language Modelscited by 6,586
  8. 2016Layer Normalizationcited by 5,669
  9. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  10. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  11. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  12. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
38 more
  1. 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
  2. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  3. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  4. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
  5. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,181
  6. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
  7. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  8. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
  9. 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,414
  10. 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,254
  11. 2020A Primer in BERTology: What we know about how BERT workscited by 815
  12. 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 486
  13. 2017Supervised Learning of Universal Sentence Representations from Natural Language Inference Datacited by 432
  14. 2020SPECTER: Document-level Representation Learning using Citation-informed Transformerscited by 430
  15. 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 383
  16. 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 332
  17. 2018Insights on representational similarity in neural networks with canonical correlationcited by 324
  18. 2018Multi-Task Identification of Entities, Relations, and Coreference for Scientific Knowledge Graph Constructioncited by 322
  19. 2019Revealing the Dark Secrets of BERTcited by 301
  20. 2020MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformerscited by 245
  21. 2022Memorizing Transformerscited by 226
  22. 2020AdapterDrop: On the Efficiency of Adapters in Transformerscited by 224
  23. 2022LinkBERT: Pretraining Language Models with Document Linkscited by 211
  24. 2019Assessing BERT's Syntactic Abilitiescited by 192
  25. 2022Delta Tuning: A Comprehensive Study of Parameter Efficient Methods for Pre-trained Language Modelscited by 180
  26. 2019Structural Scaffolds for Citation Intent Classification in Scientific Publicationscited by 130
  27. 2020On the Effect of Dropping Layers of Pre-trained Transformer Modelscited by 118
  28. 2022Measuring the Carbon Intensity of AI in Cloud Instancescited by 111
  29. 2019What Would Elsa Do? Freezing Layers During Transformer Fine-Tuningcited by 89
  30. 2016Improving Neural Language Models with a Continuous Cachecited by 82
  31. 2019Does BERT Make Any Sense? Interpretable Word Sense Disambiguation with Contextualized Embeddingscited by 56
  32. 2017FreezeOut: Accelerate Training by Progressively Freezing Layerscited by 54
  33. 2021AutoFreeze: Automatically Freezing Model Blocks to Accelerate Fine-tuningcited by 48
  34. 2022PERFECT: Prompt-free and Efficient Few-shot Learning with Language Modelscited by 40
  35. 2020Do Transformers Need Deep Long-Range Memorycited by 24
  36. 2021PipeTransformer: Automated Elastic Pipelining for Distributed Training of Transformerscited by 23
  37. 2020Accelerating Deep Learning Inference via Freezingcited by 10
  38. 2020General Purpose Text Embeddings from Pre-trained Language Models for Scalable Inferencecited by 9

50 most cited of 52 All 52 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 3; 2024: 0; 2025: 0; 2026: 2.

5 papers.