DMTP, il team Qwen fa scrivere a un modulo nativo il primo token di ogni blocco della decodifica speculativaDMTP: Qwen lets a native module write the first token of each speculative-decoding block
Qwen propone DMTP: il modulo di previsione multi-token nativo genera il primo token di ogni blocco, DFlash il resto in parallelo. Lunghezza accettata fino al 35,64% in più su DFlash2, throughput in aumento dal 17,10 al 23,75%.
Qwen proposes DMTP: the native multi-token prediction module writes the first token of each block, DFlash the rest in parallel. Accepted length is up to 35.64% higher than DFlash2, and throughput rises from 17.10 to 23.75%.

La decodifica speculativa accelera i modelli linguistici facendo proporre a un modello leggero più token, che il modello grande verifica in blocco. I bozzatori paralleli come DFlash producono molti token in un solo passaggio, ma la verifica procede da sinistra a destra. Se il primo token è sbagliato, l'intero blocco è scartato. Un gruppo di Alibaba Qwen (Shen e altri quindici coautori) propone DMTP per correggere questo punto debole.
Il modulo di previsione multi-token (MTP), addestrato insieme al modello bersaglio, genera il primo token di ogni blocco, notoriamente il più importante. Il suo stato nascosto condiziona poi, tramite una leggera connessione residua, i token successivi prodotti in parallelo da DFlash. Sui modelli Qwen3.6-27B, Qwen3.6-35B-A3B e Qwen3.8-Next-120B, la lunghezza media accettata cresce fino al 35,64% rispetto a DFlash2, con carichi a contesto lungo. Il throughput di servizio sale dal 17,10 al 23,75% rispetto a DFlash. Le prove sono dei soli autori e solo su modelli Qwen.
Speculative decoding speeds up language models by having a light model propose several tokens, which the large model verifies in one pass. Parallel drafters such as DFlash produce many tokens in one step, but verification runs left to right. If the first token is wrong, the whole block is discarded. A group at Alibaba Qwen (Shen and fifteen co-authors) proposes DMTP to fix this weak point.
The multi-token prediction (MTP) module, trained together with the target model, generates the first token of each block, notoriously the most important one. Its hidden state then conditions, through a light residual connection, the following tokens produced in parallel by DFlash. On Qwen3.6-27B, Qwen3.6-35B-A3B and Qwen3.8-Next-120B, the mean accepted length grows by up to 35.64% over DFlash2, on long-context workloads. Serving throughput rises from 17.10 to 23.75% over DFlash. The tests are the authors' own, and only on Qwen models.
Il 27 novembre 2026, un gruppo del team Qwen di Alibaba, guidato da Yuhao Shen con quindici coautori, ha pubblicato su arXiv un paper. Si intitola «DMTP: A Better First Token for Block Drafting via MTP» (2611.37561, seconda versione del 30 novembre). Il lavoro riguarda la decodifica speculativa, la tecnica oggi più diffusa per ridurre la latenza dei modelli linguistici senza cambiarne le risposte. Propone una combinazione di due componenti già note, con un codice aperto basato su SGLang.
Il principio della decodifica speculativa è semplice. Generare un token alla volta con un modello grande è lento, perché ogni passo richiede di leggere tutti i pesi. Si affida allora a un modello leggero, il «bozzatore», la proposta di diversi token successivi. Il modello grande li verifica in un solo passaggio. Accetta quelli coerenti con ciò che avrebbe scritto da solo, fino al primo disaccordo. Più token sono accettati per passaggio, più la generazione è veloce, e il risultato resta identico a quello del modello grande.
Gli autori partono da due famiglie di bozzatori con difetti complementari. DFlash è un bozzatore a blocchi parallelo. Produce molti candidati in un solo passaggio. Ma la regola di verifica da sinistra a destra scarta l'intero blocco, quando il primo candidato è respinto. Proprio il primo token è quello più difficile da indovinare per un modulo leggero. Il modulo di previsione multi-token (MTP), addestrato insieme al modello bersaglio, ha una buona accuratezza sul primo token. Generalizza bene fuori dalla distribuzione di addestramento. Estenderlo su più passi, però, introduce latenza seriale, perché ogni passo dipende dal precedente.
DMTP assegna a ciascuno il compito in cui rende meglio. L'MTP nativo avvia ogni blocco e genera il primo token. Il suo stato nascosto è la rappresentazione interna calcolata dal modello in quel punto. Esso condiziona poi le previsioni parallele di DFlash per i token seguenti, attraverso una connessione residua leggera. In questo modo il costo aggiuntivo è piccolo. Il blocco inizia con un token di qualità più alta, e così aumenta la probabilità che la sequenza accettata sia lunga.
I risultati riportati riguardano tre modelli della famiglia Qwen: Qwen3.6-27B, Qwen3.6-35B-A3B e Qwen3.8-Next-120B. Sui carichi con contesto lungo, la lunghezza accettata migliora fino al 35,64% rispetto a DFlash2. Nei test di servizio, il throughput aumenta dal 17,10 al 23,75% rispetto a DFlash. Secondo gli autori, DMTP supera in modo costante sia DFlash sia DFlash2 su tutti e tre i modelli. Sul sito del progetto e su GitHub (repository sglang-dmtp) sono disponibili la pagina descrittiva e il codice.
Alcune cautele sono necessarie. I test sono eseguiti dagli stessi autori che sviluppano i modelli bersaglio, e non risultano repliche indipendenti. I vantaggi sono relativi a due specifici bozzatori, non a tutta la decodifica speculativa. L'MTP nativo richiede inoltre che il modello sia stato addestrato con quel modulo. Quindi il metodo non si applica direttamente a modelli che ne sono privi. Il guadagno massimo del 35,64% riguarda la lunghezza accettata, non il tempo di risposta, e il valore dipende dal carico.
Il significato pratico è che la velocità di inferenza si guadagna anche con ritocchi di architettura del bozzatore. Non serve cambiare il modello principale né il suo output. Per chi serve modelli aperti a larga scala, c'è un vantaggio. Un aumento di throughput dal 17 al 24% a parità di hardware corrisponde direttamente a minori costi per richiesta.
On 27 November 2026, a group from Alibaba's Qwen team, led by Yuhao Shen with fifteen co-authors, posted a paper on arXiv. It is titled 'DMTP: A Better First Token for Block Drafting via MTP' (2611.37561, second version of 30 November). The work concerns speculative decoding, today's most widespread technique for reducing language-model latency without changing the answers. It proposes a combination of two known components, with open code based on SGLang.
The principle of speculative decoding is simple. Generating one token at a time with a large model is slow, because every step requires reading all the weights. A light model, the 'drafter', is therefore asked to propose several following tokens. The large model verifies them in a single pass. It accepts those consistent with what it would have written itself, up to the first disagreement. The more tokens accepted per pass, the faster the generation, and the result stays identical to the large model's.
The authors start from two families of drafters with complementary faults. DFlash is a parallel block drafter. It produces many candidates in one pass. But the left-to-right verification rule discards the whole block, when the first candidate is rejected. The first token is precisely the hardest for a light module to guess. The multi-token prediction (MTP) module, trained together with the target model, has good accuracy on the first token. It generalises well outside the training distribution. Extending it over several steps, however, introduces serial latency, because each step depends on the previous one.
DMTP assigns each the task it does best. The native MTP starts each block and generates the first token. Its hidden state is the internal representation the model computes at that point. It then conditions DFlash's parallel predictions for the following tokens, through a light residual connection. In this way, the added cost is small. The block begins with a higher-quality token, and so the probability that the accepted sequence is long goes up.
The reported results concern three models of the Qwen family: Qwen3.6-27B, Qwen3.6-35B-A3B and Qwen3.8-Next-120B. On long-context workloads, the accepted length improves by up to 35.64% over DFlash2. In serving tests, throughput rises from 17.10 to 23.75% over DFlash. According to the authors, DMTP consistently beats both DFlash and DFlash2 on all three models. The project site and GitHub (repository sglang-dmtp) provide a descriptive page and the code.
Some caution is needed. The tests are run by the same authors who develop the target models, and no independent replications are known. The gains are relative to two specific drafters, not to all speculative decoding. The native MTP also requires the model to have been trained with that module. So the method does not apply directly to models that lack it. The maximum gain of 35.64% concerns accepted length, not response time, and the value depends on the workload.
The practical meaning is that inference speed can also be gained with tweaks to the drafter's architecture. There is no need to change the main model or its output. For those serving open models at scale, there is a benefit. A throughput increase from 17 to 24% on the same hardware translates directly into a lower cost per request.
Fonti
- Testata Hugging Face Papers - DMTP huggingface.co
- Fonte originale arXiv - DMTP: A Better First Token for Block Drafting via MTP arxiv.org
Articoli rivisti con l’intelligenza artificiale. A cura di Alessandro Patassini.Articles reviewed with artificial intelligence. Edited by Alessandro Patassini.














































