Diffusion field guide

Concept Learning / Generative models

Diffusion, from
noise to tokens.

In vision, diffusion learns to turn noise into an image. In language, it can learn to fill or revise token slots. DSpark is different: it proposes tokens for another model to check.

Three paths to an outputMechanism map
Continuous diffusion, text diffusion, and speculative decoding A noisy signal is denoised; a masked canvas is repeatedly refined; a draft prefix is then verified by a separate target. 01 / SIGNAL02 / CANVAS03 / PROPOSAL ??of?ofcourse EFGEFG* TARGET CHECK →

01 / Continuous diffusion

How can you make an image from noise?

A diffusion model learns to reverse a process that gradually destroys information. Training starts with real images: corrupt one at a chosen noise level, then teach the same network to predict what was lost or added. Generation starts with fresh noise, not a damaged photo. The model repeatedly uses what it learned about images to take a less noisy step.

A · CorruptImage → noisy image

A known Gaussian rule turns different training images into denoising problems. Near the end their distributions are close to Gaussian noise.

B · LearnNoisy image + time → prediction

Time tells the network how much detail it should expect. In DDPM the sampled noise is the label. The network sees neither the clean image nor that noise directly.

C · GenerateFresh noise → a new sample

At high noise the model leans more on the image distribution it learned. As structure emerges, the next prediction has more signal to work with. Training and sampling are different loops.

Follow an 8×8 image through diffusion

Computed toy · no checkpoint

First leave the lab on Training example. The clean image and added noise are known to the trainer, so it can score the prediction. Switch to Generate and press Play: only the current noisy image goes into the predictor. Compare seeds to see why this is not recovery of a secret original.


        

All grids use the same display scale (clipped to [−2,2]); color clipping does not alter the math. The marked cell is row 2, column 3. Training scrubs marginal snapshots with the same noise draw, not a forward Markov trajectory. Generation uses adjacent DDPM-style steps with fixed posterior variance. This lab knows two possible shapes and computes their posterior probabilities instead of running or training a neural network.

Where the toy prediction comes from

For each clean prototype z, compare the current image xₜ to αz. The likelihood is proportional to exp(−‖xₜ−αz‖²/(2σ²)). Normalize the two scores (equal prior), average the prototypes to obtain x̂₀, then compute ε̂=(xₜ−αx̂₀)/σ. This conditional mean is optimal for the toy mean squared noise error.

The real DDPM learns ε̂ with a U-Net instead. The lab uses βₜ=1−ᾱₜ/ᾱₜ₋₁ and β̃ₜ=βₜ(1−ᾱₜ₋₁)/(1−ᾱₜ). The latter is the Gaussian posterior variance conditioned on the clean image, used here as a fixed variance for the model step. The Gaussian approximation is not generally the exact reverse of a two-component distribution. Starting with standard Gaussian noise is the high-noise prior approximation, even here.

DDPM: Eqs. 4, 11, 14 and Algorithms 1–2 · Trace the network’s inputs and outputs

A one-number denoiser

Synthetic · x₀ = 2, ε = −1
Signal αx₀1.6
Noise σ ε−0.6
Noisy xₜ1
Reconstructed clean value 1.625

Subtract the predicted noise contribution; divide out the signal scale.

xₜ = α x₀ + σ ε   ·   x̂₀ = (xₜ − σ ε̂) / α   ·   α = √ᾱₜ, σ = √(1 − ᾱₜ)

Turn the signal down while keeping the error fixed. The clean error grows like σ/α. At inference the network cannot read ε directly; the “exact noise” button exists only in this example.

What trains, and what changes when you choose a sampler?

DDPM. ᾱₜ is cumulative retention: multiply the per-step factors (1−βᵢ) through step t. One training step samples a clean example, Gaussian noise and a noise level, and fits the noise predictor with squared error. Its simplified loss is not the original variational objective unchanged. The reverse solver uses the learned estimate to set the mean of a transition. DDPM §§2–3

Score / SDE / ODE. For Gaussian corruption, sₜ(xₜ) = −E[ε | xₜ,t]/σₜ. Average over noise consistent with this observation and noise level, not over all Gaussian draws. With scalar, state-independent diffusion g(t), the reverse SDE subtracts g(t)²sₜ from the forward drift while integrating backward; the probability-flow ODE subtracts half that term. At the exact score they share marginals, not paths. Score SDE §§3.2–3.3, 4.3

DDIM and EDM. At η=0, DDIM jumps to s using αₛ x̂₀ + σₛ ε̂; it can reuse the trained predictor. EDM separates scaling, noise grid and numerical solver. Heun normally evaluates two slopes per nonterminal step, so steps and neural evaluations need not match. DDIM · EDM

