# BlockGen: Flexible Blockwise Sequence Modeling with Hybrid Samplers

Source: [BlockGen: Flexible Blockwise Sequence Modeling with Hybrid Samplers](<https://www.sota2.com/research/paper/6a1e641ddbd7150506f8574f>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-06-02T05:03:19.763Z

Authors: Justin Deschenaux, Caglar Gulcehre

Published: 2026-06-01T13:36:54.000Z

## Abstract

Is the uniform-state diffusion framework a more powerful paradigm for discrete diffusion? Recent studies indicate that this may be the case. In combination with predictor-corrector samplers, uniform-state diffusion models (USDMs) produce samples of higher-quality than masked diffusion models (MDMs), and USDMs equal or outperform MDMs in downstream tasks, even though they exhibit greater perplexity. Two issues remain unresolved. First, existing work compares uniform and masked diffusion with un-informed correctors that re-inject noise at random positions, rather than targeting tokens most likely to be wrong. Second, prior work compares full-sequence diffusion models, so we do not know whether the same conclusion holds when tokens are generated block by block. To address these issues, we introduce BlockGen, a blockwise sequence model that we instantiate with both masked and uniform diffusion. BlockGen trains on a mixture of block sizes and its likelihood interpolates between AR and pure diffusion more finely than models with a fixed block size. BlockGen enables AR-informed predictor-corrector sampling (ARPC), which combines AR and diffusion predictions to re-generate unlikely tokens without an auxiliary verifier. Under ancestral sampling, uniform outperforms masked in the block-by-block setting, especially in the few-step regime. Under ARPC, the gap closes and reverses at high NFE. With block size $16$ on GSM8K, MDMs reach slightly higher accuracy than USDMs, and we observe a similar trend in Generative Perplexity on OpenWebText. Find our code at https://github.com/jdeschena/blockgen.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Language Modeling on OpenWebText 1M steps (val)](<https://www.sota2.com/research/sota/language-modeling-on-openwebtext-1m-steps-val.md>): Language Modeling; OpenWebText 1M steps (val); Validation Perplexity (PPL): 17.5.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2606.02241>)

[PDF](<https://arxiv.org/pdf/2606.02241.pdf>)
