Direct Multi-Token Decoding

Xuan Luo, Weizhi Wang, Xifeng Yan

TL;DR

Direct Multi-Token Decoding (DMTD) accelerates LLM inference by performing a full forward pass only once every $n$ tokens, reusing the model's final "decoding" layers to generate subsequent tokens. By leveraging the specialized functional roles of transformer layers, DMTD achieves up to a 2.15× speedup with minimal performance loss and without the need for auxiliary draft models or complex verification steps.

What Problem Does This Paper Address?

Large Language Models (LLMs) are notoriously slow during inference because they generate text one token at a time (autoregressively). For every single word produced, the model must traverse its entire stack of layers. This process is heavily memory-bound; the GPU spends more time moving data around than actually performing calculations.

While techniques like speculative decoding attempt to fix this by using a smaller "draft" model to guess tokens, they introduce their own overhead: you need to manage two models and perform a "verification" step to ensure the draft is correct. The authors of this paper ask a simpler question: If human beings can produce a whole sentence from a single act of "reading and thinking," why can't LLMs?

Methods

The core idea of DMTD is based on the observation that LLM layers have specialized roles:

  1. Early Layers (Encoding): Understand the input context.
  2. Middle Layers (Thinking): Perform task-specific reasoning.
  3. Late Layers (Decoding): Map abstract thoughts into specific tokens.

DMTD proposes a "think once, speak multiple times" approach. Instead of a full pass for every token, the model performs one full pass at the start of a cycle, then reuses only the Late Layers for the next few tokens.

Figure 1: Vanilla next token prediction vs. direct multi-token decoding.

To make this work, the authors introduced two key mechanisms:

  • Parallel Training with Cyclical Masking: During fine-tuning, the model is trained to predict multiple future tokens simultaneously from a single "thinking" state. A binary mask is applied to hidden states to simulate the skipping of early/middle layers during training.
  • Cyclical KV Refilling: Skipping layers means the Key-Value (KV) cache—the model's "short-term memory"—isn't updated for the skipped layers. To prevent quality degradation, DMTD periodically performs a full pass to "refill" the missing cache entries.
Figure 3: Cyclical refilling with a cycle length of 3. There are three blocks within each column, representing the early, middle, and late layers. Blocks with the same color are computed in the same forward pass. The numbers on the blocks represent the index of the forward pass.

Datasets

The authors fine-tuned their models on the AM-Thinking-v1-Distilled dataset (1.5B tokens) and the OpenPerfectBlend dataset.

For evaluation, they used a comprehensive suite of benchmarks:

  • Reasoning & Knowledge: ARC-Easy, ARC-Challenge, GSM8K (math), and WinoGrande (commonsense).
  • Dialogue & Coding: CoQA (conversational QA), MBPP+, and HumanEval (programming).
  • General Capability: MT-Bench.

Key Insights and Ideas

  • "Thinking" is the Bottleneck: The experiment shows that the early and middle layers provide a foundation that can support multiple future tokens. The model doesn't need to "re-reason" the entire context for every single word.
  • Anticipatory Representations: A "mechanistic study" revealed that DMTD isn't just skipping layers; the training actually teaches the early layers to encapsulate "anticipatory" information about future tokens. When they froze the early layers and only trained the late ones, performance collapsed.
  • Scaling Matters: Larger models are better at this. The Qwen3-4B model retained 99.4% of its original performance, while the smaller 0.6B model dropped significantly. This suggests that higher-dimensional hidden states have more "room" to store information about future tokens.
  • Synchronous Speedups: Unlike speculative decoding, which can be inconsistent, DMTD follows a fixed execution path. This makes it much more robust when scaling to larger batch sizes.

Key Results

  • Speed: On a Qwen3-4B model, DMTD achieved a 2.15× speedup at batch size 1 and maintained a 1.77× speedup even at batch size 8.
  • Accuracy: With a cycle length of 3 (predicting 3 tokens per full pass), the model retained 99.4% of the vanilla model's performance across all benchmarks.
  • Generalization: The method was successfully applied to Llama-3.1-8B, Llama-3.2-3B, and OLMo-2-7B, showing it is architecture-agnostic.
Figure 4: Inference speedup of DMTD (E0D8) over vanilla Qwen3-4B on a single A100-40GB GPU, across batch sizes and cycle lengths, with a fixed generation length of 1024 tokens.

Limitations and Future Work

  • Prediction Horizon: Performance begins to drop noticeably once the cycle length exceeds 4 tokens. The authors hypothesize this is due to the limited capacity of hidden states to "look" too far into the future.
  • Training Scale: The models were only fine-tuned on 1.5B tokens. The authors believe that integrating DMTD into large-scale pre-training (trillions of tokens) could significantly improve the prediction horizon and accuracy.
  • Adaptive Logic: While they tested a preliminary "adaptive" version that decides when to skip layers, they note that a more principled mechanism is needed for the model to "know" exactly how many tokens it can safely generate in a single cycle.

Summary updated

BibTeX
@inproceedings{luo2026direct,
  author = {Xuan Luo and Weizhi Wang and Xifeng Yan},
  title = {{Direct Multi-Token Decoding}},
  booktitle = {COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=gdo9Cv6rL3},
}
Figure