atlas

Research map / Image generation / Fast diffusion sampling

Masked Diffusion Models are Secretly Time-Agnostic Masked Models and Exploit Inaccurate Categorical Sampling

ICLR 2025 · Image generation › Fast diffusion sampling · approach: Discrete diffusion solvers · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows masked diffusion models (MDMs) are theoretically time-agnostic masked models, proposes a 20x faster first-hitting sampler, and identifies a float32 Gumbel truncation issue that lowers effective temperature and inflates generative perplexity comparisons vs. ARMs.

Problem

Whether masked diffusion models truly outperform autoregressive models in text generation, and whether MDM training and sampling require continuous time and are efficient; prior evaluations rely on generative perplexity which may be distorted by numerical issues.

Approach

Reformulates the MDM NELBO as a partition over number of masked tokens (time-agnostic), derives a first-hitting sampler that analytically samples unmasking times and only does one categorical draw per step, and shows float32 Gumbel-max sampling truncation distorts categorical probabilities, reducing token diversity and making Gen PPL misleadingly low.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Switch categorical sampling from 32-bit to 64-bit floating point precision (ablation)MDLM sampling on OpenWebText · OpenWebText generation (2048 steps)Gen PPL and entropy: Gen PPL 31.24 -> 126.11; entropy 5.17 -> 5.66Hurt
Manually truncate 64-bit uniform samples to mimic 32-bit Gumbel truncation (ablation)MDLM 64-bit categorical sampling · OpenWebText generation (2048 steps)Gen PPL and entropy: Gen PPL 126.11 -> 28.64; entropy 5.66 -> 5.12Helped
Use the first-hitting sampler with 64-bit precision (after fixing numerics) versus original MDM samplerMDLM · OpenWebTextsampling wall-clock time: up to 20x fasterHelped
Fix categorical sampling to 64-bit precision, so truncation is negligibleMDMs evaluated on OpenWebText · OpenWebText generationGen PPL vs ARMs: true MDM Gen PPL around 100 vs ARM below 40Hurt
Trade-off by manually tuning temperature in [0.8,1.0] with correct 1024-step high-order samplerMDMs · OpenWebText generationGen PPL vs entropy trade-offMixed

Surprising findings

Limitations

Experimental setup

Datasets: OpenWebText

Benchmarks: OpenWebText

Metrics: generative perplexity entropy wall-clock time NFE

Baselines: SEDD Absorb MDLM autoregressive model (AR) MDLM with caching strategy

Builds on: MDLM SEDD D3PM DDPM MaskGIT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy