# HybridSpec: Throughput-Aware Speculative Decoding for Hybrid GDN-MoE Models

DevFeed: [HybridSpec: Throughput-Aware Speculative Decoding for Hybrid GDN-MoE Models](<https://devfeed.tech/articles/hybridspec-throughput-aware-speculative-decoding-for-hybrid-gdn-moe-models-116885.md>)

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

Author: Haiyu Wang, Sai Qian Zhang, Zechun Liu, Steven Li

Published: 2026-11-04T05:00:00Z

Content type: article

Language: en

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

Topics: [Model Optimizer](<https://devfeed.tech/topics/model-optimizer.md>), [Mixture of Experts (MoE)](<https://devfeed.tech/topics/mixture-of-experts-moe.md>), [performance-engineering](<https://devfeed.tech/topics/performance-engineering.md>)

Tags: [acceptance](<https://devfeed.tech/tags/acceptance.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [block](<https://devfeed.tech/tags/block.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [dflash](<https://devfeed.tech/tags/dflash.md>), [experts](<https://devfeed.tech/tags/experts.md>), [faster](<https://devfeed.tech/tags/faster.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [greedy](<https://devfeed.tech/tags/greedy.md>), [hybrid](<https://devfeed.tech/tags/hybrid.md>), [kernels](<https://devfeed.tech/tags/kernels.md>), [latency](<https://devfeed.tech/tags/latency.md>), [layer](<https://devfeed.tech/tags/layer.md>), [lightweight](<https://devfeed.tech/tags/lightweight.md>), [make](<https://devfeed.tech/tags/make.md>), [mixture-of-experts](<https://devfeed.tech/tags/mixture-of-experts.md>), [mixture-of-experts-moe](<https://devfeed.tech/tags/mixture-of-experts-moe.md>), [moe](<https://devfeed.tech/tags/moe.md>), [speculative-decoding](<https://devfeed.tech/tags/speculative-decoding.md>), [throughput](<https://devfeed.tech/tags/throughput.md>)

## AI overview

HybridSpec adapts speculative verification length on the GPU using draft-side acceptance estimates and measured target latency, addressing the steep verification cost in hybrid Gated DeltaNet (GDN) and mixture-of-experts (MoE) models. It first verifies through the first MoE router, then uses observed expert assignments to decide whether to keep an extra token; remaining verification runs only on selected tokens. Block-parallel GDN kernels reconstruct accepted recurrent states in one launch without storing a state after every token. In isolated benchmarks with all draft tokens accepted, these kernels were 1.54x-4.04x faster than default kernels at verification lengths 4-16. In single-request greedy decoding on three GDN-MoE targets, HybridSpec was 1.75x-1.88x faster than autoregressive decoding and 1.30x-1.33x faster than DFlash. The abstract reports that Qwen3.6-35B-A3B verification time rose 71% from length 4 to 16, versus 4%-6% for dense Qwen3-4B.

## Source excerpt

arXiv:2611.04055v1 Announce Type: cross Abstract: In speculative decoding, parallel drafters such as DFlash make drafting cheap, so target verification dominates each round. A central choice is the verification length, the number of tokens that the target processes in each round. Verifying more draft tokens can accept more of them, but work after the first rejection is wasted. For hybrid target models that combine Gated DeltaNet (GDN) and mixture-of-experts (MoE) layers, verification time grows much faster with this length than for dense models. In a single-request profile of Qwen3.6-35B-A3B with DFlash, it grew by 71% from length 4 to 16, almost entirely in GDN and MoE layers, compared with 4%-6% for a dense Qwen3-4B target. Each GDN layer must update a recurrent state at every token and recover it at the end of the accepted prefix. The MoE cost depends on the experts that the tokens activate, which are known only once verification runs. We present HybridSpec, which selects the verification length on the GPU from draft-side acceptance estimates and measured target latency. Verification then runs this length plus one extra token up to the first MoE router, before any expert runs. There, a lightweight routing correction uses the observed expert assignments to decide whether to keep that token. The rest of verification runs only on the selected tokens. Block-parallel GDN kernels avoid storing a state after every token and reconstruct the accepted state of every GDN layer in one launch. In isolated benchmarks at verification lengths 4 to 16 with every draft token accepted, these kernels, including accepted-state reconstruction, are $1.54\times$-$4.04\times$ faster than the default kernels. With three GDN-MoE target models in single-request greedy decoding, HybridSpec is $1.75\times$-$1.88\times$ faster than autoregressive decoding and $1.30\times$-$1.33\times$ faster than DFlash.