Partition Generative Modeling: Masked Modeling Without Masks

Justin Deschenaux, Lan Tran, Caglar Gulcehre
5/24/2025
cs.LG

No official code found. Best implementation: kuleshov-group/mdlm (699 stars, Apache-2.0, last commit 2025-09-29).

Abstract

Masked generative models (MGMs) are widely used to capture complex data and enable faster generation than autoregressive models (AR) through parallel decoding. However, MGMs typically operate on fixed-length inputs, which can be inefficient: early in sampling, most tokens are masked and carry no information, leading to wasted computation. In contrast, AR models process only tokens generated previously, making early iterations faster. In this work, we introduce the Partition Generative Model (PGM), a novel approach that combines the strengths of AR and MGMs. Rather than masking, PGM partitions tokens into two groups and employs sparse attention to block information flow between them. Since there is no information flow between partitions, the model can process the previously-generated tokens only during sampling, while retaining the ability to generate tokens in parallel and in any order. On OpenWebText, PGMs offer at least $5\times$ improvements in sampling latency and throughput, while producing samples with superior Generative Perplexity, compared to Masked Diffusion Language Models. On ImageNet, PGMs achieve a $7.5\times$ higher throughput than MaskGIT, with only a slight increase in FID (5.54 vs. 5.35). With twice as many sampling steps, the FID reduces to 4.56 while while being $3.9\times$ faster than MaskGIT. Finally, PGMs integrate seamlessly with MGM distillation, providing further inference speedups.

View on arXivView PDF

Code Implementations(1)

kuleshov-group/mdlmCommunity100%
Apache-2.0

[NeurIPS 2024] Simple and Effective Masked Diffusion Language Model

699100Shell, PythonJun 7, 20241 years agoApache-2.0
diffusion-language-modelsdiffusion-modelslanguage-modeltext

Cite this paper

@article{deschenaux2025partition,
  title  = {Partition Generative Modeling: Masked Modeling Without Masks},
  author = {Justin Deschenaux and Lan Tran and Caglar Gulcehre},
  year   = {2025},
  eprint = {2505.18883},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.18883v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.18883.svg)](https://codeofpaper.com/paper/2505.18883)

Discussion