Demystifying MaskGIT Sampler and Beyond: Adaptive Order Selection in Masked Diffusion

2510.04525v1 cs.LG, math.PR, stat.ML 2025-10-08
Авторы:

Satoshi Hayakawa, Yuhta Takida, Masaaki Imaizumi, Hiromi Wakaki, Yuki Mitsufuji

Abstract

Masked diffusion models have shown promising performance in generating high-quality samples in a wide range of domains, but accelerating their sampling process remains relatively underexplored. To investigate efficient samplers for masked diffusion, this paper theoretically analyzes the MaskGIT sampler for image modeling, revealing its implicit temperature sampling mechanism. Through this analysis, we introduce the "moment sampler," an asymptotically equivalent but more tractable and interpretable alternative to MaskGIT, which employs a "choose-then-sample" approach by selecting unmasking positions before sampling tokens. In addition, we improve the efficiency of choose-then-sample algorithms through two key innovations: a partial caching technique for transformers that approximates longer sampling trajectories without proportional computational cost, and a hybrid approach formalizing the exploration-exploitation trade-off in adaptive unmasking. Experiments in image and text domains demonstrate our theory as well as the efficiency of our proposed methods, advancing both theoretical understanding and practical implementation of masked diffusion samplers.

Ссылки и действия

Связанные статьи

Differentiable Expectation-Maximisation and Applications to Gaussian Mixture Mod...

#### Контекст Область исследования сосредоточена на расширении возможностей Expectation-Maximisation (EM), широко примен...

2025-09-06

Sig-DEG for Distillation: Making Diffusion Models Faster and Lighter

#### Контекст Diffusion models являются перспективным классом генерирующих моделей, способных достигать современных рез...

2025-08-27