# Trees from Marginals: Autoregressive drafting with factorized priors

DevFeed: [Trees from Marginals: Autoregressive drafting with factorized priors](<https://devfeed.tech/articles/trees-from-marginals-autoregressive-drafting-with-factorized-priors-94738.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2607.06763>)

Author: Yuma Oda, Ryan Mathieu, Roman Knyazhitskiy, Artur Chakhvadze

Published: 2026-10-22T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Model Optimizer](<https://devfeed.tech/topics/model-optimizer.md>), [CUDA Tile](<https://devfeed.tech/topics/cuda-tile.md>)

Tags: [acceptance](<https://devfeed.tech/tags/acceptance.md>), [adapter](<https://devfeed.tech/tags/adapter.md>), [algorithm](<https://devfeed.tech/tags/algorithm.md>), [autoregressive](<https://devfeed.tech/tags/autoregressive.md>), [conditional](<https://devfeed.tech/tags/conditional.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [cuda](<https://devfeed.tech/tags/cuda.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [dflash](<https://devfeed.tech/tags/dflash.md>), [draft](<https://devfeed.tech/tags/draft.md>), [kernels](<https://devfeed.tech/tags/kernels.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [layers](<https://devfeed.tech/tags/layers.md>), [lightweight](<https://devfeed.tech/tags/lightweight.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [projection](<https://devfeed.tech/tags/projection.md>), [sglang](<https://devfeed.tech/tags/sglang.md>), [speculative-decoding](<https://devfeed.tech/tags/speculative-decoding.md>), [tokens](<https://devfeed.tech/tags/tokens.md>), [trees](<https://devfeed.tech/tags/trees.md>)

## AI overview

Weaver addresses falling acceptance rates in factorized speculative decoding by using a lightweight autoregressive adapter to build proposal trees from a factorized drafter's top-K token marginals, restoring dependencies among proposed tokens without a full-vocabulary projection. For models with Gated Delta Net layers, the authors also derive rollback-free tree verification and implement optimized CUDA kernels in SGLang. They report a 4.08x speedup over autoregressive decoding and 16.3% better performance than a highly optimized DFlash baseline.

## Source excerpt

arXiv:2607.06763v3 Announce Type: replace Abstract: Speculative decoding greatly increases the interactivity of autoregressive language models by trading off computation for extra tokens generated in a single forward pass. Factorized draft models are especially efficient because they predict future-token marginals in parallel, but their independence assumption causes acceptance rates to degrade sharply as the speculative budget grows. We analyze this limitation and introduce Weaver, a lightweight autoregressive adapter that constructs proposal trees from the top-K marginals of a factorized drafter. Weaver restores conditional dependencies between proposed tokens while avoiding a full-vocabulary projection. To support fast verification for models with Gated Delta Net layers, we derive a rollback-free tree-verification algorithm and implement optimized CUDA kernels in SGLang. By combining these model and systems contributions we achieve a 4.08-fold speedup over autoregressive decoding, and outperform a highly optimized DFlash baseline by 16.3%.