mlsanityData to 7 Oct 2026

Optimized Multi-Token Joint Decoding with Auxiliary Model for LLM Inference

arXiv 2407.09722 ↗First posted 12 Jul 2024cs.CL cs.LGcited by 11

On the map: Efficient LLM inference and serving → Speculative decoding

Abstract (arXiv)

Large language models (LLMs) have achieved remarkable success across diverse tasks, yet their inference processes are hindered by substantial time and energy demands due to single-token generation at each decoding step. While previous methods such as speculative decoding mitigate these inefficiencies by producing multiple tokens per step, each token is still generated by its single-token distribution, thereby enhancing speed without improving effectiveness. In contrast, our work simultaneously enhances inference speed and improves the output effectiveness. We consider multi-token joint decoding (MTJD), which generates multiple tokens from their joint distribution at each iteration, theoretically reducing perplexity and enhancing task performance. However, MTJD suffers from the high cost of sampling from the joint distribution of multiple tokens. Inspired by speculative decoding, we introduce multi-token assisted decoding (MTAD), a novel framework designed to accelerate MTJD. MTAD leverages a smaller auxiliary model to approximate the joint distribution of a larger model, incorporating a verification mechanism that not only ensures the accuracy of this approximation, but also improves the decoding efficiency over conventional speculative decoding. Theoretically, we demonstrate that MTAD closely approximates exact MTJD with bounded error. Empirical evaluations using Llama-2 and OPT models ranging from 13B to 70B parameters across various tasks reveal that MTAD reduces perplexity by 21.2% and improves downstream performance compared to standard single-token sampling. Furthermore, MTAD achieves a 1.42x speed-up and consumes 1.54x less energy than conventional speculative decoding methods. These results highlight MTAD's ability to make multi-token joint decoding both effective and efficient, promoting more sustainable and high-performance deployment of LLMs.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Placed in Speculative decoding, one of 12 directions in Efficient LLM inference and serving. Builds on 33 of its 47 references that are in the map. First posted on arXiv 12 Jul 2024.

Builds on

33 of 47 references.

Closest ancestors · 9

Same direction, newest first

  1. 2024EAGLE-2: Faster Inference of Language Models with Dynamic Draft Trees24 Jun
  2. 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads19 Jan
  3. 2024Multi-Candidate Speculative Decoding12 Jan
  4. 2023REST: Retrieval-Based Speculative Decoding14 Nov
  5. 2023SpecTr: Fast Speculative Decoding via Optimal Transport23 Oct
  6. 2023Online Speculative Decoding11 Oct
  7. 2023Speculative Decoding with Big Little Decoder15 Feb
  8. 2023Accelerating Large Language Model Decoding with Speculative Sampling2 Feb
  9. 2022Fast Inference from Transformers via Speculative Decoding30 Nov

Other references · 24

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  5. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  6. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  7. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  8. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  9. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
  10. 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,281
  11. 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
  12. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
12 more
  1. 2019The State of Sparsity in Deep Neural Networkscited by 471
  2. 2017Non-Autoregressive Neural Machine Translationcited by 457
  3. 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 398
  4. 2022Confident Adaptive Language Modelingcited by 297
  5. 2018Deterministic Non-Autoregressive Neural Sequence Modeling by Iterative Refinementcited by 194
  6. 2023From Words to Watts: Benchmarking the Energy Costs of Large Language Model Inferencecited by 168
  7. 2024A Thorough Examination of Decoding Methods in the Era of LLMscited by 112
  8. 2022A Survey on Non-Autoregressive Generation for Neural Machine Translation and Beyondcited by 64
  9. 2019Fast Structured Decoding for Sequence Modelscited by 59
  10. 2021Machine Translation Decoding beyond Beam Searchcited by 55
  11. 2019Non-Autoregressive Machine Translation with Auxiliary Regularizationcited by 52
  12. 2019Hint-Based Training for Non-Autoregressive Machine Translationcited by 28

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 8; 2026: 3.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Closer Look at Efficient Inference Methods: A Survey of Speculative Decoding
  2. 2024Generation Meets Verification: Accelerating Large Language Model Inference with Smart Parallel Auto-Correct Decoding
  3. 2024Recursive Speculative Decoding: Accelerating LLM Inference via Sampling Without Replacement
  4. 2025AdaSD: Adaptive Speculative Decoding for Efficient Language Model Inference
  5. 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decoding
  6. 2025FastMTP: Accelerating LLM Inference with Enhanced Multi-Token Prediction
  7. 2024Speculative Decoding via Early-exiting for Faster LLM Inference with Thompson Sampling Control Mechanism
  8. 2024Dynamic-Width Speculative Beam Decoding for Efficient LLM Inference