The Design Space of Tri-Modal Masked Diffusion Models

Louis Béthune, Victor Guilherme Turrisi da Costa, Bruno Kacper Mlodozeniec, Pau Rodriguez, Lokesh Boominathan, Nikhil Bhendawade, Amitis Shidani, Joris Pelemans, Theo X. Olausson, R Devon Hjelm, Paul Dixon, Joao Monteiro, Pierre Ablin, Vishnu Banna, Arno Blaas, Nick Henderson, Kari Noriy, Dan Busbridge, marco cuturi, Joshua M. Susskind, Irina Belousova, Luca Zappella, Russell Webb, Jason RamapuramNeurIPS 2026

TL;DR

What if one single neural network could write essays, paint pictures, and speak out loud—not by stringing words and pixels together left-to-right like GPT, but by sculpting them out of pure noise all at once? Researchers at Apple have built the first tri-modal Masked Diffusion Model (MDM) trained entirely from scratch on text, images, and audio. Better yet, they’ve mapped out the mathematical "instruction manual" for scaling these unified models up without blowing your compute budget.

What Problem Does This Paper Address?

Today’s generative AI landscape is overwhelmingly ruled by autoregressive (AR) models—systems that generate sequences one token at a time, strictly left-to-right. AR models dominate largely because we have spent years perfecting their engineering recipes, not necessarily because left-to-right is the most natural way to think or create. In fact, looking at context in both directions (bidirectionally) is vastly superior when trying to weave multiple modalities like sound, sight, and language together.

Masked Diffusion Models (MDMs) offer a bidirectional alternative: start with a sequence of blank "mask" tokens and iteratively fill in the blanks until a coherent text, image, or audio clip emerges. While recent experiments have tried adapting existing models into bi-modal MDMs, nobody knew how to pretrain a unified, tri-modal MDM from scratch. Without established recipes for batch sizes, learning rates, and scaling laws, training an MDM at scale has been flying blind.

Methods

The authors unify text, images, and audio by translating each into discrete tokens using off-the-shelf encoders (Tiktoken for text, SBER-MoVQGAN for images, and Higgs Audio v2 for audio). Everything is fed into a single, standard bidirectional Transformer with a shared vocabulary—no modality-specific heads or adapters required. During training, tokens are randomly replaced with modality-specific [MASK] tokens, and the model learns to guess the missing pieces.

What’s genuinely new here is the optimization recipe for scale:

  • SDE Reparameterization of AdamW: Standard training suffers from a finicky "optimal batch size." By treating the AdamW optimizer as a continuous Stochastic Differential Equation (SDE) and rescaling its hyperparameters dynamically, the authors decouple batch size from final loss—up to a critical breaking point ($B_{\text{crit}}$).
  • The Drift–Horizon Parameter ($\gamma$): When you get a bigger token budget, should you take more optimization steps (longer horizon) or use bigger batches to reduce gradient noise (less drift)? The authors introduce an interpolation knob $\gamma \in [0, 1]$ to mathematically balance the two.
  • Anti-Masking: Random masking creates wild swings in gradient variance. To calm things down when data is scarce, the authors pair every training example in a batch with its exact complementary mask (if token A is masked in copy 1, it is unmasked in copy 2).

Datasets

No new benchmarks were introduced; instead, the model was pretrained on a massive, 1:1:1 mixture of existing sources:

  • Text: Nemotron-CC, DCLM, subsets of The Pile, and synthetic reasoning traces.
  • Images: CC3M, CC12M, and curated image-text datasets.
  • Audio: 2 million hours of speech transcribed via Whisper and quality-filtered.

Evaluations were conducted on held-out test splits plus standard benchmarks: LM Harness (MMLU, HellaSwag, ARC, etc.) for text, CC12M and GenEval for image fidelity and compositionality, and Libri-PC for speech generation.

