mlsanityData to 7 Oct 2026

FastFormers: Highly Efficient Transformer Models for Natural Language Understanding

arXiv 2010.13382 ↗First posted 26 Oct 2020cs.CLcited by 28

Not on the map. Why?

Abstract (arXiv)

Transformer-based models are the state-of-the-art for Natural Language Understanding (NLU) applications. Models are getting bigger and better on various tasks. However, Transformer models remain computationally challenging since they are not efficient at inference-time compared to traditional approaches. In this paper, we present FastFormers, a set of recipes to achieve efficient inference-time performance for Transformer-based models on various NLU tasks. We show how carefully utilizing knowledge distillation, structured pruning and numerical optimization can lead to drastic improvements on inference efficiency. We provide effective recipes that can guide practitioners to choose the best settings for various NLU tasks and pretrained models. Applying the proposed recipes to the SuperGLUE benchmark, we achieve from 9.8x up to 233.9x speed-up compared to out-of-the-box models on CPU. On GPU, we also achieve up to 12.4x speed-up with the presented methods. We show that FastFormers can drastically reduce cost of serving 100 million requests from 4,223 USD to just 18 USD on an Azure F16s_v2 instance. This translates to a sustainable runtime by reducing energy consumption 6.9x - 125.8x according to the metrics used in the SustaiNLP 2020 shared task.

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

Builds on

No reference list yet.

Built on by

Cited by year

Citing papers per year: 2021: 5; 2022: 10; 2023: 5; 2024: 5; 2025: 3.

28 papers.

Sort:

By area:

  1. 2021FNet: Mixing Tokens with Fourier Transformscited by 343
  2. 2024The Unreasonable Ineffectiveness of the Deeper Layerscited by 219
  3. 2021Block Pruning For Faster Transformerscited by 176
  4. 2021Sparse is Enough in Scaling Transformerscited by 86
  5. 2021Prune Once for All: Sparse Pre-Trained Language Modelscited by 66
  6. 2022A Survey on Model Compression and Acceleration for Pretrained Language Modelscited by 45
  7. 2022Visual Attention Methods in Deep Learning: An In-Depth Surveycited by 37
  8. 2023HomoDistil: Homotopic Task-Agnostic Distillation of Pre-trained Transformerscited by 25
  9. 2023AccelTran: A Sparsity-Aware Accelerator for Dynamic Inference with Transformerscited by 24
  10. 2023FineQuant: Unlocking Efficiency with Fine-Grained Weight-Only Quantization for LLMscited by 22
  11. 2021KroneckerBERT: Learning Kronecker Decomposition for Pre-trained Language Models via Knowledge Distillationcited by 19
  12. 2024SLMRec: Distilling Large Language Models into Small for Sequential Recommendationcited by 18
16 more
  1. 2022On the link between conscious function and general intelligence in humans and machinescited by 15
  2. 2022FAR: Fourier Aerial Video Recognitioncited by 10
  3. 2022A Theoretical View on Sparsely Activated Networkscited by 6
  4. 2023MoMA: Momentum Contrastive Learning with Multi-head Attention-based Knowledge Distillation for Histopathology Image Analysiscited by 6
  5. 2024Large Language Models Are Overparameterized Text Encoderscited by 6
  6. 2022SwiftPruner: Reinforced Evolutionary Pruning for Efficient Ad Relevancecited by 4
  7. 2022Investigating Neural Architectures by Synthetic Dataset Designcited by 3
  8. 2022SAMP: A Model Inference Toolkit of Post-Training Quantization for Text Processing via Self-Adaptive Mixed-Precisioncited by 3
  9. 2022Transformer with Memory Replaycited by 2
  10. 2023AttMEMO : Accelerating Transformers with Memoization on Big Memory Systemscited by 2
  11. 2025Input Conditioned Layer Dropping in Speech Foundation Modelscited by 2
  12. 2022Building an Efficiency Pipeline: Commutativity and Cumulativeness of Efficiency Operators for Transformerscited by 1
  13. 2024Confidence Preservation Property in Knowledge Distillation Abstractionscited by 1
  14. 2024On Importance of Pruning and Distillation for Efficient Low Resource NLPcited by 1
  15. 2025On Multilingual Encoder Language Model Compression for Low-Resource Languagescited by 0
  16. 2025Restoring Rhythm: Punctuation Restoration Using Transformer Models for Bangla, A Low-Resource Languagecited by 0