DMTP: A Better First Token for Block Drafting via MTP

Yuhao Shen, Jianuo Huang, Yi Zhang, Yang Xu, Hao Yu, Xin Wang, Yucheng Li, Huiqiang Jiang, Xi Lin, Di Liu, Jun Zhang, Tianyu Liu, Bo Zheng, Dayiheng Liu, Jianwei Zhang, Cong Wang

arXiv:2611.37561 · 2026-11-30 공개 · arXiv · PDF

long-context llm-inference speculative-decoding throughput-optimization token-embedding block-drafting dflash mtp

Abstract

Speculative decoding accelerates Large Language Model (LLM) inference by verifying lightweight draft proposals in parallel. Parallel block drafters such as DFlash generate multiple candidates in a single pass, yet strict left-to-right verification discards the entire block whenever the first candidate is rejected. Conversely, native Multi-Token Prediction (MTP) modules trained alongside the target model offer strong first-token accuracy and out-of-distribution generalization, but incur serial latency when extended across multiple steps. To address these limitations, we introduce DMTP, a cooperative speculative decoding framework where native MTP initiates each block and DFlash generates the remaining continuation in parallel. Specifically, MTP proposes the first token and injects its hidden state into DFlash via a lightweight residual on that token's embedding to leverage extra predictive information from MTP. Conditioning parallel drafting on a concrete first token both inherits MTP's first-token accuracy and shifts the remaining block one step forward, making subsequent tokens easier to predict. Across short- and long-context benchmarks on Qwen3.6-27B, Qwen3.6-35B-A3B, and Qwen3.8-Next-120B, DMTP consistently outperforms DFlash and DFlash2 while surpassing Native MTP on nearly all workloads. It improves accepted length by up to 35.64\% over DFlash2 on long-context workloads and boosts workload-serving throughput over DFlash by 17.10\%--23.75\%. Moreover, DMTP is orthogonal to existing MTP and DFlash optimizations, with further gains from checkpoint adaptation and joint fine-tuning.

한국어 요약

한 줄 요약

DMTP는 MTP의 강력한 첫 번째 토큰 정확도와 DFlash의 병렬 생성을 결합한 스펙ulative decoding 프레임워크로, Qwen3.8-Next-120B 등 대형 모델에서 35.64%까지 향상된 수용 길이를 달성한다.

핵심 기여도

핵심 아이디어

DMTP는 MTP와 DFlash의 강점을 결합한 협력적 스펙ulative decoding 프레임워크이다. MTP는 첫 번째 토큰을 제안하고, 그 토큰의 임베딩에 가벼운 잔차 연결(residual)을 통해 DFlash에 히든 상태를 주입함으로써 추가 예측 정보를 활용한다. 이는 DFlash가 병렬적으로 나머지 토큰을 생성할 때, 첫 번째 토큰을 기반으로 한 조건부 예측을 가능하게 하며, 나머지 토큰 예측이 더 쉬워진다. 이와 같은 구조는 MTP의 첫 번째 토큰 정확도를 유지하면서 DFlash의 병렬성과 결합하여, 순차적 지연을 최소화한다. MTP는 타겟 모델과 함께 학습되어 OOD 일반화 능력이 뛰어나고, DFlash는 병렬 생성을 통해 효율성을 높인다. 이 두 모듈의 협력은 기존 스펙ulative decoding의 한계를 극복한다.

기술적 접근법

주요 결과

의의 및 한계

DMTP는 기존 MTP와 DFlash의 한계를 극복한 협력적 스펙ulative decoding 프레임워크로, 첫 번째 토큰 정확도와 병렬성의 이점을 동시에 활용한다. MTP는 첫 번째 토큰 정확도가 높지만 순차적 지연이 발생하고, DFlash는 병렬성이 뛰어나지만 첫 번째 토큰 정확도가 낮아 수용 길이가 짧다는 문제를 해결한다. DMTP는 MTP의 히든 상태를 DFlash에 주입하여 병렬 생성을 가능하게 하며, 이는 기존 최적화와 독립적으로 적용 가능하다. 그러나 DMTP는 MTP와 DFlash가 모두 필요한 하드웨어 및 소프트웨어 조건을 요구하므로, 두 모듈이 모두 사용 가능한 환경에서만 활용 가능하다는 한계가 있다.

실용적 활용

DMTP는 대형 언어 모델(Qwen3.6-27B 이상)을 활용한 실시간 대화, 긴 컨텍스트 추론, 대규모 워크로드 처리 등에 적용 가능하다. 특히, 첫 번째 토큰 정확도가 중요한 Agent 기반 워크로드에서 효과적이다. 병렬 생성을 통해 처리량을 높이고, 체크포인트 적응 및 공동 미세조정을 통해 다양한 도메인에 쉽게 확장할 수 있다.