mlsanityData to 7 Oct 2026

Latency Adjustable Transformer Encoder for Language Understanding

arXiv 2201.03327 ↗First posted 10 Jan 2022cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

Adjusting the latency, power, and accuracy of natural language understanding models is a desirable objective of an efficient architecture. This paper proposes an efficient Transformer architecture that adjusts the inference computational cost adaptively with a desired inference latency speedup. In fine-tuning phase, the proposed method detects less important hidden sequence elements (word-vectors) and eliminates them in each encoder layer using a proposed Attention Context Contribution (ACC) metric. After the fine-tuning phase, with the novel offline-tuning property, the inference latency of the model can be adjusted in a wide range of inference speedup selections without any further training. Extensive experiments reveal that most word-vectors in higher Transformer layers contribute less to subsequent layers, allowing their removal to improve inference latency. Experimental results on various language understanding, text generation, and instruction tuning tasks and benchmarks demonstrate the approach's effectiveness across diverse datasets, with minimal impact on the input's global context. The technique improves Time-to-First-Token (TTFT) of Llama3 by up to 2.9x, with minor performance drop. The suggested approach posits that in Large Language Models (LLMs), although the complete network is necessary for training, it can be truncated during the fine-tuning phase.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 51 of its 116 references that are in the map. First posted on arXiv 10 Jan 2022.

Builds on

51 of 116 references.

References · 51

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  7. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  8. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  9. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  10. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  11. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  12. 2016Pointer Sentinel Mixture Modelscited by 2,992
38 more
  1. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  2. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  3. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  4. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  5. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  6. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  7. 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
  8. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
  9. 2021Perceiver: General Perception with Iterative Attentioncited by 1,089
  10. 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
  11. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
  12. 2018Neural Network Acceptability Judgmentscited by 952
  13. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
  14. 2019Are Sixteen Heads Really Better than One?cited by 803
  15. 2017Learning Sparse Neural Networks through L0 Regularizationcited by 571
  16. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
  17. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
  18. 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 434
  19. 2021Random Feature Attentioncited by 350
  20. 2015LSTM: A Search Space Odysseycited by 315
  21. 2013One Billion Word Benchmark for Measuring Progress in Statistical Language Modelingcited by 302
  22. 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 224
  23. 2019Model Pruning Enables Efficient Federated Learning on Edge Devicescited by 219
  24. 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 184
  25. 2020Funnel-Transformer: Filtering out Sequential Redundancy for Efficient Language Processingcited by 161
  26. 2021Learned Token Pruning for Transformerscited by 138
  27. 2020On the Effect of Dropping Layers of Pre-trained Transformer Modelscited by 118
  28. 2020Accelerating Training of Transformer-Based Language Models with Progressive Layer Droppingcited by 93
  29. 2020O(n) Connections are Expressive Enough: Universal Approximability of Sparse Transformerscited by 82
  30. 2020Compression of Deep Learning Models for Text: A Surveycited by 64
  31. 2020Masked Language Modeling for Proteins via Linearly Scalable Long-Context Transformerscited by 49
  32. 2019Reweighted Proximal Pruning for Large-Scale Language Representationcited by 29
  33. 2020DAIS: Automatic Channel Pruning via Differentiable Annealing Indicator Searchcited by 21
  34. 2020EDropout: Energy-Based Dropout and Pruning of Deep Neural Networkscited by 20
  35. 2021Network Pruning using Adaptive Exemplar Filterscited by 16
  36. 2021Elbert: Fast Albert with Confidence-Window Based Early Exitcited by 14
  37. 2018Compact and Computationally Efficient Representation of Deep Neural Networkscited by 11
  38. 2019Sub-Architecture Ensemble Pruning in Neural Architecture Searchcited by 7

50 most cited of 51 All 51 (JSON)

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Eliciting Fine-Tuned Transformer Capabilities via Inference-Time Techniques
  2. 2023Attention Alignment and Flexible Positional Embeddings Improve Transformer Length Extrapolation
  3. 2025Efficient Prompt Compression with Evaluator Heads for Long-Context Transformer Inference
  4. 2024Efficient Heterogeneous Large Language Model Decoding with Model-Attention Disaggregation
  5. 2024AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformers
  6. 2024Transformer Layer Injection: A Novel Approach for Efficient Upscaling of Large Language Models
  7. 2024SWIFT:A Scalable lightWeight Infrastructure for Fine-Tuning
  8. 2023Accelerating LLaMA Inference by Enabling Intermediate Layer Decoding via Instruction Tuning with LITE