Manuscript Offprint

arXiv:2610.29136

GRAFT: Restoring the Missing Sampling Interface in Continuous Diffusion Language Models

Haoning Yang, Lili Pan

ABSTRACT

Continuous diffusion language models generate a whole sequence in parallel, never drawing a single word at any intermediate step; only the final step turns embeddings into text. Models such as ELF now report autoregressive-level quality at a fraction of the sampling steps taken by discrete-token diffusion models, and this design principle—no step-wise discretization—is what their own ablations credit for the gain. We show that this same principle carries a hidden cost: a collapse of the lexical long tail. Measured against held-out human text, ELF's output matches the human rate on common words almost exactly, yet its rarest words appear at only 0.30×0.30\times the human rate, a gap that does not close from 105M to 652M parameters and that no sampler setting these models expose can reach. A same-size GPT-2, in contrast, spans zero to above the human rate by its decoding rule alone. We trace the difference to what continuous diffusion models lack: with no step that ever draws a discrete word, every step is instead driven by an average over the candidates still in play, and averaging a rare candidate together with the common word competing for its slot lands on the common word. An autoregressive model avoids this because its decoding rule samples one candidate rather than averaging over all of them, so the problem never arises there. We propose GRAFT, a training-free method that grafts this missing choice back onto a frozen model: while the model is still undecided, GRAFT commits the rare words the average would otherwise discard, then regenerates the sequence from scratch with those commitments held in place. Across three ELF scales and on LangFlow, an independently developed continuous dLLM, GRAFT restores the rare-word share of generated text from 0.42–0.77×0.42–0.77\times the human rate to 0.82–1.10×0.82–1.10\times, a relative gain of 34–109%, and moves the entire word-frequency profile closer to human on every model tested, by 2.7×2.7\times on ELF-B and 12×12\times on LangFlow.

1 INTRODUCTION

Diffusion language models (dLLMs) generate all positions in parallel and refine them over a fixed number of steps, trading autoregression's O(L)O(L) serial depth for O(steps)O(\text{steps}) (Austin et al., 2021; Sahoo et al., 2024; Nie et al., 2025). dLLMs fall into two lines, distinguished by whether the diffusion process runs over discrete tokens (Lou et al., 2024; Nie et al., 2025; Bie et al., 2025) or over continuous embeddings (Li et al., 2022; Dieleman et al., 2022). Continuous diffusion language models historically lagged behind their discrete counterparts. Earlier approaches typically relied on either projecting the continuous state back to the token space at every denoising step (Li et al., 2022; Dieleman et al., 2022), or performing diffusion in the latent space of a separately trained autoencoder (Lovelace et al., 2023). ELF (Hu et al., 2026) removes both requirements: the entire denoising trajectory remains in the token-embedding space, and discretization is performed only once, at the final step. This design substantially improves efficiency, allowing ELF to outperform discrete diffusion baselines with only 32 sampling steps instead of 1024 and with roughly one-tenth of the training tokens. LangFlow (Chen et al., 2026) independently achieves comparable performance through a similar continuous-space formulation. Ablation studies in both works attribute much of these gains to the same key design choice: eliminating intermediate, step-wise discretization.

(a) rare words go missing

Figure

(b) what each knob can reach

Figure

Figure 1: Lexical-tail coverage depends on whether a model samples discrete words during generation. (a) ELF-L matches human usage for common words but substantially underproduces rare ones, reaching only 0.72×0.72\times, 0.32×0.32\times, and 0.30×0.30\times of the human rate across the three rarest Zipf bands. (b) GPT-2 and LLaDA, which sample discrete words during decoding, reach or approach the human rare-word rate, while ELF and LangFlow remain below it. GRAFT restores the missing tail, raising ELF and LangFlow to 1.13×1.13\times and 1.25×1.25\times of the human rate (three-seed means, Appendix E.6).

However, the same design choice that makes continuous dLLMs efficient also introduces a hidden lexical cost: collapse of the vocabulary tail (Figure 1a). Here, rarity is defined by corpus frequency rather than model probability; proper names, technical terms, and other low-frequency words together account for more than a tenth of human text. On held-out text from ELF's training distribution, common words appear at nearly the human rate, while the rarest occur at only 0.30×0.30\times that rate. This gap persists from 105M to 652M parameters (Table 1) and is not closed by sampler tuning. When a rare word is lost, it is typically replaced by a more common word or a fabricated non-word, reducing lexical fidelity. For example, one ELF summary reads “New Barcelona president Neyll has resigned,” producing a fluent sentence with an invented name ( §4§4). Yet such failures are easily missed by standard metrics: GPT-2-based generative perplexity and unigram entropy. The former can favor text that avoids rare words, while the latter is too coarse to reveal a deficit concentrated in the lexical tail.