Flow matching. If you define the data-to-noise path xₜ=(1−t)x₀+tε, the paired velocity is ε−x₀. Fit a vector field then solve its ODE from noise to data. The marginal field need not follow each pair's straight line. Flow Matching §§3–4

Guidance. Mix noise estimates as εu + s(εc−εu); s=1 is ordinary conditional, s=0 unconditional. The paper's extrapolation weight is w=s−1. Guidance, numerical integration, and new training (distillation or consistency) are different ways to change the result. Classifier-Free Guidance

Pixels[1,3,256,256]

Convolutional U-Nets denoise a spatial grid with skip connections.

×8 latent[1,4,32,32]

Latent diffusion denoises here, then decodes. Text can enter by cross-attention.

DiT · 2×2 patch[1,256,H]

256 spatial tokens after patch projection. SD3's MMDiT uses modality-specific weights with joint attention.

Illustrative shapes, not universal architecture settings. LDM Fig. 3 · DiT · SD3 · Continuous diffusion research

02 / Diffusion language models

What does it mean to add noise to text?

A token ID is a label, not a coordinate: adding 0.3 to the ID of “lamp” is meaningless. One approach diffuses continuous token embeddings and maps back to tokens. Another changes token categories: hide a token with a mask or replace it with a randomly chosen token. A text denoiser outputs a distribution over words or subwords at each position.

Train on missing words; generate without the answer

Absorbing-mask toy · four slots

Two answers to “Report:” have equal prior probability: the lamp is on and the fan is off. A bidirectional denoiser can use any visible answer position. Watch “off” make “fan” certain before the second slot is filled.

Report:


        

The prompt is conditioned on, never masked. One illustrative input is [1,5] token IDs including the prompt, with response probabilities [1,4,6] over the six clean words. The toy derives probabilities from the two allowed answers, not from checkpoint logits. Preset uniforms make the demonstrated reveal order repeatable; parallel independent draws can still mix answers, as the next exercise shows.

MDLM §§3.2–3.4 · LLaDA §2 · Follow the architecture and masking rules

Two plausible answers, one hidden dependency

Exact joint-law example

Suppose the only valid pairs are “of course” and “no problem”, half each. Both positions have 50/50 marginals before either token is revealed.

Fixed prefix[MASK][MASK]

Neither slot has been committed yet.

Under independent draws, 2 of 4 equally likely combinations are invalid. The control picks one of those draws; it is not a performance measurement.

Read one discrete reverse step

Absorbing-mask kernel

Already visible tokens stay visible in this parameterization. For a masked token at a noise level with mask probability mt=0.75, step toward an earlier mask probability ms.

Reveal chance = 1 − mₛ/mₜ = 33.3%

Why? Of the mt mass now hidden, ms was already hidden, leaving the remainder to reveal. The denoiser supplies the conditional vocabulary distribution for any revealed slot. This is not a mandate to use this schedule during efficient deployment.

Architecture, training, and the precise KV-cache boundary

D3PM → MDLM. D3PM multiplies categorical transition matrices; an absorbing state cannot leave its mask in forward time. MDLM replaces a generic reverse parameterization with a visible-token copy rule, excludes the mask as a clean prediction, and fits masked-token NLL weighted by m′(t)/m(t) (1/t for linear masking). D3PM · MDLM

LLaDA. It trains bidirectional denoising from scratch, with a 1/t weight on masked-token loss in the paper. Its original generator reruns the full sequence even when it restricts which block may be filled. Block-ordered reveals do not imply cached prefix computation. LLaDA §2, Eq. 3

Dream. It adapts AR weights: hidden row hᵢ predicts the token at i+1, even though its attention is bidirectional. The paper's baseline uses 1/t with linear masking; CART instead weights each masked position using its context. The released SFT trainer has separate original, linear and cart modes, not a single CART-only recipe. Dream §§3.2, 4.1–4.2 · Pinned trainer

BD3-LM. Autoregressive between blocks, denoising within each block. Imagine a logical uncached sequence [B,8]: four finished slots and four active slots. In cached inference, the first four supply KV and the four active queries give [B,4,V] predictions. Vectorized training packs the noisy and clean copies into [B,16] instead. A noisy block can read its own noisy positions and clean earlier blocks, not its own clean copy. Block Diffusion §3.2

DiffusionGemma. Each 256-slot canvas starts with uniformly sampled vocabulary tokens, not masks. A bidirectional decoder uses multinomial diffusion: slots can change again before commit. The previous clean-token probabilities feed the next denoising step through a learned self-conditioning transform. Only after commit does the causal encoder append the finalized canvas to its KV cache. The encoder and decoder share weights. The authors report supervised fine-tuning, then sampler distillation and RL. There is no separate AR verifier in standard generation. Technical report §§3.1–3.3

