mlsanityData to 7 Oct 2026

TrimBERT: Tailoring BERT for Trade-offs

arXiv 2202.12411 ↗First posted 24 Feb 2022cs.CLcited by 3

Not on the map. Why?

Abstract (arXiv)

Models based on BERT have been extremely successful in solving a variety of natural language processing (NLP) tasks. Unfortunately, many of these large models require a great deal of computational resources and/or time for pre-training and fine-tuning which limits wider adoptability. While self-attention layers have been well-studied, a strong justification for inclusion of the intermediate layers which follow them remains missing in the literature. In this work, we show that reducing the number of intermediate layers in BERT-Base results in minimal fine-tuning accuracy loss of downstream tasks while significantly decreasing model size and training time. We further mitigate two key bottlenecks, by replacing all softmax operations in the self-attention layers with a computationally simpler alternative and removing half of all layernorm operations. This further decreases the training time while maintaining a high level of fine-tuning accuracy.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 20 of its 21 references that are in the map. First posted on arXiv 24 Feb 2022.

Builds on

20 of 21 references.

References · 20

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2016Layer Normalizationcited by 5,579
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  6. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  7. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  8. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  9. 2018Deep contextualized word representationscited by 2,285
  10. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
  11. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
  12. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
8 more
  1. 2019Are Sixteen Heads Really Better than One?cited by 803
  2. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
  3. 2019Understanding and Improving Layer Normalizationcited by 213
  4. 2019Fixup Initialization: Residual Learning Without Normalizationcited by 194
  5. 2020BERT-of-Theseus: Compressing BERT by Progressive Module Replacingcited by 112
  6. 2019Improving Transformer Models by Reordering their Sublayerscited by 52
  7. 2021Softermax: Hardware/Software Co-Design of an Efficient Softmax for Transformerscited by 52
  8. 2020Normalized Attention Without Probability Cagecited by 19

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 2.

3 papers.