Key Insights and Ideas

  • Split your extra tokens 50/50: Sweeping their new $\gamma$ parameter revealed an optimal value of $\gamma^* \approx 0.44$ (roughly $1/2$). Geometrically, when you double your data budget, half of those extra tokens should go toward traveling further across the loss landscape (more steps), and half toward descending deeper into its valleys (quieter gradients via larger virtual batch sizes).
  • Batch-size freedom has a speed limit: Below $B_{\text{crit}}$, you can crank up your batch size to max out your GPUs with zero penalty to model quality. However, $B_{\text{crit}}$ grows sub-linearly with total tokens—meaning for ultra-long training runs, you can't just throw proportionally more GPUs at the problem forever without wasting FLOPs.
  • MDMs get greedier for parameters than data: Fitting scaling laws across 262 models revealed $D^\star(N) \propto N^{0.84}$. Unlike Chinchilla’s famous 20-tokens-per-parameter rule for AR models (where data and model size scale in lockstep), tri-modal MDMs become more data-efficient per parameter as they grow—a blessing if you're running out of high-quality multimodal data.
  • No "free lunch" across modalities (yet): Varying the mix of text, audio, and images showed zero cross-modal synergy at the 320M scale. Making the model better at audio simply steals capacity from text and images.

Key Results

Armed with these scaling laws and zero-shot hyperparameter transfer, the team pretrained a 3B-parameter tri-modal MDM on 6.4 trillion tokens (1M steps, batch size 3072).

Samples generated by the pretrain-only 3B tri-modal MDM, showing natural lighting, fine B&W fur texture, warm color tones, and multi-object composition.

Without any post-training or instruction tuning, this single 3B model achieves:

  • Text: Competitive zero/few-shot reasoning, hitting 72.52% on ARC-Easy, 71.55% on PIQA, 65.88% on HellaSwag, and 41.57% on MMLU.
  • Image Generation: Strong visual rendering and prompt adherence, scoring an FID-Inception of 10.06 on CC12M and 48.89% overall on GenEval (93.12% on single-object prompts).
  • Audio Generation: Clean text-to-speech synthesis with a Word Error Rate (WER) of 0.164 and Fréchet Audio Distance (FAD) of 0.368 on Libri-PC.
  • Anti-masking wins: Under equal compute budgets, anti-masking improved FID and FAD across all datasets on a 1.3B multimodal model and boosted accuracy on 9 out of 10 LM Harness tasks for a 7B text model.

Limitations and Future Work

The authors are candid about the catches:

  • Loss $\neq$ Downstream Quality: Their scaling laws optimize the diffusion loss bound (ELBO), which doesn't always translate smoothly into better FID scores or benchmark accuracy.
  • Tokenizer Bottlenecks: Because the model generates discrete tokens, its visual and audio crispness hits a hard ceiling set by the external tokenizers' reconstruction quality.
  • Scale Questions: At 3B parameters, modalities competed for capacity; whether magical cross-modal synergies unlock past 10B+ parameters remains an open question.

For future work, the authors point toward supervised fine-tuning, preference optimization (like RLHF), and—most urgently—closing the inference speed gap with AR models via parallel decoding techniques.

Summary updated

Abstract

Discrete diffusion models have emerged as strong alternatives to autoregressive language models, with recent multimodal work either finetuning unimodal diffusion bases or distilling autoregressive backbones for bi-modal generation. Diverging from these approaches, we introduce the first tri-modal \gls{mdm} \emph{pretrained from scratch} on text, image-text, and audio-text data, where all generation tasks are learned simultaneously within a single model. We systematically study the design space governing stability and efficiency at scale: we conduct the first empirical characterization of the critical batch size $B_{\text{crit}}$ under the SDE reparameterization of AdamW, and introduce a drift--horizon interpolation parameter $\gamma$ that balances gradient noise reduction and optimization horizon when scaling the token budget. We derive multimodal scaling laws and ablate modality mixing ratios, noise schedules, and anti-masking. Lastly, we pretrain a 3B model on 6.4T tokens, achieving competitive results in text generation, text-to-image, and text-to-speech.
BibTeX
@inproceedings{bethune2026design,
  author = {Louis Béthune and Victor Guilherme Turrisi da Costa and Bruno Kacper Mlodozeniec and Pau Rodriguez and Lokesh Boominathan and Nikhil Bhendawade and Amitis Shidani and Joris Pelemans and Theo X. Olausson and R Devon Hjelm and Paul Dixon and Joao Monteiro and Pierre Ablin and Vishnu Banna and Arno Blaas and Nick Henderson and Kari Noriy and Dan Busbridge and marco cuturi and Joshua M. Susskind and Irina Belousova and Luca Zappella and Russell Webb and Jason Ramapuram},
  title = {{The Design Space of Tri-Modal Masked Diffusion Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=NBUCuy2uaq},
}

Loading related content...

Figure