Direct Multi-Token Decoding

Xuan Luo, Weizhi Wang, Xifeng Yan
10/13/2025
cs.CLcs.AI

No official code found. Best implementation: luoxuan-cs/Direct-Multitoken-Decoding (5 stars, last commit 2025-10-17).

Abstract

Decoder-only transformers have become the standard architecture for large language models (LLMs) due to their strong performance. Recent studies suggest that, in pre-trained LLMs, early, middle, and late layers may serve distinct roles: Early layers focus on understanding the input context, middle layers handle task-specific processing, and late layers convert abstract representations into output tokens. We hypothesize that once representations have been processed by the early and middle layers, the resulting hidden states may encapsulate sufficient information to support the generation of multiple tokens using only the late layers, eliminating the need to repeatedly traverse the early and middle layers. We refer to this inference paradigm as Direct Multi-Token Decoding (DMTD). Unlike speculative decoding, our method introduces no additional parameters, auxiliary routines, or post-generation verification. Despite being trained on a limited dataset, a fine-tuned DMTD Qwen3-4B model has already demonstrated promising results, achieving up to a 2x speedup with only minor performance loss. Moreover, as shown in our scaling analysis, its performance is expected to further improve with larger training datasets.

View on arXivView PDF

Code Implementations(1)

The official repo for the paper Direct Multi-token Decoding

50PythonOct 12, 20251 years ago

Similar Papers

Cite this paper

@article{luo2025direct,
  title  = {Direct Multi-Token Decoding},
  author = {Xuan Luo and Weizhi Wang and Xifeng Yan},
  year   = {2025},
  eprint = {2510.11958},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.11958v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.11958.svg)](https://codeofpaper.com/paper/2510.11958)

Discussion