Lossless Acceleration for Seq2seq Generation with Aggressive Decoding
Not on the map. Why?
Abstract (arXiv)
We study lossless acceleration for seq2seq generation with a novel decoding algorithm -- Aggressive Decoding. Unlike the previous efforts (e.g., non-autoregressive decoding) speeding up seq2seq generation at the cost of quality loss, our approach aims to yield the identical (or better) generation compared with autoregressive decoding but in a significant speedup, achieved by innovative cooperation of aggressive decoding and verification that are both efficient due to parallel computing. We propose two Aggressive Decoding paradigms for 2 kinds of seq2seq tasks: 1) For the seq2seq tasks whose inputs and outputs are highly similar (e.g., Grammatical Error Correction), we propose Input-guided Aggressive Decoding (IAD) that aggressively copies from the input sentence as drafted decoded tokens to verify in parallel; 2) For other general seq2seq tasks (e.g., Machine Translation), we propose Generalized Aggressive Decoding (GAD) that first employs an additional non-autoregressive decoding model for aggressive decoding and then verifies in parallel in the autoregressive manner. We test Aggressive Decoding on the most popular 6-layer Transformer model on GPU in multiple seq2seq tasks: 1) For IAD, we show that it can introduce a 7x-9x speedup for the Transformer in Grammatical Error Correction and Text Simplification tasks with the identical results as greedy decoding; 2) For GAD, we observe a 3x-5x speedup with the identical or even better quality in two important seq2seq tasks: Machine Translation and Abstractive Summarization. Moreover, Aggressive Decoding can benefit even more from stronger computing devices that are better at parallel computing. Given the lossless quality as well as significant and promising speedup, we believe Aggressive Decoding may potentially evolve into a de facto standard for efficient and lossless seq2seq generation in the near future.
Key facts. Cited by 18 papers in the map (data through 14 Oct 2026). Builds on 36 of its 54 references that are in the map. First posted on arXiv 20 May 2022.
Builds on
36 of 54 references.
References · 36
- 2017Attention Is All You Needcited by 60,361
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2015Teaching Machines to Read and Comprehendcited by 1,049
- 2016Sequence-Level Knowledge Distillationcited by 801
- 2018Born Again Neural Networkscited by 546
- 2017Non-Autoregressive Neural Machine Translationcited by 463
- 2022DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scalecited by 404
- 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 332
- 2018Blockwise Parallel Decoding for Deep Autoregressive Modelscited by 323
- 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 273
- 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 226
24 more
- 2018Scaling Neural Machine Translationcited by 204
- 2019Levenshtein Transformercited by 199
- 2018Deterministic Non-Autoregressive Neural Sequence Modeling by Iterative Refinementcited by 195
- 2020GECToR -- Grammatical Error Correction: Tag, Not Rewritecited by 177
- 2020Glancing Transformer for Non-Autoregressive Neural Machine Translationcited by 103
- 2021Step-unrolled Denoising Autoencoders for Text Generationcited by 102
- 2020Fully Non-autoregressive Neural Machine Translation: Tricks of the Tradecited by 99
- 2020Non-Autoregressive Machine Translation with Latent Alignmentscited by 96
- 2019Parallel Iterative Edit Models for Local Sequence Transductioncited by 81
- 2018End-to-End Non-Autoregressive Neural Machine Translation with Connectionist Temporal Classificationcited by 72
- 2020Aligned Cross Entropy for Non-Autoregressive Machine Translationcited by 65
- 2020Seq2Edits: Sequence Transduction Using Span-level Edit Operationscited by 58
- 2021Order-Agnostic Cross Entropy for Non-Autoregressive Machine Translationcited by 57
- 2018Semi-Autoregressive Neural Machine Translationcited by 48
- 2019Minimizing the Bag-of-Ngrams Difference for Non-Autoregressive Neural Machine Translationcited by 40
- 2021Non-Autoregressive Translation with Layer-Wise Prediction and Deep Supervisioncited by 40
- 2020Semi-Autoregressive Training Improves Mask-Predict Decodingcited by 33
- 2020Improving the Efficiency of Grammatical Error Correction with Erroneous Span Detection and Correctioncited by 24
- 2021AligNART: Non-autoregressive Neural Machine Translation by Jointly Learning to Estimate Alignment and Translatecited by 24
- 2020Learning to Recover from Multi-Modality Errors for Non-Autoregressive Neural Machine Translationcited by 19
- 2021Early Exiting with Ensemble Internal Classifierscited by 19
- 2020Multi-Task Learning with Shared Encoder for Non-Autoregressive Machine Translationcited by 16
- 2019Sequence-to-sequence Pre-training with Data Augmentation for Sentence Rewritingcited by 12
- 2018Approximation Algorithms for Cascading Prediction Modelscited by 9
Built on by
Citing papers per year: 2022: 1; 2023: 9; 2024: 4; 2025: 2; 2026: 2.
18 papers.
Sort:
By area:
- 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 1,006
- 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decodingcited by 269
- 2023DistillSpec: Improving Speculative Decoding via Knowledge Distillationcited by 165
- 2023SpecTr: Fast Speculative Decoding via Optimal Transportcited by 129
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 102
- 2023Inference with Reference: Lossless Acceleration of Large Language Modelscited by 65
- 2023Lookahead: An Inference Acceleration Framework for Large Language Model with Lossless Generation Accuracycited by 37
- 2022EdiT5: Semi-Autoregressive Text-Editing with T5 Warm-Startcited by 35
- 2023Meet in the Middle: A New Pre-training Paradigmcited by 22
- 2024Multi-Draft Speculative Sampling: Canonical Decomposition and Theoretical Limitscited by 11
- 2025Steering Pretrained Drafters during Speculative Decodingcited by 4
- 2023RecycleGPT: An Autoregressive Language Model with Recyclable Modulecited by 3
6 more
- 2024An Enhanced Text Compression Approach Using Transformer-based Language Modelscited by 2
- 2023RedPenNet for Grammatical Error Correction: Outputs to Tokens, Attentions to Spanscited by 1
- 2025Confidence-Modulated Speculative Decoding for Large Language Modelscited by 1
- 2024Switchable Decision: Dynamic Neural Generation Networkscited by 0
- 2026TextEconomizer: Enhancing Lossy Text Compression with Denoising Transformers and Entropy Codingcited by 0
- 2026Fully Rotation-Equivariant Spectral-Spatial Learning for Multispectral Object Detectioncited by 0
- 2026Fully Rotation-Equivariant Spectral-Spatial Learning for Multispectral Object Detection6 Jul 2026
- 2026TextEconomizer: Enhancing Lossy Text Compression with Denoising Transformers and Entropy Coding6 Jun 2026
- 2025Steering Pretrained Drafters during Speculative Decoding13 Nov 2025
- 2025Confidence-Modulated Speculative Decoding for Large Language Models21 Aug 2025
- 2024An Enhanced Text Compression Approach Using Transformer-based Language Models15 Dec 2024
- 2024Multi-Draft Speculative Sampling: Canonical Decomposition and Theoretical Limits23 Oct 2024
- 2024Switchable Decision: Dynamic Neural Generation Networks7 May 2024
- 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decoding15 Jan 2024
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systems23 Dec 2023
- 2023Lookahead: An Inference Acceleration Framework for Large Language Model with Lossless Generation Accuracy20 Dec 2023
- 2023SpecTr: Fast Speculative Decoding via Optimal Transport23 Oct 2023
- 2023DistillSpec: Improving Speculative Decoding via Knowledge Distillation12 Oct 2023
6 more
- 2023RedPenNet for Grammatical Error Correction: Outputs to Tokens, Attentions to Spans19 Sep 2023
- 2023RecycleGPT: An Autoregressive Language Model with Recyclable Module7 Aug 2023
- 2023Inference with Reference: Lossless Acceleration of Large Language Models10 Apr 2023
- 2023Meet in the Middle: A New Pre-training Paradigm13 Mar 2023
- 2023Accelerating Large Language Model Decoding with Speculative Sampling2 Feb 2023
- 2022EdiT5: Semi-Autoregressive Text-Editing with T5 Warm-Start24 May 2022
- 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 1,006
- 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decodingcited by 269
- 2023DistillSpec: Improving Speculative Decoding via Knowledge Distillationcited by 165
- 2023SpecTr: Fast Speculative Decoding via Optimal Transportcited by 129
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 102
- 2023Lookahead: An Inference Acceleration Framework for Large Language Model with Lossless Generation Accuracycited by 37
- 2024Multi-Draft Speculative Sampling: Canonical Decomposition and Theoretical Limitscited by 11
- 2025Steering Pretrained Drafters during Speculative Decodingcited by 4
- 2025Confidence-Modulated Speculative Decoding for Large Language Modelscited by 1
- 2025Steering Pretrained Drafters during Speculative Decoding13 Nov 2025
- 2025Confidence-Modulated Speculative Decoding for Large Language Models21 Aug 2025
- 2024Multi-Draft Speculative Sampling: Canonical Decomposition and Theoretical Limits23 Oct 2024
- 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decoding15 Jan 2024
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systems23 Dec 2023
- 2023Lookahead: An Inference Acceleration Framework for Large Language Model with Lossless Generation Accuracy20 Dec 2023
- 2023SpecTr: Fast Speculative Decoding via Optimal Transport23 Oct 2023
- 2023DistillSpec: Improving Speculative Decoding via Knowledge Distillation12 Oct 2023
- 2023Accelerating Large Language Model Decoding with Speculative Sampling2 Feb 2023
- 2023Inference with Reference: Lossless Acceleration of Large Language Modelscited by 65
- 2022EdiT5: Semi-Autoregressive Text-Editing with T5 Warm-Startcited by 35
- 2023Meet in the Middle: A New Pre-training Paradigmcited by 22
- 2023RecycleGPT: An Autoregressive Language Model with Recyclable Modulecited by 3
- 2024An Enhanced Text Compression Approach Using Transformer-based Language Modelscited by 2
- 2023RedPenNet for Grammatical Error Correction: Outputs to Tokens, Attentions to Spanscited by 1
- 2024Switchable Decision: Dynamic Neural Generation Networkscited by 0
- 2026TextEconomizer: Enhancing Lossy Text Compression with Denoising Transformers and Entropy Codingcited by 0
- 2026Fully Rotation-Equivariant Spectral-Spatial Learning for Multispectral Object Detectioncited by 0
- 2026Fully Rotation-Equivariant Spectral-Spatial Learning for Multispectral Object Detection6 Jul 2026
- 2026TextEconomizer: Enhancing Lossy Text Compression with Denoising Transformers and Entropy Coding6 Jun 2026
- 2024An Enhanced Text Compression Approach Using Transformer-based Language Models15 Dec 2024
- 2024Switchable Decision: Dynamic Neural Generation Networks7 May 2024
- 2023RedPenNet for Grammatical Error Correction: Outputs to Tokens, Attentions to Spans19 Sep 2023
- 2023RecycleGPT: An Autoregressive Language Model with Recyclable Module7 Aug 2023
- 2023Inference with Reference: Lossless Acceleration of Large Language Models10 Apr 2023
- 2023Meet in the Middle: A New Pre-training Paradigm13 Mar 2023
- 2022EdiT5: Semi-Autoregressive Text-Editing with T5 Warm-Start24 May 2022