Sumi: Open Uniform Diffusion Language Model from Scratch

Mengyu Ye, Keito Kudo, Wataru Ikeda, Ryosuke Matsuda, Keisuke Sakaguchi, Jun SuzukiarXiv 2026

TL;DR

The authors introduce Sumi, the first 7B-parameter uniform diffusion language model (UDLM) pretrained entirely from scratch on 1.5 trillion tokens. Sumi performs competitively with standard autoregressive models on coding and knowledge benchmarks, providing the research community with an open, large-scale baseline to study the unique generation dynamics of non-autoregressive diffusion models.

What Problem Does This Paper Address?

While autoregressive (AR) models generate text token-by-token from left to right, diffusion language models offer a non-autoregressive alternative. Masked diffusion models (MDLMs) have scaled successfully but suffer from a core rigidity: once a masked token is filled, it can never be changed.

Uniform diffusion language models (UDLMs) solve this by allowing any token to be updated at any denoising step, theoretically enabling flexible generation and self-correction. However, until now, the community lacked a large-scale UDLM pretrained from scratch to serve as a clean baseline. Existing models were either small or adapted from pre-existing AR models (like DiffusionGemma), leaving the true scaling behavior and generation dynamics of native uniform diffusion unexplored.

Methods

Sumi is a 7B-parameter, time-agnostic bidirectional Transformer. It builds on the Generalized Interpolating Discrete Diffusion (GIDD) framework, utilizing an improved formulation that reparameterizes the evidence lower bound (ELBO) in terms of the signal-to-noise ratio (SNR).

Architecturally, it adopts a LLaMA-style block configuration:

  • 36 layers, hidden size of 4096
  • SwiGLU MLPs and Grouped-Query Attention (GQA)
  • Rotary Position Embeddings (RoPE) set to $\theta = 500,000$
  • An off-by-one softmax in the attention mechanism to mitigate the "attention sink" phenomenon and ensure training stability.

Sumi was trained on 288 NVIDIA H100 GPUs for a total of 43,308 GPU-hours.

Datasets

Sumi was trained on a total of 1.5 trillion tokens, split into two primary phases:

  1. Pre-training (1.3T tokens): Built on the English portion of llm-jp-corpus-v4, StarCoder, Python code from swallow_code_v2, and an educational-score-filtered subset of FineWeb (en_fineweb-rescored), curated using a classifier distilled from Qwen3-32B annotations.
  2. Mid-training (250B tokens): Focused heavily on code, math, and reasoning datasets, including llm-jp-corpus-midtraining-v2 and an open reconstruction of MegaMath-Web-Pro-Max. This phase included a context length extension up to 4,864 tokens.
Figure 1: Training data composition. Pre-training web data is filtered and re-ranked by educational score, and the mid-training mixture is weighted toward code, math, and reasoning over general text. This composition trades coverage of casual web text for knowledge- and reasoning-oriented content.

Key Insights and Ideas

  • Canvas Length Sensitivity: Unlike AR models that generate indefinitely, UDLMs generate within a fixed "canvas." Sumi's fluency is highly sensitive to this canvas length. It generates fluently within its trained range (around 2048 tokens) but degrades sharply if the canvas is too short, or in some tasks (like GSM8K), too long.
Figure 2: Generation fluency as a function of canvas length, measured as Falcon-7B perplexity over Sumi’s generations on 30 sampled questions per task (lower is better). Sumi is trained at sequence lengths 1184 (pre-training and mid-training) and 4864 (length extension). Green marks the swept canvas lengths that fall within this trained range; orange marks lengths below or above it.
  • Self-Organized Token Commitment: Under ancestral sampling, token generation order is completely unstructured. However, using adaptive (confidence-based) sampling, the model naturally develops a self-organized commitment order—deciding certain tokens early and deferring ambiguous ones until later steps.
Figure 3: Per-position commit order in the extracted answer window under adaptive (confidence) sampling versus ancestral sampling, for 30 sampled questions per task. Each row is one generation; color encodes the first denoising step at which a position reaches its final token (light: early, dark: late).
  • Modest Parallel Decoding for Free: Because of this self-organized structure, Sumi can safely commit up to 4 tokens per denoising step on coding tasks without losing accuracy. However, multi-step arithmetic (GSM8K) remains highly order-sensitive and degrades immediately under parallel decoding.
  • The Self-Correction Paradox: Theoretically, uniform diffusion allows for error correction. However, providing Sumi with an explicit "revision budget" (extra denoising steps) did not improve accuracy. Instead of directed edits, the model performed net-neutral $A \rightarrow B \rightarrow A$ token round-trips.

Key Results

Sumi-7B was evaluated against three open AR models with comparable token budgets (Falcon-7B, Llama 2-7B, and OLMo-7B):

  • General Knowledge & Coding: Sumi achieved the highest scores among the protocol-matched models on MMLU (51.1), HumanEval (22.6), and MBPP (26.6). This success heavily reflects its education- and code-heavy data mixture.
  • Reasoning & Math: Sumi performed competitively, scoring 32.8 on GSM8K, significantly outperforming Falcon-7B (5.3) and OLMo-7B (3.8), though lagging behind prior non-protocol masked diffusion models like LLaDA-8B (70.3).
  • Commonsense Reasoning: Sumi underperformed on benchmarks like PIQA, HellaSwag, and WinoGrande. The authors attribute this gap partly to their heavily filtered, textbook-style training data, which lacks casual web text.

Limitations and Future Work

The exploratory inference probes were conducted on a small sample size (30 questions per task), making the architectural insights directional rather than definitive. Additionally, the model currently lacks instruction tuning, alignment, or safety filtering.

Future work will focus on releasing an instruction-tuned variant of Sumi and exploring specialized inference setups designed to unlock true, targeted self-correction capabilities.

Summary updated

BibTeX
@misc{ye2026sumi,
  author = {Mengyu Ye and Keito Kudo and Wataru Ikeda and Ryosuke Matsuda and Keisuke Sakaguchi and Jun Suzuki},
  title = {{Sumi: Open Uniform Diffusion Language Model from Scratch}},
  year = {2026},
  eprint = {2606.19005},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.19005},
}
Figure