DEED: Dynamic Early Exit on Decoder for Accelerating Encoder-Decoder Transformer Models
On the map: Efficient LLM inference and serving → Early exit and edge inference
Abstract (arXiv)
Encoder-decoder transformer models have achieved great success on various vision-language (VL) tasks, but they suffer from high inference latency. Typically, the decoder takes up most of the latency because of the auto-regressive decoding. To accelerate the inference, we propose an approach of performing Dynamic Early Exit on Decoder (DEED). We build a multi-exit encoder-decoder transformer model which is trained with deep supervision so that each of its decoder layers is capable of generating plausible predictions. In addition, we leverage simple yet practical techniques, including shared generation head and adaptation modules, to keep accuracy when exiting at shallow decoder layers. Based on the multi-exit model, we perform step-level dynamic early exit during inference, where the model may decide to use fewer decoder layers based on its confidence of the current layer at each individual decoding step. Considering different number of decoder layers may be used at different decoding steps, we compute deeper-layer decoder features of previous decoding steps just-in-time, which ensures the features from different decoding steps are semantically aligned. We evaluate our approach with two state-of-the-art encoder-decoder transformer models on various VL tasks. We show our approach can reduce overall inference latency by 30%-60% with comparable or even higher accuracy compared to baselines.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Placed in Early exit and edge inference, one of 12 directions in Efficient LLM inference and serving. Builds on 46 of its 67 references that are in the map. First posted on arXiv 15 Nov 2023.
Builds on
46 of 67 references.
Closest ancestors · 1
Same direction, newest first
Other references · 45
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2016Making the V in VQA Matter: Elevating the Role of Image Understanding in Visual Question Answeringcited by 2,516
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
- 2019Towards VQA Models That Can Readcited by 1,718
- 2020DocVQA: A Dataset for VQA on Document Imagescited by 1,317
- 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,292
33 more
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
- 2016Modeling Context in Referring Expressionscited by 1,063
- 2019When Does Label Smoothing Help?cited by 988
- 2015Generation and Comprehension of Unambiguous Object Descriptionscited by 904
- 2019Are Sixteen Heads Really Better than One?cited by 816
- 2022PaLI: A Jointly-Scaled Multilingual Language-Image Modelcited by 766
- 2022OFA: Unifying Architectures, Tasks, and Modalities Through a Simple Sequence-to-Sequence Learning Frameworkcited by 745
- 2017BranchyNet: Fast Inference via Early Exiting from Deep Neural Networkscited by 596
- 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 535
- 2019Unified Vision-Language Pre-Training for Image Captioning and VQAcited by 494
- 2017Non-Autoregressive Neural Machine Translationcited by 463
- 2022Unified-IO: A Unified Model for Vision, Language, and Multi-Modal Taskscited by 421
- 2014Deeply-Supervised Netscited by 367
- 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 332
- 2019Scene Text Visual Question Answeringcited by 331
- 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 273
- 2021DocFormer: End-to-End Transformer for Document Understandingcited by 256
- 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 251
- 2019Depth-Adaptive Transformercited by 236
- 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 226
- 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 185
- 2021Going Full-TILT Boogie on Document Understanding with Text-Image-Layout Transformercited by 134
- 2020The Right Tool for the Job: Matching Model and Instance Complexitiescited by 126
- 2020Glancing Transformer for Non-Autoregressive Neural Machine Translationcited by 103
- 2023Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decodingcited by 80
- 2020Length-Adaptive Transformer: Train Once with Length Drop, Use Anytime with Searchcited by 76
- 2021LaTr: Layout-Aware Transformer for Scene-Text VQAcited by 72
- 2022Knowledge Distillation via the Target-aware Transformercited by 70
- 2019Rosetta: Large scale system for text detection and recognition in imagescited by 69
- 2023DocFormerv2: Local Features for Document Understandingcited by 46
- 2016ReasoNet: Learning to Stop Reading in Machine Comprehensioncited by 21
- 2021RomeBERT: Robust Training of Multi-Exit BERTcited by 19
- 2022E-LANG: Energy-Based Joint Inferencing of Super and Swift Language Modelscited by 8
Built on by
Citing papers per year: 2023: 1; 2024: 3; 2025: 3.
7 papers.
- 2024Relaxed Recursive Transformers: Effective Parameter Sharing with Layer-wise LoRAcited by 78
- 2023EE-LLM: Large-Scale Training and Inference of Early-Exit Large Language Models with 3D Parallelismcited by 69
- 2024FFN-SkipLLM: A Hidden Gem for Autoregressive Decoding with Adaptive Feed Forward Skippingcited by 23
- 2024Synthesize Step-by-Step: Tools, Templates and LLMs as Data Generators for Reasoning-Based Chart VQAcited by 19
- 2025Dynamic Rebatching for Efficient Early-Exit Inference with DREXcited by 2
- 2025M2R2: Mixture of Multi-Rate Residuals for Efficient Transformer Inferencecited by 1
- 2025HatePrototypes: Interpretable and Transferable Representations for Implicit and Explicit Hate Speech Detectioncited by 0
- 2025Dynamic Rebatching for Efficient Early-Exit Inference with DREX17 Dec 2025
- 2025HatePrototypes: Interpretable and Transferable Representations for Implicit and Explicit Hate Speech Detection9 Nov 2025
- 2025M2R2: Mixture of Multi-Rate Residuals for Efficient Transformer Inference4 Feb 2025
- 2024Relaxed Recursive Transformers: Effective Parameter Sharing with Layer-wise LoRA28 Oct 2024
- 2024FFN-SkipLLM: A Hidden Gem for Autoregressive Decoding with Adaptive Feed Forward Skipping5 Apr 2024
- 2024Synthesize Step-by-Step: Tools, Templates and LLMs as Data Generators for Reasoning-Based Chart VQA25 Mar 2024
- 2023EE-LLM: Large-Scale Training and Inference of Early-Exit Large Language Models with 3D Parallelism8 Dec 2023
Similar, not cited
Close in wording, no citation either way
- 2022You Need Multiple Exiting: Dynamic Early Exiting for Accelerating Unified Vision Language Model
- 2025Return of the Encoder: Maximizing Parameter Efficiency for SLMs
- 2024Early Exit Is a Natural Capability in Transformer-based Models: An Empirical Study on Early Exit without Joint Optimization
- 2025FREE: Fast and Robust Vision Language Models with Early Exits
- 2026The Diminishing Returns of Early-Exit Decoding in Modern LLMs
- 2025SpecVLM: Fast Speculative Decoding in Vision-Language Models
- 2026Do Visual Grounding Decoders Need Feed-Forward Networks? A Controlled Study over Frozen Vision-Language Features
- 2026Shallow Prefill, Deep Decoding: Efficient Long-Context Inference via Layer-Asymmetric KV Visibility