LLM·

LangDiT paper — A Transformer built for diffusion language models — What does it mean?

The news. On October 15, 2026, Weijian Luo and colleagues posted Designing Transformers for Continuous Diffusion Language Models on arXiv. The paper keeps each model's formulation, training objective and sampler fixed and swaps in a redesigned backbone, LangDiT. With LangFlow as the host model it reports a generation perplexity of 21.72 at 1,024 denoising evaluations and 44.72 at 128, on 1,024-token OpenWebText samples. Read the paper →

Picture a sound engineer restoring a recording buried in static. She does not re-record it one word at a time; she cleans every second at once, pass after pass, until the voice comes through. That is a continuous diffusion language model. It lays Gaussian noise over the embedding vectors of a whole sequence, then runs a denoiser many times, each pass moving every position toward a clean token embedding. With no causal mask to respect, the denoiser can use attention in both directions. The catch is that most earlier studies borrowed their console: the Transformer from a causal LLM or from an image Diffusion Transformer, each tuned for a different job. The LangDiT paper asks what a console designed for this job looks like.

The first two design changes concern the dials and the level meters. One set of weights must work at every noise level, so each block gets a noise-conditioning vector that supplies a shift, a scale and a gate for its attention and feed-forward halves, the recipe image DiTs use. LangDiT widens that vector from 128 to 256 dimensions, which adds 7.36M parameters, about 2.25% over the baseline. For the meters, it replaces LayerNorm with RMSNorm, which rescales without subtracting the mean, and adds query-key RMSNorm: each 64-dimensional query and key is normalized before the dot product, so the raw size of the projections cannot inflate the attention logits. The paper's bound removes raw input norms from the logit, but the learned gains can still grow. Query-key normalization costs only 1,536 parameters. Both swaps are common in current LLM and image-generation Transformers; the open question was whether they help here. The modern variants step covers where such changes show up in large LLMs.

The third change concerns the monitor feed. Under Gaussian noise, how far a noisy vector sits from a token's embedding is direct evidence about which token it was, and the baseline adds that closed-form likelihood to the Transformer's logits. LangDiT changes it in two ways. It applies a stop-gradient to the shortcut's term that touches the codebook (the table of token embeddings), so the forward output is identical but the shortcut no longer pushes on the embedding table. It also multiplies the shortcut by a learned, bounded gate that starts at exactly one, so the Transformer can turn the monitor down where it misleads. The paper derives the gradient term it removes but does not measure gradient conflict, so treat the explanation as a hypothesis.

The fourth change replays the last draft. In training, on 25% of examples, a gradient-free bootstrap pass produces a clean-state estimate that is fed back in. LangDiT scales that estimate position by position by confidence: a weight that is 0 when the model's token probabilities are uniform and 1 when it is certain of one token. Sampling is unchanged. It uses the unweighted estimate and needs no extra pass. The authors' hypothesis is that damping blurry drafts stops the denoiser from trusting unreliable hints; they describe token entropy as a heuristic and do not test the mechanism directly.

Cumulative changeParameters added50k-update GenPPL (128 NFE)Source
R1: baseline backbonenone87.48Table 4
R2: + RMSNormnone84.41Table 4
R3: + query-key RMSNorm1,53684.37Table 4
R4: + wider noise conditioning (128 to 256)about 7.36M80.74Table 4
R5: + stop-gradient on the shortcutnone79.35Table 4
R6: + calibration gate8,25774.03Table 4
R7: + confidence-gated self-conditioningnone61.73Table 4

Hold the setting fixed (OpenWebText, 1,024-token samples, 50,000 updates, 128 denoising evaluations, one seed) and add one change per row. GenPPL falls from 87.48 to 61.73, a drop of 25.75 points, or 29.4%. The last row is the biggest: confidence-gated self-conditioning moves 74.03 to 61.73, 12.3 points, nearly half of the whole gain, and it adds no parameters. The full model has 334.45M parameters against 327.09M for the baseline, about 2.25% more, almost all from the wider conditioning vector. Compute is a separate dial. Going from 128 to 1,024 passes is 8 times as many denoiser runs, and LangDiT's reported perplexity falls from 44.72 to 21.72, a factor of about 2.1. Per the paper, the gains carry over to a Plaid-style formulation with its own codebook, objective and sampler, reaching 27.51 at 128 passes and 11.33 at 1,024; those numbers belong to a different setup and are not comparable to the LangFlow ones.

Read the ladder as a recipe order, not a ranking of parts. Each row depends on the rows above it, the study uses one seed, one scale (about 100M Transformer parameters) and one dataset, and the wider conditioning row adds capacity, so it is not a clean test of conditioning alone. Query-key normalization looks nearly idle at 50k updates (84.41 to 84.37), yet at 250k updates the paper reports 60.76 with RMSNorm alone and 57.86 with it added. The paper also claims no speed advantage: equal denoiser-call counts are not equal FLOPs or wall-clock time, and attention and gradient diagnostics are not reported.

Goes deeper in: LLM Internals → Transformer Block → Modern Variants & Scale

Related explainers

Continue in trackLLM Internals — Transformer Block: modern variants and scale

Frequently Asked Questions

Check what you knowMap your AI & GPU knowledge across every track — free, role-based