Greenformers: Improving Computation and Memory Efficiency in Transformer Models via Low-Rank Approximation
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
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
38 more
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2018Deep contextualized word representationscited by 2,285
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Reformer: The Efficient Transformercited by 1,658
- 2020Rethinking Attention with Performerscited by 1,584
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
- 2017Mixed Precision Trainingcited by 1,135
- 2016Pruning Filters for Efficient ConvNetscited by 1,129
- 2020Efficient Transformers: A Surveycited by 784
- 2018Image Transformercited by 770
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
- 2015Listen, Attend and Spellcited by 542
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
- 2016Google's Multilingual Neural Machine Translation System: Enabling Zero-Shot Translationcited by 467
- 2018Efficient Attention: Attention with Linear Complexitiescited by 366
- 2017AISHELL-1: An Open-Source Mandarin Speech Corpus and A Speech Recognition Baselinecited by 364
- 2016Joint CTC-Attention based End-to-End Speech Recognition using Multi-task Learningcited by 254
- 2020Sparse Sinkhorn Attentioncited by 250
- 2013Predicting Parameters in Deep Learningcited by 223
- 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 175
- 2019Show Your Work: Improved Reporting of Experimental Resultscited by 164
- 2019Blockwise Self-Attention for Long Document Understandingcited by 158
- 2018Learning to Quantize Deep Networks by Optimizing Quantization Intervals with Task Losscited by 157
- 2020TernaryBERT: Distillation-aware Ultra-low Bit BERTcited by 145
- 2018Set Transformer: A Framework for Attention-based Permutation-Invariant Neural Networkscited by 129
- 2020IndoNLU: Benchmark and Resources for Evaluating Indonesian Natural Language Understandingcited by 108
- 2020CrossNER: Evaluating Cross-Domain Named Entity Recognitioncited by 102
- 2021IndoNLG: Benchmark and Resources for Evaluating Indonesian Natural Language Generationcited by 57
- 2021Are Multilingual Models Effective in Code-Switching?cited by 56
50 most cited of 64 All 64 (JSON)
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 1; 2024: 1; 2025: 1.
5 papers.
- 2022One Country, 700+ Languages: NLP Challenges for Underrepresented Languages and Dialects in Indonesiacited by 65
- 2021Greenformer: Factorization Toolkit for Efficient Deep Neural Networkscited by 7
- 2025Compression Barriers for Autoregressive Transformerscited by 5
- 2023Cross-Lingual Cross-Age Group Adaptation for Low-Resource Elderly Speech Emotion Recognitioncited by 1
- 2024SPA: Towards A Computational Friendly Cloud-Base and On-Devices Collaboration Seq2seq Personalized Generation with Casual Inferencecited by 0
- 2025Compression Barriers for Autoregressive Transformers21 Feb 2025
- 2024SPA: Towards A Computational Friendly Cloud-Base and On-Devices Collaboration Seq2seq Personalized Generation with Casual Inference11 Mar 2024
- 2023Cross-Lingual Cross-Age Group Adaptation for Low-Resource Elderly Speech Emotion Recognition26 Jun 2023
- 2022One Country, 700+ Languages: NLP Challenges for Underrepresented Languages and Dialects in Indonesia24 Mar 2022
- 2021Greenformer: Factorization Toolkit for Efficient Deep Neural Networks14 Sep 2021