Hugging Face Papers ↗ · 2026-11-18
Clover-35B-A3B-Preview Technical Report
Media reports Hugging Face Papers Source language: Chinese
DiffuSpace technical team introduced Clover-35B-A3B-Preview, a 35B-total and 3B-active mixture-of-experts diffusion language model supporting thinking-mode generation…
Full text
Clover-35B-A3B-Preview \reporttypeTechnical Report
Clover-35B-A3B-Preview Technical Report
DiffuSpace Technical Team Affiliation: diffuspace.ai Email: jcye@diffuspace.ai Email: sansa@diffuspace.ai Email: gcqi@diffuspace.ai Email: ziruiwu@diffuspace.ai Email: xcfeng@diffuspace.ai
November 2026
Abstract
We introduce Clover-35B-A3B-Preview (Clover), a mixture-of-experts diffusion language model with 35 billion total parameters and 3 billion activated parameters, supporting thinking-mode generation. Clover adapts Gated Delta Networks to block diffusion by combining recurrent memory of previously generated context with bidirectional softmax attention inside the current block. Historical memory readout competes with current-block tokens in a shared softmax, with learnable block-size calibration and a separate, zero-initialized right-context convolution branch. Clover leads the seven evaluated agent metrics, including 73.6 on SWE-bench Verified and 51.7 on Terminal-Bench 2.1. On internal agent workloads, it reaches a reported generation speed of 680 tokens/s using one NVIDIA GB300 GPU at BF16 precision and batch size one. We organize the evaluation around model quality, drafting and verification costs, and deployment under constrained memory. We also describe a decision-model variant that generates answers to related questions in one denoising pass. On an internal set of 500 groups, joint prediction raises question accuracy from 90.37% to 93.88% and all-correct group accuracy from 65.4% to 77.0%. {resources} \resource\githubiconCodehttps://github.com/DiffuSpace/Clover-35B-A3B-Preview \resource\hficonWeightshttps://huggingface.co/Diffuspace/Clover-35B-A3B-Preview
keywordsDiffusion language models, block diffusion, gated delta networks, efficient inference, joint decision making
1 Introduction
Diffusion language models (DLMs) offer a different route to language generation: reconstructing sequences through iterative denoising, with multiple tokens predicted in parallel. This formulation connects flexible generation order with the prospect of efficient inference. Progress in diffusion formulations, model scaling, and decoding has brought DLMs from specialized text-generation settings to increasingly capable general-purpose models. The next step is to translate these advances into strong performance and practical efficiency across demanding applications.
Continuous text diffusion models established generation through denoising learned token representations. Diffusion-LM explored controllable generation, while DiffuSeq and DiffuSeq-v2 developed sequence-to-sequence diffusion and a bridge between discrete corruption and continuous representations [27, 16, 17]. Alongside these models, D3PM formalized structured categorical corruption [3]. Reparameterized Discrete Diffusion Models (RDM) exposed a routing interpretation of backward sampling [67]; SEDD and MDLM further developed discrete score modeling and masked-token reconstruction [31, 47].
Beyond text reconstruction, Diffusion of Thought explored denoising explicit reasoning trajectories [61]. Ye et al. [62] investigated discrete diffusion for planning and constraint-solving tasks, using multi-granularity learning and adaptive generation order. These studies established capability directions that complement the development of general-purpose DLMs.
Scaling made these ideas accessible through larger models. Adapting pretrained autoregressive checkpoints provided one route to diffusion language modeling [18]; LLaDA and Dream 7B broadened the publicly available model ecosystem [35, 64], and code-focused models such as Dream-Coder 7B extended masked diffusion to code generation and reinforcement learning with verifiable rewards [58, 19]. Block diffusion combines sequential progress across blocks with parallel denoising inside each block [2]. Fast-dLLM and Fast-dLLM v2 developed complementary inference and adaptation techniques based on caching and confidence-aware parallel decoding [56, 55]. DreamReasoner further extends block diffusion to long chain-of-thought reasoning through block-size curriculum learning [57].
Industrial development now spans commercial systems such as Mercury and publicly released models such as DiffusionGemma and LLaDA2.2 [22, 11, 23]. These systems have expanded the scope and deployment options of diffusion language modeling.
As the model ecosystem matures, agentic applications provide a demanding test of this progress: they require both capable tool use and efficient generation through repeated interactions with an environment. Strong results on isolated reasoning or code-generation tasks do not by themselves establish reliable repository-level problem solving. Competitive agent performance remains a challenge for open DLMs. Recent models already include agent evaluations, but the reproduced comparison shows that LLaDA2.2 flash and DiffusionGemma still trail the evaluated Qwen baselines on both Terminal-Bench 2.1 [32] and SWE-bench Verified [9] (Table 1). Advancing agent capability while retaining efficient parallel generation is a central motivation for Clover.
To this end, we present Clover-35B-A3B-Preview, an efficient and capable diffusion language model designed for agentic applications. It combines a 35B-total, 3B-active mixture-of-experts architecture with a bidirectional adaptation of Gated Delta Networks. Completed context is represented by recurrent memory, while tokens in the active block interact through softmax attention. A shared softmax combines historical and block-local information, with learnable block-size calibration and a separate right-context convolution branch. Our evaluation emphasizes agentic coding and tool use alongside general capabilities, and examines the cost of turning parallel predictions into accepted output tokens.
The report first introduces the modeling and decoding background, then presents Clover’s architecture, benchmark results, and runtime analysis. Separate sections examine on-device deployment and a decision-model variant that generates related answers jointly.
We release model weights, supervised fine-tuning code, and the inference engine, with particular emphasis on dedicated infrastructure for running Clover locally on consumer devices. We will continue to improve inference speed and model performance, expand multimodal capabilities, and contribute to the continued development of diffusion language models.
2 Preliminaries
2.1 Masked diffusion and block generation
Let x0=(x01,…,x0L)x_{0}=(x_{0}^{1},\ldots,x_{0}^{L}) be a clean token sequence and mm be the mask token. In an absorbing-mask forward process [3], each position is retained with probability αt\alpha_{t} and replaced by mm otherwise:
q(xti∣x0i)=αtδx0i(xti)+(1−αt)δm(xti),α0=1,α1=0.q(x_{t}^{i}\mid x_{0}^{i})=\alpha_{t}\,\delta_{x_{0}^{i}}(x_{t}^{i})+(1-\alpha_{t})\,\delta_{m}(x_{t}^{i}),\qquad\alpha_{0}=1,\quad\alpha_{1}=0. (1)
Here δ\delta denotes a point mass. A masked diffusion model (MDM) predicts clean tokens from the corrupted sequence. For a differentiable decreasing schedule, the standard continuous-time masked reconstruction objective [47, 49] can be written as
ℒMDM=𝔼t∼𝒰(0,1),x0,xt[w(t)∑i:xti=m(−logpθ(x0i∣xt,t))],w(t)=−αt′1−αt.\mathcal{L}_{\mathrm{MDM}}=\mathbb{E}_{t\sim\mathcal{U}(0,1),\,x_{0},\,x_{t}}\left[w(t)\sum_{i:x_{t}^{i}=m}\bigl(-\log p_{\theta}(x_{0}^{i}\mid x_{t},t)\bigr)\right],\qquad w(t)=-\frac{\alpha_{t}^{\prime}}{1-\alpha_{t}}. (2)
Fast-dLLM accelerates masked diffusion through approximate KV reuse and confidence-aware parallel decoding, while Fast-dLLM v2 develops block-level caching [56, 55]. In block diffusion [2], completed blocks supply context for subsequent blocks. We divide the output into blocks B1,…,BKB_{1},\ldots,B_{K} and let ckc_{k} contain the prompt and completed blocks preceding BkB_{k}. The model denoises the current block conditional on ckc_{k}, with bidirectional access to its partially reconstructed contents. Block size, the number of denoising passes, and the token selection rule together determine how much parallelism is exposed. See Section 3.4 for Clover’s training setup.
2.2 Self-speculative decoding
Speculative decoding accelerates autoregressive generation by verifying multiple draft tokens in a single target-model pass [5, 28]. Recently, diffusion language models offer a natural drafting mechanism through parallel block prediction, as demonstrated by DFlash [7] and DFlash 2 [24]. Self-speculative decoding integrates these roles within the same model: diffusion-style block prediction supplies candidate tokens, and autoregressive verification determines which prefix can be committed. NVIDIA’s Nemotron-Labs-Diffusion supports autoregressive, diffusion, and self-speculation decoding within one model [15].
2.3 Gated Delta Networks
Gated Delta Networks combine recurrent state decay with a delta-rule memory update [60]. With column-vector keys kik_{i}, values viv_{i}, and queries qiq_{i}, one conventional orientation of the recurrence is
S~i\displaystyle\widetilde{S}_{i} =γiSi−1,\displaystyle=\gamma_{i}S_{i-1}, (3)
Si\displaystyle S_{i} =S~i+βi(vi−S~iki)ki⊤,oi=Siqi.\displaystyle=\widetilde{S}_{i}+\beta_{i}(v_{i}-\widetilde{S}_{i}k_{i})k_{i}^{\top},\qquad o_{i}=S_{i}q_{i}. (4)
Here Si∈ℝdv×dkS_{i}\in\mathbb{R}^{d_{v}\times d_{k}} stores the recurrent memory, while γi\gamma_{i} and βi\beta_{i} control retention and the update. The delta rule writes the residual between a new value and the value retrieved with its key. Unlike a token-wise attention cache, this state has a fixed shape for a fixed head configuration. (4) suppresses head indices, feature normalization, and surrounding projections.
A causal recurrence summarizes information to the left of a token. Clover’s adaptation retains this role for completed context and introduces bidirectional interactions for tokens being denoised together. The distinction is between completed history and the active block; bidirectionality does not expose unseen future blocks.
3 Clover-35B-A3B-Preview: Architecture and Evaluation
3.1 Model overview
Clover-35B-A3B-Preview adapts the text backbone of Qwen3.6-35B-A3B [45] into a block diffusion language model with approximately 35B total parameters and 3B activated parameters per token. Its hybrid backbone combines recurrent sequence mixing, full attention, and sparse expert computation. We adapt two components to block denoising: Block-diffusion Gated DeltaNet (BD-GDN) combines compressed clean history with bidirectional interactions inside the current block, while dMoE coordinates expert selection across that block. Figure 1 summarizes the architecture.
Figure 1: Clover architecture. (a) Three BD-GDN–dMoE layers and one full-attention–dMoE layer form a group repeated ten times. Backbone normalizations are RMSNorm. (b) Pink boxes are linear projections; the QQ, KK, VV, and ZZ paths carry query, key, value, and output-gate features. Stacked boxes indicate multiple heads: 16 query heads, 16 key heads, and 32 value heads; each query/key head serves two value heads. The historical readout from SbS_{b} and block-local information are combined by the shared softmax. Output RMSNorm operates per value head, and gated head outputs are concatenated before the output projection. (c) dMoE combines token-level top-eight routing within a block coreset with a shared expert. Solid lines carry features, dashed arrows show routing, and gray experts are inactive. For one token, pip_{i} is the normalized weight of routed expert ii, and gsg_{s} is the shared expert’s sigmoid gate.
Hybrid backbone.
The model has 40 decoder layers with hidden width D=2,048D=2{,}048. A group of three BD-GDN layers followed by one full-attention layer is repeated ten times, giving 30 recurrent mixers and 10 full-attention mixers. Each mixer is followed by a dMoE [14] module, with pre-normalization and residual connections:
Uℓ\displaystyle U^{\ell} =Hℓ+Mixerℓ(RMSNorm(Hℓ)),\displaystyle=H^{\ell}+\operatorname{Mixer}_{\ell}(\operatorname{RMSNorm}(H^{\ell})), (5)
Hℓ+1\displaystyle H^{\ell+1} =Uℓ+dMoEℓ(RMSNorm(Uℓ)).\displaystyle=U^{\ell}+\operatorname{dMoE}_{\ell}(\operatorname{RMSNorm}(U^{\ell})).
Here ℓ\ell indexes decoder layers, Hℓ∈ℝL×DH^{\ell}\in\mathbb{R}^{L\times D} is the input hidden-state sequence of length LL, and UℓU^{\ell} is the intermediate state after sequence mixing. Mixerℓ\operatorname{Mixer}_{\ell} is either BD-GDN or full attention; RMSNorm [65] normalizes each token over its feature dimension with a learned feature-wise scale.
BD-GDN uses Hk=16H_{k}=16 query/key heads and Hv=32H_{v}=32 value heads, with key and value dimensions dk=dv=128d_{k}=d_{v}=128. Each query/key head serves two value heads. Full-attention layers use 16 query heads, two K/V heads, and head dimension 256, with query/key normalization, partial rotary position embeddings [51], and a sigmoid output gate. The model supports 131,072 tokens across the prompt and generated response, with untied input/output embeddings and a vocabulary of 248,320 entries.
{takeaway}
Our architectural exploration led us to prioritize bidirectional interaction within Clover’s current active block. By enabling tokens to use context from both directions as fully as possible, we aim to preserve and fully exploit the bidirectional modeling capability of diffusion, while retaining efficient access to the completed prefix.
3.2 Block-diffusion Gated DeltaNet
BD-GDN separates writing completed context from reading it during denoising. The clean path retains the gated delta-rule recurrence of Section 2.3 [60]. The noisy path reads the resulting prefix state and combines it with bidirectional attention over the current block. This prefix state stays fixed throughout the block’s denoising passes.
Projected features and notation.
Let hi∈ℝDh_{i}\in\mathbb{R}^{D} be the RMS-normalized input to the BD-GDN at token position ii. Linear projections produce query, key, and value features; these pass through the short convolution and SiLU activation described below. The resulting per-head vectors are qi,ki∈ℝdkq_{i},k_{i}\in\mathbb{R}^{d_{k}} and vi∈ℝdvv_{i}\in\mathbb{R}^{d_{v}}. Queries and keys then undergo
q^i=qi∥qi∥22+ϵ,k^i=ki∥ki∥22+ϵ,ϵ=10−6.\widehat{q}_{i}=\frac{q_{i}}{\sqrt{\lVert q_{i}\rVert_{2}^{2}+\epsilon}},\qquad\widehat{k}_{i}=\frac{k_{i}}{\sqrt{\lVert k_{i}\rVert_{2}^{2}+\epsilon}},\qquad\epsilon=10^{-6}. (6)
Here ∥⋅∥2\lVert\cdot\rVert_{2} is the Euclidean norm over one head’s features; the hats denote the normalized vectors. We describe one value head below, omitting layer and head indices on its vectors and recurrent state. Query/key heads are repeated to match the 32 value heads.
Clean memory update.
For a clean token, the learned retention and write gates are
αi=exp[−exp(alog)softplus(wa⊤hi+bΔ)],βi=σ(wβ⊤hi).\alpha_{i}=\exp\!\left[-\exp(a_{\log})\operatorname{softplus}(w_{a}^{\top}h_{i}+b_{\Delta})\right],\qquad\beta_{i}=\sigma(w_{\beta}^{\top}h_{i}). (7)
The vectors wa,wβ∈ℝDw_{a},w_{\beta}\in\mathbb{R}^{D} project the token to scalar gates; aloga_{\log} and bΔb_{\Delta} are learned scalars for this head. We use σ(u)=1/(1+e−u)\sigma(u)=1/(1+e^{-u}) and softplus(u)=log(1+eu)\operatorname{softplus}(u)=\log(1+e^{u}). Thus αi\alpha_{i} controls retention of the previous memory and βi\beta_{i} controls the strength of the new write. The update is
S~i\displaystyle\widetilde{S}_{i} =αiSi−1,\displaystyle=\alpha_{i}S_{i-1}, (8)
Si\displaystyle S_{i} =S~i+βi(vi−S~ik^i)k^i⊤,\displaystyle=\widetilde{S}_{i}+\beta_{i}(v_{i}-\widetilde{S}_{i}\widehat{k}_{i})\widehat{k}_{i}^{\top},
oiclean\displaystyle o_{i}^{\mathrm{clean}} =Siq^i/dk.\displaystyle=S_{i}\widehat{q}_{i}/\sqrt{d_{k}}.
The memory Si∈ℝdv×dkS_{i}\in\mathbb{R}^{d_{v}\times d_{k}} stores completed context, and S~i\widetilde{S}_{i} is its decayed value before the write. The residual vi−S~ik^iv_{i}-\widetilde{S}_{i}\widehat{k}_{i} corrects the value retrieved with the current key; oiclean∈ℝdvo_{i}^{\mathrm{clean}}\in\mathbb{R}^{d_{v}} is the clean output. Each packed example starts from a zero state; padding neither writes nor decays the memory.
Combining history and the current block.
Let bb index the block being denoised, SbS_{b} denote its clean prefix state, and 𝒜b\mathcal{A}_{b} be the set of valid token positions in that block. For query position j∈𝒜bj\in\mathcal{A}_{b}, the historical readout is
rj=Sbq^jdk,rj∈ℝdv.r_{j}=\frac{S_{b}\widehat{q}_{j}}{\sqrt{d_{k}}},\qquad r_{j}\in\mathbb{R}^{d_{v}}. (9)
Here SbS_{b} is the state at the block boundary, whereas SiS_{i} in (8) is indexed by a clean token. The readout retains the 1/dk1/\sqrt{d_{k}} scaling of the clean GDN output. It does not apply the noisy query’s decay gate: α\alpha and β\beta govern clean memory updates.
BD-GDN treats rjr_{j} as one information unit alongside the block’s token values. For each layer and value head hh, we learn a local logit scale shs_{h}, a history bias bhb_{h}, and a block-size coefficient chc_{h}. With Nb=|𝒜b|N_{b}=|\mathcal{A}_{b}| and reference size Nref=32N_{\mathrm{ref}}=32, the logits are
ℓji=shq^j⊤k^i(i∈𝒜b),ℓj,hist=bh+chlog(Nb/Nref).\ell_{ji}=s_{h}\widehat{q}_{j}^{\top}\widehat{k}_{i}\quad(i\in\mathcal{A}_{b}),\qquad\ell_{j,\mathrm{hist}}=b_{h}+c_{h}\log(N_{b}/N_{\mathrm{ref}}). (10)
The index ii runs over current-block keys, while jj identifies the query. The subscript hh indexes value heads, not token positions. One softmax normalizes the NbN_{b} local logits and the history logit together:
({pji}i∈𝒜b,pj,hist)\displaystyle(\{p_{ji}\}_{i\in\mathcal{A}_{b}},p_{j,\mathrm{hist}}) =softmax({ℓji}i∈𝒜b,ℓj,hist),\displaystyle=\operatorname{softmax}(\{\ell_{ji}\}_{i\in\mathcal{A}_{b}},\ell_{j,\mathrm{hist}}), (11)
oj\displaystyle o_{j} =pj,histrj+∑i∈𝒜bpjivi.\displaystyle=p_{j,\mathrm{hist}}r_{j}+\sum_{i\in\mathcal{A}_{b}}p_{ji}v_{i}.
The weights pjip_{ji} and pj,histp_{j,\mathrm{hist}} sum to one for each query and head; oj∈ℝdvo_{j}\in\mathbb{R}^{d_{v}} is their weighted output. A query can therefore use both the compressed prefix and individual current-block tokens. Local logits use the learned scale shs_{h} on normalized Q/K; the 1/dk1/\sqrt{d_{k}} factor scales the historical value, not these logits. All valid block positions participate, including the query itself and unresolved mask tokens. Padding is excluded from 𝒜b\mathcal{A}_{b}.
Learnable block-size calibration.
History occupies one softmax entry, while the number of local entries grows with block size. The term chlog(Nb/Nref)c_{h}\log(N_{b}/N_{\mathrm{ref}}) compensates for this change in the number of competitors. To see the effect, suppose all local logits equal a common value μ\mu and ch=1c_{h}=1. Then
pj,hist=exp(bh)exp(bh)+Nrefexp(μ),p_{j,\mathrm{hist}}=\frac{\exp(b_{h})}{\exp(b_{h})+N_{\mathrm{ref}}\exp(\mu)}, (12)
which is independent of NbN_{b}. Learning chc_{h} lets each head adjust this compensation as its local logit distribution changes. We initialize (sh,bh,ch)=(10,5,1)(s_{h},b_{h},c_{h})=(10,5,1). The count NbN_{b} includes unresolved mask positions and excludes padding, so partial blocks use their actual valid length.
Independent bidirectional short convolution.
The query, key, and value projections form a tensor with C=2Hkdk+Hvdv=8,192C=2H_{k}d_{k}+H_{v}d_{v}=8{,}192 channels. Let uc,iu_{c,i} be channel cc of this tensor at token position ii, before convolution. We combine a causal depthwise kernel of width W=4W=4 with an independent right-context kernel:
ac,i\displaystyle a_{c,i} =∑r=0W−1wc,r←uc,i−(W−1−r)+∑m=1W−1wc,m→uc,i+m,\displaystyle=\sum_{r=0}^{W-1}w^{\leftarrow}_{c,r}u_{c,i-(W-1-r)}+\sum_{m=1}^{W-1}w^{\rightarrow}_{c,m}u_{c,i+m}, (13)
u¯c,i\displaystyle\bar{u}_{c,i} =SiLU(ac,i).\displaystyle=\operatorname{SiLU}(a_{c,i}).
Here rr indexes causal taps, mm is the rightward token offset, and w←w^{\leftarrow} and w→w^{\rightarrow} are the two learned kernel weights. Their outputs are summed before one activation SiLU(u)=uσ(u)\operatorname{SiLU}(u)=u\sigma(u); u¯\bar{u} is then split into Q/K/V. The convolution is bias-free and operates independently on each channel. Left inputs come from committed convolution history and earlier positions of the current block. Right inputs are restricted to valid successors in that block; missing inputs contribute zero. Thus no right tap crosses a block or packed-example boundary (Figure 2).
We retain the pretrained causal kernel and initialize all three right taps to zero. This preserves the causal convolution at initialization while allowing the added taps to learn local right-context features. Clean prefill and causal commit use only the causal kernel. Across 30 BD-GDN layers, the right kernels add 737,280 parameters and the three per-head softmax scalars add 2,880, for a total of 740,160 new parameters.
Figure 2: The two block-diffusion adaptations in BD-GDN. (a) The query-specific history readout rjr_{j} from (9) competes with NbN_{b} current-block values in one softmax. Its logit includes learnable block-size calibration. (b) Independent causal and right-context depthwise kernels are summed before SiLU. The right taps start at zero and read only valid successors in the current block; clean prefill and commit use the causal kernel.
Output gating and cache updates.
Each value head applies RMSNorm over its dvd_{v} output features and a SiLU output gate. Concatenating all heads gives the mixer output
zj=Wzhj,yj=WoConcath[RMSNorm(oj,h)⊙SiLU(zj,h)].z_{j}=W_{z}h_{j},\qquad y_{j}=W_{o}\operatorname{Concat}_{h}\left[\operatorname{RMSNorm}(o_{j,h})\odot\operatorname{SiLU}(z_{j,h})\right]. (14)
The learned projection WzW_{z} produces HvdvH_{v}d_{v} gate features, split into per-head vectors zj,h∈ℝdvz_{j,h}\in\mathbb{R}^{d_{v}}; WoW_{o} maps the concatenated features back to width DD. The symbol ⊙\odot denotes element-wise multiplication, and yjy_{j} enters the mixer residual in (5). Every denoising pass reads the same committed recurrent and convolution caches. Once the block is resolved, causal replay recomputes its clean activations and advances these caches. Full-attention preview K/V are likewise temporary and become persistent only through the clean path.
3.3 Block-aware expert routing
Parallel block prediction can spread token-level routing across many experts. Following dMoE [14], we coordinate these choices by first selecting a shared expert pool for the block, then routing individual tokens within that pool (Figure 1c). Each module contains 256 routed experts and one shared expert, all using SwiGLU [48] with intermediate width 512.
For the RMS-normalized dMoE input fj∈ℝDf_{j}\in\mathbb{R}^{D}, a learned router Wr∈ℝ256×DW_{r}\in\mathbb{R}^{256\times D} produces probabilities aje=softmax(Wrfj)ea_{je}=\operatorname{softmax}(W_{r}f_{j})_{e} over routed experts e∈{1,…,256}e\in\{1,\ldots,256\}. We first identify each valid block token’s top-eight experts and sum their probabilities ajea_{je} by expert across the block. Sorting these aggregate scores, we retain the smallest expert prefix covering a fraction τ\tau of their total mass. This is the block’s expert coreset; the released configuration uses τ=0.9\tau=0.9. Each layer and denoising pass computes its own coreset. Invalid padding does not contribute to its scores.
We mask router logits outside the coreset and rerun token-level top-eight selection. Let 𝒯j\mathcal{T}_{j} contain token jj’s selected experts with nonzero weight, and let pje=aje/∑e′∈𝒯jaje′p_{je}=a_{je}/\sum_{e^{\prime}\in\mathcal{T}_{j}}a_{je^{\prime}} for e∈𝒯je\in\mathcal{T}_{j}. The module output is
dMoE(fj)=gs(fj)Es(fj)+∑e∈𝒯jpjeEe(fj),gs(fj)=σ(ws⊤fj).\operatorname{dMoE}(f_{j})=g_{s}(f_{j})E_{s}(f_{j})+\sum_{e\in\mathcal{T}_{j}}p_{je}E_{e}(f_{j}),\qquad g_{s}(f_{j})=\sigma(w_{s}^{\top}f_{j}). (15)
Here EeE_{e} is routed expert ee and EsE_{s} is the shared expert, each mapping width DD back to width DD; ws∈ℝDw_{s}\in\mathbb{R}^{D} is the shared gate’s learned projection. The shared expert is always evaluated and is outside the coreset selection. This block-level restriction encourages expert reuse across parallel predictions while retaining token-specific weights. Clean causal processing uses ordinary token-level routing, so its expert choices do not depend on later tokens.
3.4 Training recipe
We extend Megatron-Core [34] and Megatron Bridge [37] to train the hybrid backbone with block diffusion. The implementation carries the same clean/noisy distinction through sequence packing, attention masks, recurrent state, expert routing, and distributed execution.
Two-stream training and causal isolation.
For each example ss, we construct a corrupted copy xt(s)x_{t}^{(s)} and a clean copy x0(s)x_{0}^{(s)}, where tt denotes the corruption level introduced in Section 2. The copies share semantic token positions and are stored as [xt(1)∣x0(1)∣xt(2)∣x0(2)∣⋯][x_{t}^{(1)}\mid x_{0}^{(1)}\mid x_{t}^{(2)}\mid x_{0}^{(2)}\mid\cdots]. Clean queries are token-causal. A noisy query can read clean tokens strictly before its block and noisy tokens within that block, but cannot read its clean target block or other noisy blocks. Explicit example, stream, and block identities enforce this visibility after packing. Padding inserted for alignment neither advances clean memory nor becomes a supervision target. For each microbatch, we uniformly sample the block size from {4,8,16,32}\{4,8,16,32\} and use the resulting boundaries consistently for attention, BD-GDN, right-context convolution, and expert routing.
Denoising and auxiliary causal supervision.
The denoising objective uses no-shift alignment: logits at position ii predict x0ix_{0}^{i}, with corruption, labels, and loss masks aligned to the same position. The auxiliary clean-stream objective uses shifted next-token prediction, where position ii predicts x0i+1x_{0}^{i+1}. For a sampled corruption, let x~b\widetilde{x}_{b} denote noisy block bb, and cbc_{b} its clean prefix, including the prompt. Let ℳ\mathcal{M} be the corrupted positions eligible for training and 𝒯\mathcal{T} the clean positions with a valid, supervised next-token target in the same example. The supported joint objective is
ℒBD\displaystyle\mathcal{L}_{\mathrm{BD}} =1|ℳ|∑i∈ℳw(ti)[−logpθ(x0i∣x~b(i),cb(i))],\displaystyle=\frac{1}{|\mathcal{M}|}\sum_{i\in\mathcal{M}}w(t_{i})[-\log p_{\theta}(x_{0}^{i}\mid\widetilde{x}_{b(i)},c_{b(i)})], (16)
ℒAR\displaystyle\mathcal{L}_{\mathrm{AR}} =1|𝒯|∑i∈𝒯[−logpθ(x0i+1∣x0≤i)],\displaystyle=\frac{1}{|\mathcal{T}|}\sum_{i\in\mathcal{T}}[-\log p_{\theta}(x_{0}^{i+1}\mid x_{0}^{\leq i})],
ℒ\displaystyle\mathcal{L} =λBDℒBD+λARℒAR.\displaystyle=\lambda_{\mathrm{BD}}\mathcal{L}_{\mathrm{BD}}+\lambda_{\mathrm{AR}}\mathcal{L}_{\mathrm{AR}}.
Here θ\theta denotes model parameters and pθp_{\theta} its predicted token distribution. The index ii runs over semantic token positions, and b(i)b(i) identifies the block containing position ii. The noise level associated with position ii is tit_{i}, and w(ti)w(t_{i}) is its configured weight; w=1w=1 gives unweighted masked cross-entropy. The coefficients λBD\lambda_{\mathrm{BD}} and λAR\lambda_{\mathrm{AR}} weight the two losses. An empty selection contributes zero. In the causal term, i+1i+1 means the next real token, skipping alignment padding. Its target loss mask determines eligibility, allowing the last prompt token to predict the first assistant token. Both objectives share one backbone pass and one output projection over the union of selected positions, followed by one fused cross-entropy computation and separate reductions.
Long-context sparse attention.
The two streams double a 128K-token semantic sequence to approximately 256K stored positions. We describe permitted interactions with structured metadata derived from example boundaries, stream roles, semantic positions, and block identities. FlexAttention [12] uses this metadata to execute permitted attention tiles. The same identities guide BD-GDN, convolution, and expert routing and are reused during activation recomputation, keeping visibility consistent across the hybrid layers.
Parallelism for heterogeneous layers.
Context parallelism shards a sequence across devices, but the required communication differs by mixer. Full-attention layers keep local queries and gather and reorder K/V. BD-GDN supports either a Ulysses sequence-to-head transpose [25] or recurrent-state propagation using the context-parallel implementation in Flash Linear Attention (FLA)11 1 https://github.com/fla-org/flash-linear-attention/blob/main/fla/ops/cp [59], which we refer to as FLA-KCP. Ulysses redistributes projected features before convolution and restores the sequence-sharded layout before output projection; FLA-KCP preserves ordered state dependencies across sequence shards. Expert parallelism partitions routed experts across devices. Block metadata follows each layout transformation, and sampled noise and block identities are kept consistent across ranks and pipeline stages processing the same example.
3.5 Decoding recipe
Expert routing.
We use the block-level expert coreset described in Section 3.3 for diffusion decoding or drafting, while causal verification retains token-level routing.
Confidence-aware decoding.
We decode the response block by block using a predict-and-commit strategy [56, 23, 8, 57]. Given the committed prefix x≤tx_{\leq t}, we append a block of BB mask tokens and predict all BB masked positions in parallel. We commit the predictions whose confidence exceeds a predefined threshold and remask the remaining positions, which can be refined in the next diffusion step. Once all tokens are decoded, we update the clean memory and move to the next block.
Self-speculative decoding.
Rather than committing tokens solely based on a fixed confidence threshold, we use the causal GDN to verify the draft block generated by a single diffusion step. We consider two acceptance rules: exact verification and entropy-based verification. For each draft token dd, let pp denote its corresponding causal verification distribution. Exact verification accepts dd only when it matches the causal encoder’s greedy prediction [26, 15, 7], i.e., d=argmaxv∈𝒱p(v)d=\arg\max_{v\in\mathcal{V}}p(v). In contrast, entropy-based verification adapts the acceptance threshold based on the uncertainty of prediction [21, 5]. Specifically, let H=−∑v∈𝒱p(v)logp(v)H=-\sum_{v\in\mathcal{V}}p(v)\log p(v) denote the entropy of pp. The draft token is accepted if
p(d)≥δexp(−H),p(d)\geq\delta\exp(-H), (17)
where δ\delta is a predefined hyperparameter. Under both rules, draft tokens are verified sequentially until the first rejection, and only the accepted prefix of the draft block is committed. All subsequent evaluations of Clover-35B-A3B-Preview use entropy-based self-speculative decoding.
Decoding penalties.
To mitigate repetition occasionally observed in diffusion decoding, we apply history-aware presence and repetition penalties to both confidence-aware and self-speculative decoding, with coefficients of 0.90.9 and 1.051.05, respectively. We additionally use length-dependent positive logit biases for stop tokens and the token in thinking mode to encourage response termination and the transition from reasoning to the final answer.
3.6 Benchmark performance
We evaluate Clover against LLaDA2.2 flash (104B-A7.4B), DiffusionGemma (26B-A4B), Mercury 2.5, and the autoregressive Qwen3.6-35B-A3B and Qwen3.5-35B-A3B models [23, 11, 22, 45, 44]. Table 1 covers 18 benchmarks spanning knowledge, mathematics, code, reasoning, instruction following, long-context understanding, and agent tasks.
Evaluation protocol.
All main-table baselines are reproduced under the same evaluation protocol, using each model’s officially recommended decoding configuration. LLaDA2.2 flash uses its instruct model without a thinking mode; Mercury 2.5 uses thinking at its default medium effort. Coding-agent evaluations use Terminus 2 for Terminal-Bench [32] and Codex as harness for SWE-bench [9], with each task evaluated three times and scores averaged. GDPval-AA v2 [41] is evaluated locally using the recipe provided by NVIDIA NeMo Gym [36]. Terminal-Hard contains 21 hard tasks selected from Terminal-Bench Core v0.1.1. Other benchmarks are evaluated using EvalScope [54].
Table 1: Main benchmark results. All models are evaluated in-house under the protocol described in the text. Higher is better; \firstred bold marks the best value and \secondblue bold the second-best distinct value within each row, including ties. Shading identifies Clover. GDPval-AA v2 uses Elo, so its differences are not percentage points.
Benchmark \oursClover 35B-A3B-Preview LLaDA2.2 flash 104B-A7.4B DiffusionGemma 26B-A4B Mercury 2.5 Qwen3.6 35B-A3B Qwen3.5 35B-A3B
Knowledge
GPQA Diamond \first83.8 47.5 68.2 76.3 \second83.3 78.3
HLE text-only 12.8 5.3 10.9 8.9 \second21.2 \first21.6
MMLU-Pro \second84.8 71.0 80.9 84.1 84.7 \first85.2
Math
MATH-500 \second96.2 93.2 94.4 93.8 \second96.2 \first97.2
AIME 2026 (avg@8) \second83.3 56.7 68.3 48.8 \first90.4 \first90.4
Code
LiveCodeBench v6 \second72.6 39.4 63.4 64.0 71.4 \first74.3
SciCode \second30.9 14.4 29.9 30.2 \first31.3 25.1
Reasoning
ZebraLogic \first95.8 59.1 80.3 73.3 78.6 \second89.2
Instruction following
IFBench \first72.3 31.7 68.3 \second71.0 61.3 67.7
Long context
AA-LCR \first72.0 33.0 47.0 \second70.0 66.0 57.0
Tool agent
τ3\tau^{3} Overall \first65.3 51.4 32.1 58.0 \second60.9 44.3
BFCL-v4 \first67.9 59.3 63.4 \second66.1 63.4 62.2
Work agent
GDPval-AA v2 (Elo) \first1091 651.0 721.0 742.0 \second1049.0 800.0
Coding agent
Terminal-Bench 2.1 \first51.7 18.0 13.5 33.0 \second43.1 37.1
Terminal-Hard \first38.1 22.2 7.9 25.4 \second31.8 25.4
SWE-bench Verified \first73.6 49.3 23.8 57.8 \second65.8 61.4
SWE-Pro \first46.5 30.1 7.6 40.0 \second42.7 40.1
Model configuration. LLaDA2.2 flash is available as an instruct model without a thinking mode; Mercury 2.5 is evaluated with thinking enabled at medium effort. Qwen3.6 and Qwen3.5 are autoregressive baselines. Evaluation. Coding-agent tasks use Terminus 2 for Terminal-Bench and Codex for SWE-bench, averaging three evaluations per task. GDPval-AA v2 is run locally using the NVIDIA NeMo Gym recipe. Terminal-Hard consists of 21 hard tasks selected from Terminal-Bench Core v0.1.1. Other benchmarks use EvalScope. Baselines share the evaluation protocol and use each model’s officially recommended decoding configuration.
Agentic capability.
Clover’s clearest strength is its ability to turn reasoning into effective actions, with a consistent lead across the seven evaluated agent benchmarks [4, 40, 41, 32, 9, 10]. SWE-bench Verified and Terminal-Bench are particularly informative because they assess task completion in software repositories and executable environments, where useful progress requires understanding context, choosing actions, and responding to execution feedback. Strong performance in these settings demonstrates capability beyond generating plausible code: the model must help bring a task to a verifiable outcome. The accompanying results on tool-use and professional-work evaluations broaden this picture, showing that Clover’s agent performance extends across different task types under the reported evaluation setups.
General capabilities.
The general benchmarks show that Clover’s agent strengths are accompanied by a broad base of knowledge, reasoning, and instruction-following capability. ZebraLogic, IFBench, and AA-LCR are especially relevant [43, 29, 52]: they test reasoning under interdependent constraints, adherence to instructions, and the ability to connect information across long documents. Clover’s strong results on these tasks are encouraging for applications that require both careful interpretation of a task and sustained use of its context. Its competitive knowledge-benchmark [46, 42] performance further broadens this capability profile. More demanding knowledge questions, competition mathematics, and standalone coding remain useful directions for improvement. Overall, the results position Clover as a capable general-purpose model with particular strength in agentic applications.
{takeaway}
Clover combines strong task execution across coding, tool-use, and professional-work evaluations with competitive general capabilities. Its strengths in reasoning, instruction following, and long-context understanding complement this agentic capability profile.
3.7 Generation speed of self-speculative decoding
Evaluation setup and workloads.
We compare Clover-35B-A3B-Preview with Qwen3.6-35B-A3B accelerated by DFlash 2 [24] on a single NVIDIA H200 GPU. All experiments use BF16 precision, a batch size of one, a block size of 16 and greedy decoding. Clover uses entropy-based self-speculative decoding with δ=0.6\delta=0.6, defined in Section 3.5. We select three representative workloads for evaluation: MATH-500, agent replay, and daily chat.
The agent replay corpus contains 64 prefixes from historical trajectories generated by Qwen3.6-35B-A3B. We select one prefix per trajectory in sorted path order, alternating targets of 8K and 16K input tokens. Eligible prefixes end in a user message, contain 8K–24K historically recorded input tokens, and precede a historical response of at least 1,024 tokens. Thus, corpus construction is deterministic and targets long-context generation. At evaluation time, the model generates a new continuation; commands are not executed. Replay measures inference speed, not a complete agent rollout or task success. The daily chat prompts cover everyday and explanatory topics, including diffusion, sleep, memory, weather, batteries, refrigerators, the Internet, GPS, seasons, bread, music, language learning, habits, stars, plants, and photography. Each prompt requests a 1,200–1,600-word English response, without imposing a minimum token count.
Measurement definitions.
For request ii, let CiC_{i} be the completion-token count, FiF_{i} the token count in its first streamed event, LiL_{i} its elapsed latency, TiT_{i} its time to first token (TTFT), and ViV_{i} its number of verification rounds. We report aggregate committed tokens per round and decode throughput as
A=∑iCi∑iVi,TPSdecode=∑i(Ci−Fi)∑i(Li−Ti).A=\frac{\sum_{i}C_{i}}{\sum_{i}V_{i}},\qquad\mathrm{TPS}_{\mathrm{decode}}=\frac{\sum_{i}(C_{i}-F_{i})}{\sum_{i}(L_{i}-T_{i})}. (18)
The accounting for AA includes bonus and boundary tokens and the first token emitted by prefill. Decode TPS excludes prefill and the wait before the first event, but includes thinking, answer text, and client-side streaming overhead. It is a ratio of cumulative tokens to cumulative time, not an average of per-request rates. We do not separately report TTFT against autoregressive decoding because Clover uses the same prefill computation; TTFT is therefore largely unchanged, and we focus on the decoding phase.
Table 2 shows that Clover sustains high committed-token yields across all three workloads, exceeding DFlash 2 in tokens committed per verification round. On MATH-500, however, its higher drafting cost offsets this advantage, resulting in lower decode throughput than DFlash 2. On agent replay and daily chat, Clover achieves both higher committed-token yields and higher throughput. We attribute this advantage to Clover’s drafting capability developing alongside the model throughout training. In contrast, methods such as DFlash train a separate lightweight drafter on target-generated responses over a selected prompt distribution, which may not cover the full range of workloads supported by the target. Expanding training data can improve coverage, but the drafter’s limited capacity may still constrain how well it captures the target’s behavior across workloads. These results highlight the importance of both draft cost and workload coverage when translating s