Block-R1: Rethinking the Role of Block Size in Multi-domain Reinforcement Learning for Diffusion Large Language Models

Yan Jiang, Ruihong Qiu, Zi HuangarXiv 2026

TL;DR

Diffusion Large Language Models (dLLMs) achieve high-speed text generation by decoding blocks of tokens in parallel, but forcing a single, fixed block size across diverse tasks during Reinforcement Learning (RL) post-training severely damages performance. This paper introduces Block-R1, a novel framework and dataset that eliminates this "domain block size conflict" by dynamically pairing individual training samples with their optimal, sample-level block sizes. The resulting block-conditioned training drastically improves cross-domain generalization, turning multi-domain training from a performance hindrance into a major strength.

What Problem Does This Paper Address?

Unlike traditional autoregressive language models that generate text strictly token-by-token from left to right, Diffusion Large Language Models (dLLMs) break sequences into equal-sized blocks to denoise and generate multiple tokens simultaneously. The choice of block size dictates the granularity of this parallel decoding.

When researchers apply reinforcement learning (such as Group Relative Policy Optimization, or GRPO) to post-train these models, they typically keep the block size fixed as a global hyperparameter. While this works fine when training and testing on a single domain, it fails spectacularly in multi-domain scenarios.

The authors discover a fundamental bottleneck: Domain Block Size Conflict. Different tasks inherently require different decoding granularities. For instance, complex mathematical reasoning benefits from smaller block sizes to allow for fine-grained, step-by-step verification. Conversely, structural tasks like puzzle-solving favor larger block sizes to maintain global formatting consistency. Forcing a "one-for-all" block size across a mixture of domains restricts the model's optimization capacity, often causing multi-domain RL models to perform worse than single-domain models—and sometimes even worse than the base un-tuned model.

Figure 1: Motivation for Block-R1. Multi-domain RL refers to using all six domains as training domains during post-training. The recent competitive method StableDRL [75] is used as the default base RL algorithm owing to its strong performance, while LLaDA-8B [38] is adopted as the dLLM backbone following most existing dLLM post-training methods [74, 53, 45]. The insights are twofold: (1) RL post-training dLLMs on different domains prefer different block sizes. (2) Multi-domain post-training on all domains with the same block size (red line) results in degraded dLLM test performance compared with single-domain RL (blue line), and can even perform worse than the base model without RL (grey dashed line). Evidence by more dLLM-based RL methods is in Figure 4

Methods

To break the rigid constraint of a unified block size, the authors propose a sample-level adaptive approach consisting of three key components:

  1. Teacher-Student Evaluation Pipeline: To find the ideal block size for any given task, the authors freeze a strong "teacher" dLLM and a weaker "student" base dLLM. They evaluate the expected rewards for each training sample across a candidate set of block sizes ($B = \{4, 8, 16, 32, 64, 128\}$). The block size that yields the largest reward improvement gap between the teacher and student is selected as the best-improved training block size ($c^*_x$) for that specific sample.
  2. Sample-Level Block-Conditioned Training: During the RL post-training phase, instead of using a globally fixed block size, the dLLM generates rollout trajectories and applies policy updates conditioned directly on each sample's annotated $c^*_x$.
  3. Block Size Conflict Score (BCS): The authors introduce a formal metric based on the Wasserstein distance to quantitatively measure the divergence between the block size preferences of any two domains. This provides an empirical diagnostic tool to predict how severely domain conflict will impact standard fixed-block training.

Datasets

The authors construct and open-source Block-R1-41K, a multi-domain dataset containing over 41,000 high-quality training samples balanced across diverse reasoning domains, with each sample pre-annotated with its optimal training block size.

To evaluate the approach, they introduce the Block-R1 Benchmark, which spans 13 distinct datasets across five major categories:

  • Mathematical Reasoning: GSM8K, MATH500, Countdown
  • Code Generation: KodCode, MBPP, HumanEval
  • Puzzle Solving: Sudoku, Knights-and-Knaves (KK)
  • General Capabilities: HellaSwag, MMLU, ARC-E
  • Advanced Reasoning: MMLU-Pro, ARC-C

Key Insights and Ideas

  • The Multi-Domain Penalty is Real: Simply mixing data from different domains and training with a standard fixed block size introduces structural conflicts that confuse the policy update, leading to severe performance degradation.
  • Granularity Preferences are Task-Dependent: Visualizing the dataset reveals clear preferences: the Countdown task heavily favors small block sizes (4 and 8), whereas Sudoku and Knights-and-Knaves strongly prefer large block sizes (64 and 128).
  • BCS Predicts Degradation: The proposed Block Size Conflict Score (BCS) accurately correlates with performance drops. Domains with high pairwise BCS values experience the worst degradation when forced to share a fixed block size during training.
Figure 2: Additional visualisations for domain block size conflict in multi-domain RL for dLLMs. (a) Relationship between BCS and multi-domain RL performance, where each point denotes domain pairs under vanilla fixed-block mix-domain RL and a larger BCS relates to stronger performance degradation. (b) Pairwise domain block size conflict visualisation, where darker red cells indicate stronger block size conflict between two domains measured by BCS. (c) Sample-level best-improved training block size distribution, where each bar counts the number of samples whose teacher-student improvement score is maximised by the corresponding block size group.

Key Results

The Block-R1 framework successfully mitigates domain block size conflict, yielding massive performance gains across multiple dLLM backbones (including LLaDA, Dream, and SDAR) and various RL algorithms:

  • Massive Generalization Boosts: On the LLaDA-8B backbone using the StableDRL algorithm, Block-R1 improves the zero-shot accuracy on Countdown from 30.08% (Vanilla fixed-block multi-domain) to 62.11%. Similarly, Knights-and-Knaves (KK) accuracy jumps from 30.14% to 50.14%.
  • Outperforming Single-Domain Baselines: Block-R1 doesn't just beat vanilla multi-domain training; it frequently outperforms models trained exclusively on a single target domain, proving that multi-domain training can be highly effective when structural conflicts are resolved.
  • Test-Time Synergy: Models trained with Block-R1 remain fully compatible with plug-and-play dynamic inference-time block selection methods (like $b1$), pushing evaluation scores even closer to the theoretical "Oracle" upper bound.

Limitations and Future Work

While Block-R1 sets a new standard for multi-domain dLLM training, the authors note a few limitations:

  • Architecture Specificity: The analysis and methodology are strictly designed around block-based semi-autoregressive dLLMs. It remains unproven whether these insights transfer to other non-autoregressive generation paradigms that do not utilize a block structure.
  • Upfront Computational Cost: Finding the optimal block size for the Block-R1-41K dataset requires an offline teacher-student evaluation pass across multiple block sizes, which introduces a one-time computational overhead during dataset curation (though it adds zero overhead during actual RL training).

Future work will focus on extending adaptive decoding granularities to non-block-based generation frameworks and developing more efficient, online methods for block size estimation.

Summary updated

BibTeX
@misc{jiang2026block,
  author = {Yan Jiang and Ruihong Qiu and Zi Huang},
  title = {{Block-R1: Rethinking the Role of Block Size in Multi-domain Reinforcement Learning for Diffusion Large Language Models}},
  year = {2026},
  eprint = {2605.11726},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.11726},
}
Figure