AI Navigate

MDM-Prime-v2: Binary Encoding and Index Shuffling Enable Compute-optimal Scaling of Diffusion Language Models

arXiv cs.LG / 3/18/2026

📰 NewsIdeas & Deep AnalysisModels & Research

Key Points

  • The paper introduces MDM-Prime-v2, a masked diffusion language model that uses Binary Encoding and Index Shuffling to achieve compute-optimal scaling.
  • It addresses limitations of MDM-Prime related to token granularity and subtokenizer form when paired with BPE by studying variational bound tightness and improving the tokenization approach.
  • It reports that MDM-Prime-v2 is 21.8x more compute-efficient than autoregressive models and achieves a perplexity of 7.77 on OpenWebText, outperforming ARM, MDM, and MDM-Prime under compute-optimal comparisons.
  • With a 1.1B-parameter configuration, it demonstrates superior zero-shot accuracy on commonsense reasoning tasks.

Abstract

Masked diffusion models (MDM) exhibit superior generalization when learned using a Partial masking scheme (Prime). This approach converts tokens into sub-tokens and models the diffusion process at the sub-token level. We identify two limitations of the MDM-Prime framework. First, we lack tools to guide the hyperparameter choice of the token granularity in the subtokenizer. Second, we find that the function form of the subtokenizer significantly degrades likelihood estimation when paired with commonly used Byte-Pair-Encoding (BPE) tokenizers. To address these limitations, we study the tightness of the variational bound in MDM-Prime and develop MDM-Prime-v2, a masked diffusion language model which incorporates Binary Encoding and Index Shuffling. Our scaling analysis reveals that MDM-Prime-v2 is 21.8\times more compute-efficient than autoregressive models (ARM). In compute-optimal comparisons, MDM-Prime-v2 achieves 7.77 perplexity on OpenWebText, outperforming ARM (12.99), MDM (18.94), and MDM-Prime (13.41). When extending the model size to 1.1B parameters, our model further demonstrates superior zero-shot accuracy on various commonsense reasoning tasks.