Latency Adjustable Transformer Encoder for Language Understanding
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
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2016Pointer Sentinel Mixture Modelscited by 2,992
38 more
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,089
- 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
- 2018Neural Network Acceptability Judgmentscited by 952
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
- 2019Are Sixteen Heads Really Better than One?cited by 803
- 2017Learning Sparse Neural Networks through L0 Regularizationcited by 571
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
- 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 434
- 2021Random Feature Attentioncited by 350
- 2015LSTM: A Search Space Odysseycited by 315
- 2013One Billion Word Benchmark for Measuring Progress in Statistical Language Modelingcited by 302
- 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 224
- 2019Model Pruning Enables Efficient Federated Learning on Edge Devicescited by 219
- 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 184
- 2020Funnel-Transformer: Filtering out Sequential Redundancy for Efficient Language Processingcited by 161
- 2021Learned Token Pruning for Transformerscited by 138
- 2020On the Effect of Dropping Layers of Pre-trained Transformer Modelscited by 118
- 2020Accelerating Training of Transformer-Based Language Models with Progressive Layer Droppingcited by 93
- 2020O(n) Connections are Expressive Enough: Universal Approximability of Sparse Transformerscited by 82
- 2020Compression of Deep Learning Models for Text: A Surveycited by 64
- 2020Masked Language Modeling for Proteins via Linearly Scalable Long-Context Transformerscited by 49
- 2019Reweighted Proximal Pruning for Large-Scale Language Representationcited by 29
- 2020DAIS: Automatic Channel Pruning via Differentiable Annealing Indicator Searchcited by 21
- 2020EDropout: Energy-Based Dropout and Pruning of Deep Neural Networkscited by 20
- 2021Network Pruning using Adaptive Exemplar Filterscited by 16
- 2021Elbert: Fast Albert with Confidence-Window Based Early Exitcited by 14
- 2018Compact and Computationally Efficient Representation of Deep Neural Networkscited by 11
- 2019Sub-Architecture Ensemble Pruning in Neural Architecture Searchcited by 7
50 most cited of 51 All 51 (JSON)
Built on by
Citing papers per year: 2025: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025Eliciting Fine-Tuned Transformer Capabilities via Inference-Time Techniques
- 2023Attention Alignment and Flexible Positional Embeddings Improve Transformer Length Extrapolation
- 2025Efficient Prompt Compression with Evaluator Heads for Long-Context Transformer Inference
- 2024Efficient Heterogeneous Large Language Model Decoding with Model-Attention Disaggregation
- 2024AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformers
- 2024Transformer Layer Injection: A Novel Approach for Efficient Upscaling of Large Language Models
- 2024SWIFT:A Scalable lightWeight Infrastructure for Fine-Tuning
- 2023Accelerating LLaMA Inference by Enabling Intermediate Layer Decoding via Instruction Tuning with LITE