Variants. ReMDM can explicitly revisit previously revealed tokens; Fast-dLLM's approximate reuse is not the same as exact reuse of frozen blocks. High throughput at low batch is not evidence of advantage under saturated concurrency. Language diffusion research and limits

03 / Paper walkthroughs

Trace one packet through the actual architectures.

Choose a paper and select a block. Each block gives its input, output, equation and source. Vision examples move grids or latent patches; language examples move token IDs, vocabulary distributions and cached context. Dimensions are labeled as paper/config-derived or illustrative rather than executed checkpoint shapes.

Architecture inspector

Source-linked · shape trace

    Packet contract

    In

    Out

    Source for this block

    Open the pinned CompVis code flow map · DiT Fig. 3 · MDLM Fig. 1 · BD3-LM Fig. 1 · DiffusionGemma Fig. 4

    04 / DSpark model internals

    One heavy parallel pass. Then a small serial correction.

    A diffusion LM writes its own answer by refining a canvas. DSpark is a speculative drafter: it uses the target’s context and a DFlash-style parallel input block, does one heavy draft pass, and lets the target commit or correct its proposals. Suppose the first proposed token is of. A rank-limited transition biases the next proposal so it need not act as if the first could still be no.

    Walk an anchor through the draft and verifier

    Computed miniature, not checkpoint output

    Our toy has two tapped prefix positions, two proposal slots, hidden width 2, a four-token vocabulary, and transition rank 1. It computes projection, masked-by-scope attention, RMS/MLP residuals, logits and a conditional draw. It omits the actual network depth, RoPE, cache/kernel mechanics, and learned weights.

    Each preset represents a choice made before sampling the draft. Changing the first draw does not change the preset.

    Data dependencies in one DSpark round The target context and the embedded anchor and masks converge at the parallel attention and feed-forward sublayers. The main path continues from base logits to Markov sampling. Backbone hidden states and the previous draft ID inform confidence, which guides admission. The target verifier receives admitted draft tokens and uses the draft sampling probabilities. Target taps Anchor, masks Attention+ FFN Base logits Markov Confidence Verify
    Confidence informs which prefix to check; it is not the acceptance test. The “Verify” box is the target stage; the full scheduling problem is below.

    Step 1 of 7

    Project the target context

    Toy values and tensor contract

    Inspect declared toy weights

    Read the official decoding diagram · Full source, training and config notes

    Real Qwen3-4B shapes, target handoff and training

    Pinned public config G=7, D=2,560, V=151,936, five draft layers, target taps [1,9,17,25,33], rank r=256. Draft IDs [1,7] hold one anchor and six masks; the seven query positions predict seven new tokens. For B=1 and L=12 context positions: context concat [1,12,12800] → [1,12,2560]; attention Q [1,32,7,128] and K/V [1,8,19,128] before cache/backend rearrangement. Slots → [1,7,2560] → base logits [1,7,151936]. Confidence input [1,7,2816] → [1,7]. Shapes derived from config and code; no weights run.

    Pass the prefix, not the masks. If ℓ drafts are admitted, the target receives token IDs [anchor, x₁, …, xℓ], shape [1,1+ℓ], plus the existing target KV. The sampler uses target probabilities p [1,1+ℓ,V] from that forward pass and draft probabilities q [1,ℓ,V] built from the corrected logits. The first target row (after the anchor) scores x₁. The last row gives the bonus if all admitted drafts pass, or the ordinary target sample if ℓ=0.

    Single-request public evaluator; these are not V4 serving tensors.
    Admitted draftsTarget input IDsDraft qTarget p
    ℓ=0 · anchor only[1,1]Absent[1,1,151936]
    ℓ=7 · full block[1,8][1,7,151936][1,8,151936]

    For a continuing round, keep the anchor and the consecutively accepted drafts in the target KV. Crop away the rejected suffix. The freshly sampled correction or bonus becomes the next anchor; it has not yet been added to the target KV. Proposal limit · Proposal packet · Verifier · Cache update

    Train a draft, not a reverse noise process. Sample anchor blocks on target-generated answers. Train on token CE plus vocabulary L1 distillation and soft-label confidence BCE. Target and copied embeddings/LM head stay frozen in this release. The teacher provides previous IDs in training; at inference they are sampled. The paper describes exponential position weighting; DeepSpec's Qwen3-4B recipe uses a separate loss-decay scale of 4 with block size 7.

    Anchor at a, proposal k from 1 to 7: label at a+k; teacher logits at a+k−1.
    Qwen recipe: wₖ = exp(−(k−1)/4) for valid positions; L = 0.1 LCE + 0.9 LL1 + Lconf.

    Pinned checkpoint config · DSpark §3.3 · Pinned training recipe · Training alignment in code

    V4 is a separate deployment. The authors report three MoE draft layers with mHC, a 128-token attention window, and maximum proposal length 5. The pinned Flash config lists taps [40,41,42] and rank 256; the Pro config lists [58,59,60] and rank 512. The public Qwen evaluator offers a static confidence threshold, not the production asynchronous scheduler.

    05 / Target verification

    The target owns the final distribution.

    A good draft changes how much the verifier can reuse. It should not move probability mass in the final answer. The rejection step restores the target’s missing mass—unless admission looks at a token it hasn’t committed to checking.

    Follow the probability mass

    Two-token exact arithmetic
    Target A0.7
    Draft A0.5
    Emitted A0.7

    Exact verification

    Accepted mass = min(p,q) · Replacement mass = max(p−q,0) · Sum gives p

    Read the ratio in the right order: at a proposed token, accept with min(1,p(x)/q(x)); if rejected, sample from normalized positive residual. At the first rejection discard the rest of the proposed prefix. If everything passes, take a target bonus token.

    Leviathan et al. · See what makes the scheduler peek · The guarantee uses the actual draft and target sampling laws, with admission that does not depend on the token being checked. It does not imply identical seeded sequences.

    06 / Serving decision

    Verify the prefixes most likely to survive.

    Accepting the third draft token requires accepting the first two. Multiply the conditional confidence estimates to predict how likely a prefix is to survive. The target’s acceptance test still uses p/q, not confidence.

    Two requests compete for verification slots

    Fixed budget, not throughput
    Numbers are conditional confidence then prefix survival. A solid outline means scheduled.
    RequestDraft 1Draft 2Draft 3

    aᵣⱼ = ∏ᵢ≤ⱼ cᵣᵢ   ·   Bᵥ = Σᵣ(1 + ℓᵣ)   ·   τ = Σᵣ [1 + Σⱼ≤ℓᵣ aᵣⱼ]   ·   Θ = τ × SPS(Bᵥ)

    The two anchors consume slots before any proposal is added. τ estimates output tokens per round, counting one target token per request in this example. SPS is engine steps per second. The slider fixes the budget; it does not fit an engine curve.

    When looking ahead changes the output

    DSpark Appendix A · One request

    Deciding whether to check xₖ must not depend on the sampled xₖ. Confidence cₖ can use the preceding token, but the next confidence cₖ₊₁ can reveal information about xₖ. In this example c₁ is known before drawing x₁; using c₂ to decide whether to admit x₁ can filter the proposals the verifier sees.

    The first prefix has estimated survival 0.8. Trying one draft slot reduces estimated throughput from 1.00 to 0.90. A first-stop search ends there, keeping zero extra slots. Select what the draft would draw first and see what happens if a search ignores that stop.

    Appendix A’s toy profile. SPS is evaluated at 1+ℓ positions, including the anchor. Θ is not a measured benchmark result.
    Draft slots ℓSPS(1+ℓ)Predicted tokens/stepΘ = τ × SPS

    A makes two slots look best; B makes zero slots look best. The two-slot estimate for B is hypothetical: Algorithm 1 also excludes zero-survival extensions. With p(A)=0.70 and q(A)=0.50, the invalid search accepts a proposed A with probability 1 and samples from p when B was proposed. The first emitted token’s A probability becomes 0.50 + 0.50 × 0.70 = 0.85. First-stop emits A with probability 0.70. In the probability lab, reset the odds and toggle the invalid rule to compare the two laws.

    Three ways to choose what to check

    1. Fixed K (the slider lab): take the K largest prefix-survival estimates among independent requests, with earlier slots first within a request on ties. A later slot cannot outrank its own earlier slot, so its score cannot move that earlier slot into or out of a fixed top K.
    2. Paper Algorithm 1: along the same ranking, try one more slot at a time. Stop at the first extension that does not improve predicted throughput. This avoids reconsidering an earlier decision using a later confidence; it can miss a bigger peak on a jagged capacity curve.
    3. Reported production scheduler: use confidence scores from two decoding steps earlier and the profiled SPS curve to score each feasible extra-slot capacity K before CUDA graph replay. Do not stop at the first non-improvement: a later capacity may score higher. This full search uses only historical scores, so it cannot peek at the current draw. Once K is set, take the top K current prefix-survival estimates. Running the full capacity search on current scores instead can cause the bias shown above.

    The paper temperature-scales confidence logits on held-out data so the products better match observed prefix survival. It fits positions in order, keeping the earlier calibration fixed. Confidence helps decide what to check; pruning here saves target slots, not the work of the draft pass that already ran.

    Confidence §3.2.1 · Algorithm 1 · Appendix A · Production §5.2 · Costs §5.4

    07 / Compare model families

    A mask is not a diffusion model.

    MethodWhat changes per step?Who commits?
    Continuous diffusionA gradually denoised continuous state.The trained model and its solver.
    Diffusion LMA mutable token canvas, sometimes one block at a time.The diffusion model’s sampler.
    EAGLE-3Lightweight autoregressive draft expansion that can branch into a tree.The target verifier.
    DFlashA target-conditioned parallel block proposal.The target verifier.
    DSparkParallel base logits, followed by cheap sequential logit refinement and prefix selection.The target verifier.

    Two separate axes: Mechanism asks how tokens are proposed. Role asks whose probabilities determine final text. A diffusion LM can also be a drafter; DSpark’s use of DFlash-style block features does not make its default proposal loop a multi-step reverse diffusion process.

    EAGLE-3 · DFlash · DiffuSpec

    Quadratic, local and linear describe the mixer, not the generation rule

    An autoregressive (AR) model predicts the next token, then uses it to predict the next. It can do that with global attention, a local window, or a recurrent state. A diffusion model instead predicts updates for an entire set of positions. It still needs a mixer inside its denoiser; parallel updates do not imply linear compute.

    Sequence-length work per representative mixer layer, holding model width fixed.
    MixerWhat one query usesFull pass / next cached appendState carried forward
    Dense softmax attentionAll allowed keys. Causal attention has a triangle (e.g. Llama 3); full bidirectional attention has a square.O(N²) / O(N)In causal decode, O(N) KV per layer. GQA changes the number of stored KV heads, not the number of history positions.
    Local sliding windowUp to W nearby keys, counting the current slot for a causal window.O(NW) / O(W)Only O(W) positions need to be retained in a rolling local cache; allocation may differ. Gemma 3 also has global layers; those do not inherit the local bound.
    Kernel linear attentionA summary of mapped keys and key–value outer products, not a row of exact softmax weights.O(N) / O(1) in N at fixed feature and value dimensionsUpdate S←S+φ(k)vᵀ and z←z+φ(k); read φ(q)ᵀS/(φ(q)ᵀz) in the normalized causal variant.
    Selective SSM (Mamba-2 family)A learned state update. Earlier information is compressed into the state rather than retained as token-addressable KV.O(N) / O(1) in N for the fixed-width recurrenceConceptual update hᵢ=Aᵢhᵢ₋₁+Bᵢuᵢ, yᵢ=Cᵢhᵢ. Training can use chunk computations; autoregressive output still advances one token at a time.

    Transformer §§3.2, 4 · Llama 3 reference · Gemma 3 §2 · Linear attention §3 · Mamba-2 / SSD §2.1

    Same prompt, same output length, different work

    Logical counts · not latency
    Count allowed query–key pairs per layer and query head, not executed kernel operations. The bars compare only rows in the same unit.
    Generation modeSequential work unitsMixer work

    Read the formulas and the assumptions

    Let P be prompt tokens, G output tokens, W window and S denoise rounds. Cached AR counts one append query per output slot (including processing the last output into the cache): Σⱼ₌₁…G(P+j) dense, or Σ min(W,P+j) local. The initial prompt prefill is not included in either. If you emit and stop without appending the last token, subtract that final query.

    Full bidirectional baseline: S(P+G)² with the prompt and mutable answer rerun together. The prompt’s IDs may stay fixed without its hidden states or KV staying fixed. Cached block baseline: for each active block of size b after C committed tokens (including the prompt), charge S·b(C+b) and a separate clean commit pass b(C+b). Exact reuse assumes prefix activations do not depend on the mutable suffix or its changing timestep. The final block is shortened if needed; no padding is charged. Setup of the prompt cache is omitted; the clean commits keep all blocks for continued decoding.

    Counts omit model width, projections, FFNs, output heads, padding, device and memory traffic, kernel fusion, and time to first streamed token. The recurrent row counts state updates, not attention pairs. DSpark isn’t priced by these four formulas: include the AR target prefill, draft and serial head, target verification, accepted tokens, and batching. A wider parallel pass can run efficiently or waste work depending on the regime.

    08 / Uses and research

    When is a mutable canvas useful?

    The advantage depends on the task. Right-side context helps fill a gap; revisiting slots can fix a joint decision; one parallel draft can accelerate a separate target. These are different jobs, with different evidence.

    Vision · demonstrated

    Generate or edit an image

    Latent diffusion supports text-to-image and inpainting. ControlNet adds a condition such as an edge map or depth image through a learned branch. Text conditioning guides what to draw; a spatial condition can also guide where to draw it.

    LDM §§4.3, 4.5 · ControlNet

    Text · demonstrated

    Fill a gap or control structure

    If a sentence has text on both sides of a blank, condition on both sides. Diffusion-LM demonstrates infilling and fine-grained control using continuous word embeddings. This is not unique to diffusion: compare with an AR fill-in-the-middle baseline.

    Diffusion-LM §§4–6 · Training LMs to Fill in the Middle

    Text · case study

    Code generation and revision

    DiffuCoder studies masked diffusion on code and uses complementary mask draws for its RL objective. LLaDA2.1 adds token-to-token editing to mask-to-token updates. Revision inside a block is not a guarantee of syntactic validity or passing tests.

    DiffuCoder · LLaDA2.1

    Text · generation and serving

    Write an answer or draft for a target

    DiffusionGemma commits completed blocks itself. DiffuSpec studies a diffusion LM as the proposer in speculative decoding. DSpark is a separate model design: it proposes in one heavy pass plus a light sequential head and relies on a target verifier.

    DiffusionGemma · DiffuSpec · DSpark trace

    Read the papers in this order

    Selected work, not a quality ranking. “Next” names the idea each paper helps isolate.
    PaperWhat it changesWhat not to infer
    DDPM → DDIMFirst learn a noise predictor; then change the sampler to skip times with a different reverse trajectory.Fewer steps do not prove equal quality or a different trained model.
    LDM → DiT → SD3Move to a learned latent grid; replace the U-Net with a patch transformer; then inspect separate modality weights with joint attention and flow matching.SD3 is not the same class-conditioned XL/2 DiT with a text prompt plugged in.
    D3PM → MDLM / SEDDD3PM uses categorical transition matrices. MDLM simplifies the absorbing-mask objective; SEDD learns probability ratios for discrete reverse rates.A masked-token softmax is not the only way to model the reverse process.
    LLaDA / Dream / BD3-LMContrast training from scratch, adapting AR weights with shifted predictions, and block-conditional training with a cache-safe mask.Revealing in blocks does not, by itself, make an existing bidirectional prefix cacheable.

    Recent arXiv reading list

    Selected through 24 November 2026. These are author claims within their own evaluation protocols, not a leaderboard or numbers reproduced by this webpage.

    18 Nov 2026 · arXiv v1

    Clover: recurrent history, diffusion blocks

    A concrete hybrid: adapt Gated DeltaNet to store earlier context in recurrent memory while using bidirectional softmax attention within the active block. This combines two different mixers with a block-diffusion generation rule.

    Limit: in the report’s Table 2, Clover commits more tokens per verification round on MATH-500 than Qwen3.6 with DFlash 2, yet has lower decode throughput. The round metric counts completion tokens, including bonus and boundary tokens and the first token from prefill; it is not just accepted draft tokens.

    18 Nov 2026 · arXiv v1

    Levenshtein editing: insert and delete

    Learn insertion and deletion in addition to replacement. Longest-common-subsequence alignment creates edit supervision during fine-tuning, so later rounds can fix missing or extra tokens rather than rewrite every shifted position.

    Evidence: the authors’ twelve-benchmark mean improves from 54.86 to 57.10 on their confidence-guided LLaDA2.1-Mini comparison, but not every individual benchmark improves (Table 1).

    17 Nov 2026 · arXiv v1

    ReMaRL: learn when to remask

    Keep the diffusion model frozen. Train a small controller from final-answer reward to choose which positions to reveal, retain or hide again. It changes the policy, not the backbone.

    Limit: the experiments use fixed model-call budgets on selected math and code tasks. Better scores at a call budget do not establish lower wall-clock time.

    16 Nov 2026 · arXiv v1

    Profiling the sampler, not just attention

    At batch size one on a GB10, the authors’ quantized DiffusionGemma reference setup spent a larger share of decode time in the logits/sampling pipeline than in expert matrix multiplies. Removing duplicate entropy work and fusing sampling attack a cost omitted by the pair-count lab.

    Limit: a component breakdown on one device and batch setting is not a datacenter throughput result.

    6 Nov 2026 · arXiv v1

    DUET: sparse prefix and queries

    The first denoising step is dense and supplies the historical KV subset for the block. On later steps the early layers still see the full block and prefix; the deeper layers use the KV subset and process all resolved slots plus unresolved slots selected as likely updates. The selection reuses the model’s own decoding rule on shallow representations.

    Limit: sparsification can change predictions. Compare with dense inference on the same model, and distinguish per-step from end-to-end speedups.

    22 Oct 2026 · arXiv v1

    SetCommit: coordinate the reveal set

    Choose a set of slots rather than just the highest individual confidences. Penalize joint risk for nearby uncertain slots and allow bounded exchanges with earlier choices. This targets the same kind of snapshot dependence illustrated by the two-slot lab.

    Evidence: gains are reported on LLaDA-8B and Dream-7B at a matched number of model evaluations on selected tasks; this is not a guarantee of coherence.

    Aug 2026 · arXiv v1

    DiffusionGemma

    Convert an AR backbone to blockwise multinomial diffusion; feed previous predictions back to the decoder and train a reduced-step sampler. Read Fig. 4 beside §3.

    Limit: the report’s output latency and throughput depend on configuration and load; a 256-slot canvas is not 256 new tokens from one forward pass.

    Jul 2026 · arXiv v1

    DSpark

    One parallel draft backbone, then a cheap serial dependency head. Calibrated prefix-survival estimates guide how much the target should verify.

    Limit: Table 1 disables scheduling; the live curves compare whole serving systems. Neither isolates a scheduler-only speedup.

    13 Feb 2026 · arXiv v3

    LLaDA2.1

    Separate thresholds for revealing a mask and revising an existing token. Aggressive initial fills can be corrected in later steps.

    Limit: compare Speedy and Quality settings at the same task and hardware; revision is not free and can change response quality.

    Four concrete experiments to do next

    1 · Does revising tokens improve editing? Use held-out infill cases with both fixable and already-correct spans. Compare an absorbing sampler, a revisable sampler, and AR fill-in-the-middle, matching allowed edits and model-forward budget. Score exact constraint preservation, edit accuracy and number of passes. Reject the hypothesis if gains require gratuitous edits or vanish at matched cost.

    2 · Which part of the prefix can be approximated? Start from the exact cached block sampler. Ablate historical KV selection and deep query skipping separately, then together. Sweep context length; log finish time, cache memory, output agreement and task score. Set an acceptable quality drop on held-out data before timing. If a smaller prefix merely adds denoising rounds, report that rather than the per-step win.

    3 · Where does the serving trade-off switch? At fixed hardware, output lengths and feasible quality bands, compare strong AR engines, block diffusion and a matched target with/without speculation, under interactive and concurrent loads. Report first usable text, inter-chunk delay, p95 completion time, total committed tokens/s/device, and separate draft/verify/denoise work. If the quality bands cannot be matched, report a frontier rather than a winner.

    4 · Can a smaller denoise budget preserve coherence? On one fixed model and held-out task set, compare fixed step schedules with calibrated early commit and with sampler distillation. Measure errors that survive commit, actual neural evaluations, and output quality together. Do not equate time index, number of revealed positions and number of expensive forward passes.

    Vision mechanisms and source notes · Text diffusion research map · DSpark implementation and measurements

    09 / Evidence room

    Read the figures before quoting the numbers.

    The official CC BY 4.0 crops below each have a reading note. Open DDPM Fig. 2 for the reverse-chain diagram or LDM Fig. 3 for the encoder/U-Net/decoder and conditioning paths; these are linked, not rehosted. The labs compute toy examples, not checkpoint output. Accepted length is not latency; per-user tokens/s is not aggregate throughput.

    Official · Figure 1

    Architecture and decoding cycle

    Architecture and decoding cycle
    Trace the anchor D through one parallel pass and a sequential refinement. H is pruned before verification. E and F pass, G fails, and the target supplies G*. Pruning and rejection are different events.
    Cheng et al., DSpark (2026) · Source page · CC BY 4.0 · PDF cropped to the numbered figure or table and rasterized; no data redrawn.
    DSpark Table 1 and Figures 2–8
    Official · Table 1

    Accepted length by target, drafter and task

    Accepted length by target, drafter and task
    Reported tokens committed per round, including the target token. This fixed-length comparison restricts all drafters to chains and disables the confidence scheduler. Compare within the same target and task; the table does not show wall-clock speed.
    Cheng et al., DSpark (2026) · Source page · CC BY 4.0 · PDF cropped to the numbered figure or table and rasterized; no data redrawn.
    Official · Figure 2

    Conditional acceptance by draft position

    Conditional acceptance by draft position
    Look at position on the horizontal axis, then compare conditional acceptance across drafters. Each point is conditional on earlier positions being accepted, not the chance of reaching that position.
    Cheng et al., DSpark (2026) · Source page · CC BY 4.0 · PDF cropped to the numbered figure or table and rasterized; no data redrawn.
    Official · Figure 3

    Drafter depth ablation

    Drafter depth ablation
    Marker size indicates draft depth. The reported depth ablation holds proposal length fixed. It is evidence about draft quality, not identical compute or end-to-end latency.
    Cheng et al., DSpark (2026) · Source page · CC BY 4.0 · PDF cropped to the numbered figure or table and rasterized; no data redrawn.
    Official · Figure 4

    Draft length and round cost

    Draft length and round cost
    The x-axis is γ+1: at 8, there are seven proposals plus the anchor. Compare DSpark Markov, DSpark RNN, and DFlash across the three accepted-length panels, then read the separate full-round latency panel at batch 128. This is a fixed-depth ablation, not a live-serving result.
    Cheng et al., DSpark (2026) · Source page · CC BY 4.0 · PDF cropped to the numbered figure or table and rasterized; no data redrawn.
    Official · Figure 5

    Static threshold sweep

    Static threshold sweep
    The blue line is acceptance fraction, while the bars count tokens. A higher threshold can raise the fraction by shrinking the denominator. This is a static-threshold diagnostic, not the production scheduler.
    Cheng et al., DSpark (2026) · Source page · CC BY 4.0 · PDF cropped to the numbered figure or table and rasterized; no data redrawn.
    Official · Figure 6

    Prefix-survival reliability

    Prefix-survival reliability
    The diagonal is calibrated prefix survival; darker or taller histogram bins have more observations. Compare predicted and observed probability before and after calibration, rather than reading the line as classification accuracy.
    Cheng et al., DSpark (2026) · Source page · CC BY 4.0 · PDF cropped to the numbered figure or table and rasterized; no data redrawn.
    Official · Figure 7

    Per-user speed vs aggregate throughput

    Per-user speed vs aggregate throughput
    Per-user tokens/s is on the horizontal axis; aggregate throughput per GPU is vertical. Dots are author telemetry and lines are fitted frontiers. The large strict-SLA percentages are near the MTP-1 operating cliff, not typical speed multipliers. This comparison does not isolate the scheduler's effect.
    Cheng et al., DSpark (2026) · Source page · CC BY 4.0 · PDF cropped to the numbered figure or table and rasterized; no data redrawn.
    Official · Figure 8

    Load and verification budgets

    Load and verification budgets
    The top plots show aggregate throughput against concurrency. The bottom plots show verification slots per request, counting the anchor. More requests need not mean a longer verification prefix for each request.
    Cheng et al., DSpark (2026) · Source page · CC BY 4.0 · PDF cropped to the numbered figure or table and rasterized; no data redrawn.

    Download the accessible Table 1 CSV · Full reading notes

    DiT, MDLM, Block Diffusion and DiffusionGemma figures
    Official · Figure 3

    DiT architecture and conditioning variants

    DiT architecture and conditioning variants
    See the left latent-patch pipeline, then compare adaptive layer normalization, cross-attention, and in-context conditioning. The outputs labelled noise and covariance are from this variant.
    William Peebles and Saining Xie · Source page · CC BY 4.0 · PDF cropped to the diagram and rasterized; no data redrawn.
    Official · Figure 1

    MDLM: train over different masking rates

    MDLM: train over different masking rates
    Read the left: different noise levels hide different subsets of the same clean tokens. The chart at bottom right is LM1B likelihood-bound evidence, not throughput or universal perplexity.
    Subham Sahoo et al. · Source page · CC BY 4.0 · PDF cropped to the diagram and rasterized; no data redrawn.
    Official · Figure 1

    Block diffusion: commit across blocks, denoise within

    Block diffusion: commit across blocks, denoise within
    Read the highlighted current block against the completed prefix above or to its left. The authors' high/low-quality labels summarize their scope; not a universal ranking.
    Marianne Arriola et al. · Source page · CC BY 4.0 · PDF cropped to the diagram and rasterized; no data redrawn.
    Official · Figure 2

    DiffusionGemma: warm-start and two training stages

    DiffusionGemma: warm-start and two training stages
    Start from the existing AR weights, bypass new pretraining, adapt with SFT, then run sampler distillation and RL. This is a training diagram, not the decoding loop.
    DiffusionGemma Team · Source page · CC BY 4.0 · PDF cropped to the diagram and rasterized; no data redrawn.
    Official · Figure 4

    DiffusionGemma: generate one canvas and extend the context

    DiffusionGemma: generate one canvas and extend the context
    Follow the numbered arrows: encode the prompt into causal KV, refine a mutable bidirectional canvas with self-conditioning, then encode and append the finalized canvas. The decoder and encoder share weights; there is no separate target verifier.
    DiffusionGemma Team · Source page · CC BY 4.0 · PDF cropped to the diagram and rasterized; no data redrawn.
    Open the versioned research corpus

    Research index · Paper-by-paper figure and table catalogue · Visual interpretation notes · Independent toy calculation outputs