mlsanityData to 14 Oct 2026

Lossless Acceleration for Seq2seq Generation with Aggressive Decoding

arXiv 2205.10350 ↗First posted 20 May 2022cs.CL cs.LGcited by 18

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  3. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  4. 2015Teaching Machines to Read and Comprehendcited by 1,049
  5. 2016Sequence-Level Knowledge Distillationcited by 801
  6. 2018Born Again Neural Networkscited by 546
  7. 2017Non-Autoregressive Neural Machine Translationcited by 463
  8. 2022DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scalecited by 404
  9. 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 332
  10. 2018Blockwise Parallel Decoding for Deep Autoregressive Modelscited by 323
  11. 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 273
  12. 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 226
24 more
  1. 2018Scaling Neural Machine Translationcited by 204
  2. 2019Levenshtein Transformercited by 199
  3. 2018Deterministic Non-Autoregressive Neural Sequence Modeling by Iterative Refinementcited by 195
  4. 2020GECToR -- Grammatical Error Correction: Tag, Not Rewritecited by 177
  5. 2020Glancing Transformer for Non-Autoregressive Neural Machine Translationcited by 103
  6. 2021Step-unrolled Denoising Autoencoders for Text Generationcited by 102
  7. 2020Fully Non-autoregressive Neural Machine Translation: Tricks of the Tradecited by 99
  8. 2020Non-Autoregressive Machine Translation with Latent Alignmentscited by 96
  9. 2019Parallel Iterative Edit Models for Local Sequence Transductioncited by 81
  10. 2018End-to-End Non-Autoregressive Neural Machine Translation with Connectionist Temporal Classificationcited by 72
  11. 2020Aligned Cross Entropy for Non-Autoregressive Machine Translationcited by 65
  12. 2020Seq2Edits: Sequence Transduction Using Span-level Edit Operationscited by 58
  13. 2021Order-Agnostic Cross Entropy for Non-Autoregressive Machine Translationcited by 57
  14. 2018Semi-Autoregressive Neural Machine Translationcited by 48
  15. 2019Minimizing the Bag-of-Ngrams Difference for Non-Autoregressive Neural Machine Translationcited by 40
  16. 2021Non-Autoregressive Translation with Layer-Wise Prediction and Deep Supervisioncited by 40
  17. 2020Semi-Autoregressive Training Improves Mask-Predict Decodingcited by 33
  18. 2020Improving the Efficiency of Grammatical Error Correction with Erroneous Span Detection and Correctioncited by 24
  19. 2021AligNART: Non-autoregressive Neural Machine Translation by Jointly Learning to Estimate Alignment and Translatecited by 24
  20. 2020Learning to Recover from Multi-Modality Errors for Non-Autoregressive Neural Machine Translationcited by 19
  21. 2021Early Exiting with Ensemble Internal Classifierscited by 19
  22. 2020Multi-Task Learning with Shared Encoder for Non-Autoregressive Machine Translationcited by 16
  23. 2019Sequence-to-sequence Pre-training with Data Augmentation for Sentence Rewritingcited by 12
  24. 2018Approximation Algorithms for Cascading Prediction Modelscited by 9

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 1; 2023: 9; 2024: 4; 2025: 2; 2026: 2.

18 papers.

Sort:

By area:

  1. 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 1,006
  2. 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decodingcited by 269
  3. 2023DistillSpec: Improving Speculative Decoding via Knowledge Distillationcited by 165
  4. 2023SpecTr: Fast Speculative Decoding via Optimal Transportcited by 129
  5. 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 102
  6. 2023Inference with Reference: Lossless Acceleration of Large Language Modelscited by 65
  7. 2023Lookahead: An Inference Acceleration Framework for Large Language Model with Lossless Generation Accuracycited by 37
  8. 2022EdiT5: Semi-Autoregressive Text-Editing with T5 Warm-Startcited by 35
  9. 2023Meet in the Middle: A New Pre-training Paradigmcited by 22
  10. 2024Multi-Draft Speculative Sampling: Canonical Decomposition and Theoretical Limitscited by 11
  11. 2025Steering Pretrained Drafters during Speculative Decodingcited by 4
  12. 2023RecycleGPT: An Autoregressive Language Model with Recyclable Modulecited by 3
6 more
  1. 2024An Enhanced Text Compression Approach Using Transformer-based Language Modelscited by 2
  2. 2023RedPenNet for Grammatical Error Correction: Outputs to Tokens, Attentions to Spanscited by 1
  3. 2025Confidence-Modulated Speculative Decoding for Large Language Modelscited by 1
  4. 2024Switchable Decision: Dynamic Neural Generation Networkscited by 0
  5. 2026TextEconomizer: Enhancing Lossy Text Compression with Denoising Transformers and Entropy Codingcited by 0
  6. 2026Fully Rotation-Equivariant Spectral-Spatial Learning for Multispectral Object Detectioncited by 0