Papers › Partition Generative Modeling: Masked Modeling Without Masks

Partition Generative Modeling: Masked Modeling Without Masks

24 May 2025arXiv:2505.18883archive 2025-07-28

Justin Deschenaux, Lan Tran, Caglar Gulcehre

We introduce ``Partition Generative Models'' (PGMs), a novel approach to masked generative modeling (MGMs), particularly effective for masked diffusion language modeling (MDLMs). PGM divides tokens into two distinct groups and employs sparse attention patterns to prevent cross-group information exchange. Hence, the model is trained to predict tokens in one group based solely on information from the other group. This partitioning strategy eliminates the need for MASK tokens entirely. While traditional MGMs inefficiently process MASK tokens during generation, PGMs achieve greater computational efficiency by operating exclusively on unmasked tokens. Our experiments on OpenWebText with a context length of 1024 tokens demonstrate that PGMs deliver at least 5x improvements in both latency and throughput compared to MDLM when using the same number of sampling steps, while generating samples with better generative perplexity than MDLM. Finally, we show that PGMs can be distilled with Self-Distillation Through Time (SDTT), a method originally devised for MDLM, in order to achieve further inference gains.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2505.18883")

Code

Syntology Ran 8 of 14 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · fixture could not drive it; 5 ran with no contract checked.

By repository: official repository: 14 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

kuleshov-group/mdlm officialmentioned in paperpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 8 ran; 1 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · fixture could not drive it
5ran
6unverified

Licence: 0 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from kuleshov-group/mdlm. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

bias_dropout_add_scale kuleshov-group/mdlm/models/autoregressive.py official repository ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · fbbc6722b74bda27 · report
bias_dropout_add_scale_fused_train kuleshov-group/mdlm/models/autoregressive.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · ee894c881614c3ec · report
fsspec_exists kuleshov-group/mdlm/utils.py official repository ran Apache-2.0 (permissive) · dec1de00023a923b · report
get_bias_dropout_add_scale kuleshov-group/mdlm/models/autoregressive.py official repository ran Apache-2.0 (permissive) · 06d2d8e50f91481f · report
lm1b_detokenizer kuleshov-group/mdlm/dataloader.py official repository ran fingerprinted Apache-2.0 (permissive) · 576e1b9b9bcae8ff · report
modulate kuleshov-group/mdlm/models/dit.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · 78b555034273f3c7 · report
ptb_detokenizer kuleshov-group/mdlm/dataloader.py official repository ran fingerprinted Apache-2.0 (permissive) · 9f7fbdbe7ca280e0 · report
wt_detokenizer kuleshov-group/mdlm/dataloader.py official repository ran fingerprinted Apache-2.0 (permissive) · 46c10627206a7795 · report
binary_discretization kuleshov-group/mdlm/noise_schedule.py official repository unverified Apache-2.0 (permissive) · 9b9814cca50339d7 · report
cross_entropy kuleshov-group/mdlm/models/dimamba.py official repository unverified Apache-2.0 (permissive) · 38b9682eb110eda2 · report
fsspec_listdir kuleshov-group/mdlm/utils.py official repository unverified Apache-2.0 (permissive) · db0136eb80a50383 · report
get_logger kuleshov-group/mdlm/utils.py official repository unverified Apache-2.0 (permissive) · 60dbd956810fafb6 · report
get_noise kuleshov-group/mdlm/noise_schedule.py official repository unverified Apache-2.0 (permissive) · fe6314378d2def00 · report
weighted_cross_entropy kuleshov-group/mdlm/models/dimamba.py official repository unverified Apache-2.0 (permissive) · fdbb5a9a25cff18f · report

Tasks

Computational EfficiencyLanguage ModelingLanguage Modelling

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AttentionDiffusionPGMSoftmax

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections