mlsanityData to 7 Oct 2026

Greenformers: Improving Computation and Memory Efficiency in Transformer Models via Low-Rank Approximation

arXiv 2108.10808 ↗First posted 24 Aug 2021cs.LG cs.AI cs.CCcited by 5

Not on the map. Why?

Abstract (arXiv)

In this thesis, we introduce Greenformers, a collection of model efficiency methods to improve the model efficiency of the recently renowned transformer models with a low-rank approximation approach. The development trend of deep learning models tends to results in a more complex and larger model. Although it leads to a better and more accurate prediction, the resulting model becomes even more costly, as it requires weeks of training with a huge amount of GPU resources. Particularly, the size and computational cost of transformer-based models have increased tremendously since its first debut in 2017 from ~100 million parameters up to ~1.6 trillion parameters in early 2021. This computationally hungry model also incurs a substantial cost to the environment and even reaches an alarming level of carbon footprint. Some of these models are so massive that it is even impossible to run the model without a GPU cluster. Greenformers improve the model efficiency of transformer models by applying low-rank approximation approaches. Specifically, we propose a low-rank factorization approach to improve the efficiency of the transformer model called Low-Rank Transformer. We further compare our model with an existing low-rank factorization approach called Linformer. Based on our analysis, the Low-Rank Transformer model is suitable for improving both the time and memory efficiency in processing short-sequence (<= 512) input data, while the Linformer model is suitable for improving the efficiency in processing long-sequence input data (>= 512). We also show that Low-Rank Transformer is more suitable for on-device deployment, as it significantly reduces the model size. Additionally, we estimate that applying LRT to the existing BERT-base model can significantly reduce the computational, economical, and environmental costs for developing such models by more than 30% of its original costs.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 64 of its 125 references that are in the map. First posted on arXiv 24 Aug 2021.

Builds on

64 of 125 references.

References · 64

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  6. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  7. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
  8. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
  9. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  10. 2020Longformer: The Long-Document Transformercited by 3,362
  11. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  12. 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
38 more
  1. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  2. 2018Deep contextualized word representationscited by 2,285
  3. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
  4. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
  5. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  6. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
  7. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  8. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  9. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  10. 2020Reformer: The Efficient Transformercited by 1,658
  11. 2020Rethinking Attention with Performerscited by 1,584
  12. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
  13. 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
  14. 2017Mixed Precision Trainingcited by 1,135
  15. 2016Pruning Filters for Efficient ConvNetscited by 1,129
  16. 2020Efficient Transformers: A Surveycited by 784
  17. 2018Image Transformercited by 770
  18. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
  19. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
  20. 2015Listen, Attend and Spellcited by 542
  21. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
  22. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
  23. 2016Google's Multilingual Neural Machine Translation System: Enabling Zero-Shot Translationcited by 467
  24. 2018Efficient Attention: Attention with Linear Complexitiescited by 366
  25. 2017AISHELL-1: An Open-Source Mandarin Speech Corpus and A Speech Recognition Baselinecited by 364
  26. 2016Joint CTC-Attention based End-to-End Speech Recognition using Multi-task Learningcited by 254
  27. 2020Sparse Sinkhorn Attentioncited by 250
  28. 2013Predicting Parameters in Deep Learningcited by 223
  29. 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 175
  30. 2019Show Your Work: Improved Reporting of Experimental Resultscited by 164
  31. 2019Blockwise Self-Attention for Long Document Understandingcited by 158
  32. 2018Learning to Quantize Deep Networks by Optimizing Quantization Intervals with Task Losscited by 157
  33. 2020TernaryBERT: Distillation-aware Ultra-low Bit BERTcited by 145
  34. 2018Set Transformer: A Framework for Attention-based Permutation-Invariant Neural Networkscited by 129
  35. 2020IndoNLU: Benchmark and Resources for Evaluating Indonesian Natural Language Understandingcited by 108
  36. 2020CrossNER: Evaluating Cross-Domain Named Entity Recognitioncited by 102
  37. 2021IndoNLG: Benchmark and Resources for Evaluating Indonesian Natural Language Generationcited by 57
  38. 2021Are Multilingual Models Effective in Code-Switching?cited by 56

50 most cited of 64 All 64 (JSON)

Built on by

Cited by year

Citing papers per year: 2021: 1; 2022: 1; 2023: 1; 2024: 1; 2025: 1.

5 papers.