mlsanityData to 14 Oct 2026

DEED: Dynamic Early Exit on Decoder for Accelerating Encoder-Decoder Transformer Models

arXiv 2311.08623 ↗First posted 15 Nov 2023cs.CV cs.CL cs.LGcited by 7

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

  1. 2021Accelerating BERT Inference for Sequence Labeling via Early-Exit28 May

Other references · 45

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  6. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  7. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  8. 2016Making the V in VQA Matter: Elevating the Role of Image Understanding in Visual Question Answeringcited by 2,516
  9. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
  10. 2019Towards VQA Models That Can Readcited by 1,718
  11. 2020DocVQA: A Dataset for VQA on Document Imagescited by 1,317
  12. 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,292
33 more
  1. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
  2. 2016Modeling Context in Referring Expressionscited by 1,063
  3. 2019When Does Label Smoothing Help?cited by 988
  4. 2015Generation and Comprehension of Unambiguous Object Descriptionscited by 904
  5. 2019Are Sixteen Heads Really Better than One?cited by 816
  6. 2022PaLI: A Jointly-Scaled Multilingual Language-Image Modelcited by 766
  7. 2022OFA: Unifying Architectures, Tasks, and Modalities Through a Simple Sequence-to-Sequence Learning Frameworkcited by 745
  8. 2017BranchyNet: Fast Inference via Early Exiting from Deep Neural Networkscited by 596
  9. 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 535
  10. 2019Unified Vision-Language Pre-Training for Image Captioning and VQAcited by 494
  11. 2017Non-Autoregressive Neural Machine Translationcited by 463
  12. 2022Unified-IO: A Unified Model for Vision, Language, and Multi-Modal Taskscited by 421
  13. 2014Deeply-Supervised Netscited by 367
  14. 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 332
  15. 2019Scene Text Visual Question Answeringcited by 331
  16. 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 273
  17. 2021DocFormer: End-to-End Transformer for Document Understandingcited by 256
  18. 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 251
  19. 2019Depth-Adaptive Transformercited by 236
  20. 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 226
  21. 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 185
  22. 2021Going Full-TILT Boogie on Document Understanding with Text-Image-Layout Transformercited by 134
  23. 2020The Right Tool for the Job: Matching Model and Instance Complexitiescited by 126
  24. 2020Glancing Transformer for Non-Autoregressive Neural Machine Translationcited by 103
  25. 2023Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decodingcited by 80
  26. 2020Length-Adaptive Transformer: Train Once with Length Drop, Use Anytime with Searchcited by 76
  27. 2021LaTr: Layout-Aware Transformer for Scene-Text VQAcited by 72
  28. 2022Knowledge Distillation via the Target-aware Transformercited by 70
  29. 2019Rosetta: Large scale system for text detection and recognition in imagescited by 69
  30. 2023DocFormerv2: Local Features for Document Understandingcited by 46
  31. 2016ReasoNet: Learning to Stop Reading in Machine Comprehensioncited by 21
  32. 2021RomeBERT: Robust Training of Multi-Exit BERTcited by 19
  33. 2022E-LANG: Energy-Based Joint Inferencing of Super and Swift Language Modelscited by 8

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 3; 2025: 3.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2022You Need Multiple Exiting: Dynamic Early Exiting for Accelerating Unified Vision Language Model
  2. 2025Return of the Encoder: Maximizing Parameter Efficiency for SLMs
  3. 2024Early Exit Is a Natural Capability in Transformer-based Models: An Empirical Study on Early Exit without Joint Optimization
  4. 2025FREE: Fast and Robust Vision Language Models with Early Exits
  5. 2026The Diminishing Returns of Early-Exit Decoding in Modern LLMs
  6. 2025SpecVLM: Fast Speculative Decoding in Vision-Language Models
  7. 2026Do Visual Grounding Decoders Need Feed-Forward Networks? A Controlled Study over Frozen Vision-Language Features
  8. 2026Shallow Prefill, Deep Decoding: Efficient Long-Context Inference via Layer-Asymmetric KV Visibility