Reproduce “Accelerated Sampling from Masked Diffusion Models via Entropy Bounded Unmasking” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Heli Ben-Hamu, Itai Gat, Daniel Severo, Niklas Nolte, Brian Karrer

Researchers at FAIR at Meta developed the Entropy Bounded (EB) Sampler, an adaptive method for Masked Diffusion Models that achieves a 2-3x speed-up in sampling discrete data, such as code and mathematical reasoning solutions, without compromising generation accuracy. This approach dynamically determines which and how many tokens to unmask simultaneously by monitoring prediction entropy, addressing a key efficiency challenge in MDMs.

Key insights

  • Sampling error in Masked Diffusion Models (MDMs) can be formally decomposed into model error and joint dependence error, providing a framework for designing more efficient samplers.
  • MDMs frequently predict multiple masked tokens with high certainty (low entropy) and low inherent model error simultaneously, suggesting these tokens can be safely unmasked in parallel.
  • Dynamically adapting the number of tokens unmasked at each step, based on prediction entropy, enables MDMs to follow high-performance unmasking orders while avoiding the accuracy degradation common with fixed multi-token unmasking.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.