Efficient Encoder-Decoder Transformer Decoding for Decomposable Tasks
Not on the map. Why?
Abstract (arXiv)
Transformer-based NLP models are powerful but have high computational costs that limit deployment. Finetuned encoder-decoder models are popular in specialized domains and can outperform larger more generalized decoder-only models, such as GPT-4. We introduce a new configuration for encoder-decoder models that improves efficiency on structured output and decomposable tasks where multiple outputs are required for a single shared input. Our method, prompt-in-decoder (PiD), encodes the input once and decodes the output in parallel, boosting both training and inference efficiency by avoiding duplicate input encoding and increasing the operational intensity (ratio of numbers of arithmetic operation to memory access) of decoding process by sharing the input key-value cache. We achieve computation reduction that roughly scales with the number of subtasks, gaining up to 4.6x speed-up over state-of-the-art models for dialogue state tracking, summarization, and question-answering tasks, with comparable or better performance.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 38 of its 49 references that are in the map. First posted on arXiv 19 Mar 2024.
Builds on
38 of 49 references.
References · 38
- 2017Attention Is All You Needcited by 60,361
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2022Emergent Abilities of Large Language Modelscited by 2,512
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,653
26 more
- 2020Knowledge Distillation: A Surveycited by 1,603
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
- 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 1,006
- 2018MultiWOZ -- A Large-Scale Multi-Domain Wizard-of-Oz Dataset for Task-Oriented Dialogue Modellingcited by 766
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
- 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 526
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 471
- 2023Atom: Low-bit Quantization for Efficient and Accurate LLM Servingcited by 272
- 2023Accelerating Transformer Inference for Translation via Parallel Decodingcited by 124
- 2023ACI-BENCH: a Novel Ambient Clinical Intelligence Dataset for Benchmarking Automatic Visit Note Generationcited by 118
- 2020GOBO: Quantizing Attention-Based NLP Models for Low Latency and Energy Efficient Inferencecited by 106
- 2023Skeleton-of-Thought: Prompting LLMs for Efficient Parallel Generationcited by 105
- 2023Do We Still Need Clinical Language Models?cited by 98
- 2021Beyond Distillation: Task-level Mixture-of-Experts for Efficient Inferencecited by 96
- 2021MultiWOZ 2.4: A Multi-Domain Task-Oriented Dialogue Dataset with Essential Annotation Corrections to Improve State Tracking Evaluationcited by 88
- 2024Hydragen: High-Throughput LLM Inference with Shared Prefixescited by 73
- 2021Summ^N: A Multi-Stage Summarization Framework for Long Input Dialogues and Documentscited by 65
- 2022Description-Driven Task-Oriented Dialog Modelingcited by 50
- 2022In-Context Learning for Few-Shot Dialogue State Trackingcited by 47
- 2023Decoder-Only or Encoder-Decoder? Interpreting Language Model as a Regularized Encoder-Decodercited by 44
- 2021Bringing Structure into Summaries: a Faceted Summarization Dataset for Long Scientific Documentscited by 33
- 2022FiDO: Fusion-in-Decoder optimized for stronger performance and faster inferencecited by 31
- 2022ASSIST: Towards Label Noise-Robust Dialogue State Trackingcited by 11
- 2023A Comparative Analysis of Task-Agnostic Distillation Methods for Compressing Transformer Language Modelscited by 6
- 2023Does Collaborative Human-LM Dialogue Generation Help Information Extraction from Human Dialogues?cited by 5
- 2023Building blocks for complex tasks: Robust generative event extraction for radiology reports under domain shiftscited by 1
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2021Decoupled Transformer for Scalable Inference in Open-domain Question Answering
- 2025Training and Inference Efficiency of Encoder-Decoder Speech Models
- 2025Return of the Encoder: Maximizing Parameter Efficiency for SLMs
- 2026Transformer-Based Language Models Across Domain Verticals: Architectures, Applications and Critical Assessment
- 2025Beyond Decoder-only: Large Language Models Can be Good Encoders for Machine Translation
- 2024A Thorough Examination of Decoding Methods in the Era of LLMs
- 2023DecoderLens: Layerwise Interpretation of Encoder-Decoder Transformers
- 2025Learning to Parallel: Accelerating Diffusion Large Language Models via Learnable Parallel Decoding