The cause lies in a missing step in the continuous dLLM pipeline. Autoregressive models first predict a vocabulary distribution and then apply a decoding rule—such as greedy, top-k, or nucleus sampling—to select a discrete word. We refer to this distribution-to-word operation as a sampling interface. Continuous dLLMs lack such an interface before the final step: their denoising head instead predicts continuous embeddings by regression throughout the trajectory, while the decoding head turns them into words only at the end. Because regression is driven toward the conditional mean, competing candidates are averaged rather than sampled; when a rare word competes with a more probable common word, the resulting embedding tends to move toward the common one. By the time the decoding head is finally read, each position has already narrowed to only 1.02–1.05 effective candidates, leaving little room for temperature scaling, sampling, or beam search to recover the lost tail. In short, rare-word probability survives inside the model, but the generation process never turns it into a discrete choice.

Can this missing sampling interface be restored at inference time, without retraining the model?

We answer yes with GRAFT, a training-free method that restores a discrete choice while rare-word alternatives are still present. Part-way through generation, GRAFT reads the decoding head and identifies rare words that retain substantial probability but are losing to more common competitors. It then restarts generation from noise with these words fixed from the first step, allowing the remaining sequence to form around them. Repeating this read-and-restart procedure accumulates a set of committed rare words, after which a final generation produces the output. Sub-word constraints and an anti-repetition correction (Zhang et al., 2026) mitigate the artifacts introduced by fixing words.

Our contributions are threefold. First, we identify a lexical long-tail collapse in continuous dLLMs, showing that the effect persists across model scales and sampler settings when measured against a same-distribution human baseline (§4). Second, we uncover its mechanism: rare words are lost when a more common competing word accumulates sufficient probability, and the competitor's probability alone strongly predicts which rare words will be suppressed (§5). Third, we introduce GRAFT, a training-free method that restores the missing lexical tail. Across three ELF scales and an independent LangFlow implementation, GRAFT raises the rare-word share to 0.82–1.10× the human rate, moves the overall word-frequency distribution closer to human—by 2.7× on ELF-B and 12× on LangFlow—and brings ELF-L's ζ to within 0.010 of the human value (§7.2–§7.5).

References (100)

  • LongTail-Swap: Benchmarking language models' abilities on rare words (opens arXiv in a new tab)
  • Block diffusion: Interpolating between autoregressive and diffusion language models
  • Structured denoising diffusion models in discrete state-spaces
  • Sampling from flow language models via marginal-conditioned bridges (opens arXiv in a new tab)
  • LLaDA2.0: Scaling up diffusion language models to 100B (opens arXiv in a new tab)
  • The perception-distortion tradeoff
  • Analog bits: Generating discrete data using diffusion models with self-conditioning
  • LangFlow: Continuous diffusion rivals discrete in language modeling (opens arXiv in a new tab)
  • Continuous diffusion for categorical data (opens arXiv in a new tab)
  • Theoretical benefit and limitation of diffusion language model (opens arXiv in a new tab)
  • Empowering diffusion models on the embedding space for text generation
  • Mean flows for one-step generative modeling (opens arXiv in a new tab)
  • Likelihood-based diffusion language models
  • The entropic signature of class speciation in diffusion models (opens arXiv in a new tab)
  • ELF: Embedded language flows (opens arXiv in a new tab)
  • Sticky jump diffusions: A unifying view of masked, continuous, and hybrid diffusion (opens arXiv in a new tab)
  • human-like (opens arXiv in a new tab)
  • Train for the worst, plan for the best: Understanding token ordering in masked diffusions (opens arXiv in a new tab)
  • Flow map language models: One-step language modeling via continuous denoising (opens arXiv in a new tab)
  • Improving Few-Step Language Flows with Untied Self-Conditioning
  • Critical windows: Non-asymptotic theory for feature emergence in diffusion models
  • ConvergeFlow: Language Flow with Provable Convergence to Token Embeddings
  • Back to basics: Let denoising generative models denoise (opens arXiv in a new tab)
  • Autoregressive image generation without vector quantization
  • Diffusion-LM improves controllable text generation
  • Troubling trends in machine learning scholarship
  • Discrete diffusion modeling by estimating the ratios of the data distribution
  • Latent diffusion for language generation
  • Large language diffusion models
  • Lost in interpolation: Why predictive feedback fails in diffusion language models (opens arXiv in a new tab)
  • Your absorbing discrete diffusion secretly models the conditional distributions of clean data
  • MAUVE: Measuring the gap between neural text and human text using divergence frontiers
  • Inverse-confidence sampling for continuous diffusion language models
  • Simple and effective masked diffusion language models
  • Why Gaussian diffusion models fail on discrete data and how to prevent it? In Conference on Language Modeling, 2026 (opens arXiv in a new tab)
  • CoDAR: Continuous diffusion language models are more powerful than you think (opens arXiv in a new tab)
  • Simplified and generalized masked diffusion for discrete data
  • SUBTLEX-UK: A new and improved word frequency database for British English
  • Conditional Total Correlation and the Serial Depth of Adaptive Parallel Sampling
  • DSL-LLaDA: Scaling continuous denoising to 8B masked diffusion LMs (opens arXiv in a new tab)
  • Low perplexity is repetition: A one-dimensional self-conditioning attractor in continuous diffusion LMs (opens arXiv in a new tab)
  • Masked diffusion models are secretly time-agnostic masked models and exploit inaccurate categorical sampling
  • We first give the procedure (Appendix A.1) and the metrics together with the human reference they are read against (Appendix A.2), and then the configurations and statistics used across the appendices (Appendix A.3)
  • At every step, the anti-repetition correction of Zhang et al. (2026) ( $\lambda=0.5$) subtracts $\lambda u$ from the self-conditioning input, where $u$ is the repetition direction of §6
  • Two tokenization rules are used, however, and the human reference takes a different value under each (Table 20)
  • Each counted token is looked up in the wordfreq English lexicon (Speer, 2022), which gives its Zipf frequency z; a Zipf frequency of 2 corresponds to about 0.1 occurrences per million tokens
  • Non-words and foreign-dominant words are left out, the band shares are renormalized, and the JSD uses log base 2
  • Types/100k is the number of distinct counted words per 100k counted tokens, pooled over an arm
  • On LangFlow, the tuned dose is $(0,1,1)$, selected by a held-out procedure
  • For multi-seed rows (Tables 2 and 13), we average the per-seed readings; in Table 13, each seed's $\Delta$ is taken against the same stock run
  • This subsection gives the measurements behind the first two
  • The v2 judge removes this circularity by re-scoring commitments in the selection-time draft context, the draft from which each word was selected, recorded on a bit-identical deterministic rerun; this context contains no information about the chosen word
  • If the denoising head's errors were merely noise of the right size, other errors of the same norm should flip words about as often
  • Section 5 gives the mechanism that remains
  • An audit found two confounds while a first pair of runs was about a third of the way through training, at steps 24,600 and 23,000 of 75,812
  • When a fraction f of the true tokens is revealed, the infill arm reconstructs the hidden positions far better than base: 24.1% against 7.2% at f=0.1, 50.7 against 20.1 at f=0.25, and 75.1 against 44.9 at f=0.5, with 99.4–99.9% fidelity on the revealed positions
  • There, committing a sampled word does separate from committing the argmax: with four restart rounds that each commit words at the eight positions of highest decoding-head entropy, the unfiltered tail of the infill arm is higher by 0.98 and 1.24pp on two seeds, and that of the base arm by 0.63pp
  • conclusions we retracted after finding bugs of our own, interventions whose failure led to GRAFT's restart design, variants and settings that did not help, and a first run of the discrete-line control that we excluded
  • interface fully open
  • Pure sampling reaches the deepest tail at the worst quality, and nucleus sampling is the quality point
  • Right: the top-5k tail of Appendix A.5 on the accepted set (dual bar)
  • It closes with the properties that ELF and LangFlow share
  • These runs also show why GRAFT selects positions as it does: sampling at the positions of highest decoding-head entropy is nearly blind there, with a median committed-token probability of 0.007
  • This does not contradict the frozen profile above, which describes the model’s own trajectories, already short of rare words by $t \approx 0.25$
  • The last row gives the ELF-B error rates behind the ratios (denoising / decoding, %), which Figure 2 shows
  • The two heads are compared at the matched input, where their inputs are equal up to a positive scalar (Appendix B)
  • The champion column gives the range over three seeds, and the champion+co-pinning columns give the first seed
  • Stock and MCB run at an equal number of function evaluations (NFE), and MCB is our port of the authors' released sampler to this checkpoint
  • On ELF-B, stock best-of-K at K=1, 2, 4, 8, and 16 reads (66.0, 4.30), (88.0, 4.86), (98.0, 5.64), (100, 6.70), and (100, 7.75), while pools of 1 to 4 members, costing 5, 10, 15, and 16 passes, read (69.5, 9.68), (78.5, 10.15), (83.5, 10.17), and (88.5, 9.89)
  • On ELF-B, the same reading gives stock best-of-4 a $5.97\%$ tail $(0.50\times)$, GRAFT at the fixed dose $9.76\%$ $(0.82\times)$, and GRAFT at the tuned dose $11.82\%$ $(1.00\times$; seeds 11.88, 11.82, and 11.76; non-words $2.59\%$)
  • The comparison is within the model: LLaDA is not trained on OpenWebText, so its bars are cross-domain
  • The sweep covers three groups of ELF sampler settings
  • The ELF-B step-and-guidance rows have 300 samples each, and the ELF-M and ELF-L rows 1,000 at ELF's 64-step preset ($\gamma = 1.0$)
  • Switching from argmax to sampling and then raising the temperature to 2.0 moves the tail by only 0.13 percentage points (4.70 → 4.72 → 4.83%)
  • We noise the first 200 documents of the human reference to t=0.31, part-way through a generation
  • The curve rises steeply over the first four groups, from 7 to 78%, and then levels off at 84–92% without rising strictly from group to group, which is the shape a threshold produces rather than a gradual bias
  • Over all positions, the AUC and the rate at which the competitor replaces a lost word are 0.880 and 39.3% on ELF-B, 0.832 and 25.6% on the ELF-S base arm, and 0.825 and 28.1% on the ELF-S infill arm; on rare positions alone, the AUC falls from 0.842 to 0.731 and 0.689
  • This subsection details the language gate that keeps such words out of GRAFT's commitments and the foreign discount that removes them from the measured tail, and it reports how much of each arm's gain they carry
  • commoner in any language
  • All $\Delta$ are against the same-model stock sampler, and every discounted $\Delta$ shown is significant at $p < 0.001$
  • This subsection gives the complementary reading, the accept-then-measure protocol of §7.3, reads the argmax controls under both protocols, and reports the two metrics that move against GRAFT
  • >ELF-M</td></tr><tr><td>stock</td><td>81.0</td><td>5.23</td><td>—</td></tr><tr><td>GRAFT</td><td>65.7</td><td>11.61</td><td>+6.35</td></tr><tr><td colspan=
  • human-like
  • This subsection reports how that dose was selected, and what a tuned dose would buy on every model
  • GRAFT, deeper
  • The $(8,5,3)$ quota was compared with three re-balanced quotas on ELF-B only (seed 31337), by the JSD of the accepted set and in an earlier configuration (batch 8, an earlier version of the language gate that excluded only German-dominant words, no attestation gate, and no foreign discount)
  • >ELF-B</td><td>fixed</td><td>.0049</td><td>.0047</td><td>.0052</td></tr><tr><td>tuned</td><td>.0012</td><td>.0012</td><td>.0012</td></tr><tr><td rowspan=
  • Doses are commitments per 200 samples, read on unfiltered output from single-seed sweeps
  • Table 16 addresses them on ELF-B
  • A batch control, which reruns the same configurations with the batch sizes 8 and 16 exchanged, moves $\Delta$tail@acc by only 0.05–0.21pp while accept moves by 1.5–4pp, which confirms that accept rates, not tail deltas, carry the volatility of this protocol
  • The four band columns are accepted-set shares with bootstrap CIs against human, and bold marks bands statistically indistinguishable from human
  • As in Appendix A.2, band shares are over lexicon words, with non-words removed and the shares renormalized; the non-word column is over all word tokens
  • Every setting we tried overshoots
  • Over three seeds, the gated LangFlow fixed dose gains $+3.55$ (Table 12)
  • Their means agree with Table 2 to within one unit in the last digit shown
  • A cell that spans both columns applies to both model families
  • >$R=4$, $m=8$; candidates among the 512 most likely words, rare words $0 < z < 4$; $q_{\text{min}}$=0.08; spacing $s=4$; atomic commitment, splicing and co-pinning on</td></tr><tr><td>Attestation gate</td><td colspan=
  • On ELF-B and LangFlow, the champion+co-pinning arm, an earlier configuration without gates (Appendix A.3), appears beside the stock sampler
  • are having their first triumph of the season since a 1-1 clash at the Germanpark Stadium… Kiev have also lost their first qualifying match since a 2-1 defeat Tottenham Tra refford on Dec. 20. Top position competitors Manchester United, sus are currently No. 10 in the Bundesliga League…
  • WikiLeaks would be prepared to accompany the May 4 Olympic Ceremony, under which will be met at the Russian capital, to Sochi. ‘I made the statement that reps from the Russian government are aware that I will not play for Sochi by May of this year,’ Podesta said in a statement issued to Politico…

Couldn't load all references. Reload the page to try again.