SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.02263 · ICML · 2026

Break the Block: Dynamic-size Reasoning Blocks for Diffusion Large Language Models via Monotonic Entropy Descent with Reinforcement Learning

Zi Huang, Yan Jiang, Ruihong Qiu

arXiv · PDF · Open in the Atlas

Code that ran

9 of 10 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 4 violated it and 0 have no contract verdict; 3 failures of our instrument; 1 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2605.02263.json · badge: /api/ran/2605.02263.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
YanJiangJerry/Block-R1 community
Papers with Code archive
9 ran · 1 no recorded run
FunctionStatusWhere it lives
_dream_model_type_match Ran
ran, violated the contract we drafted
YanJiangJerry/Block-R1/rl/trainers/dynamic_generate.py
code served (permissive licence) · get_code("9b1b5af4ab0d7edf")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

class MockConfig:
    def __init__(self, model_type=None):
        self.model_type = model_type

# Test case 1: cfg is None
cfg_none = None

# Test case 2: cfg with model_type = 'dream'
cfg_dream = MockConfig(model_type='dream')

# Test case 3: cfg with model_type = 'DREAM' (uppercase)
cfg_dream_upper = MockConfig(model_type='DREAM')

# Test case 4: cfg with model_type = 'other'
cfg_other = MockConfig(model_type='other')

# Test case 5: cfg with model_type = '' (empty string)
cfg_empty = MockConfig(model_type='')

# Test case 6: cfg with no model_type attribute
cfg_no_attr = MockConfig()

# Test case 7: cfg with model_type = None
cfg_model_type_none = MockConfig(model_type=None)

ARGS = {
    'cfg': cfg_dream
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
_get_model_name_or_path Ran
ran; our contract draft was wrong, not the code
YanJiangJerry/Block-R1/rl/trainers/dynamic_generate.py
code served (permissive licence) · get_code("bc2a7d90557f8dae")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a minimal config class
class MinimalConfig:
    def __init__(self, name_or_path=''):
        self._name_or_path = name_or_path

# Create a minimal model class
class MinimalModel(nn.Module):
    def __init__(self, config=None):
        super().__init__()
        self.config = config
        self.linear = nn.Linear(4, 3)

# Test case 1: Model with config that has _name_or_path
model_with_config = MinimalModel(config=MinimalConfig('gpt2'))

# Test case 2: Model with PEFT wrapper structure
class PEFTWrappedModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.base_model = MinimalModel(config=MinimalConfig('bert-base'))
        self.linear = nn.Linear(4, 3)

peft_wrapped = PEFTWrappedModel()

# Test case 3: Model with peft_config dict
class ModelWithPeftConfig(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
        
        # Create a minimal peft config object
        class PeftConfigObj:
            def __init__(self, base_model_name):
                self.base_model_name_or_path = base_model_name
        
        self.peft_config = {
            'default': PeftConfigObj('roberta-base')
        }

model_with_peft_config = ModelWithPeftConfig()

# Test case 4: Minimal model with no config
class MinimalModelNoConfig(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)

model_no_config = MinimalModelNoConfig()

# Use the first test case as the main argument
ARGS = {
    'model': model_with_config
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
add_gumbel_noise Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
YanJiangJerry/Block-R1/rl/trainers/dynamic_generate.py
code served (permissive licence) · get_code("746963c6a9e9b2b0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

logits = torch.randn(2, 4)
temperature = 0.5
dtype = torch.float64

ARGS = {
    "logits": logits,
    "temperature": temperature,
    "dtype": dtype,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
apply_dream_logits_shift Ran
ran, violated the contract we drafted
YanJiangJerry/Block-R1/rl/trainers/dynamic_generate.py
code served (permissive licence) · get_code("5ce0b91532ff49e0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 3, dtype family float, shape (2, 5, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a minimal Dream model that will be detected by is_dream_model
class DreamConfig:
    def __init__(self):
        self.model_type = 'dream'

class DreamModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.config = DreamConfig()
        self.linear = nn.Linear(4, 4)
    
    def forward(self, x):
        return self.linear(x)

# Create a simple wrapper model that has the DreamModel as base
class WrappedDreamModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.base_model = nn.Module()
        self.base_model.model = DreamModel()
    
    def forward(self, x):
        return self.base_model.model(x)

# Build test arguments
logits = torch.randn(2, 5, 4)  # batch_size=2, seq_len=5, vocab_size=4
model = WrappedDreamModel()

ARGS = {
    'logits': logits,
    'model': model
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 5, 4) — shape (2, 5, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_mask_id Ran
ran, honoured the contract we drafted
YanJiangJerry/Block-R1/rl/trainers/dynamic_generate.py
code served (permissive licence) · get_code("a1ea401f57f4848e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

# Create a minimal tokenizer with mask_token_id
class MinimalTokenizer:
    def __init__(self, mask_token_id=None):
        self.mask_token_id = mask_token_id

# Create a minimal config
class MinimalConfig:
    def __init__(self, mask_token_id=None, model_type=None):
        self.mask_token_id = mask_token_id
        self.model_type = model_type

# Create a minimal model with config
class MinimalModel(nn.Module):
    def __init__(self, config=None):
        super().__init__()
        self.config = config

# Create a minimal wrapped model with base_model structure
class MinimalWrappedModel(nn.Module):
    def __init__(self, inner_config=None):
        super().__init__()
        self.inner_model = MinimalModel(config=inner_config)
        self.base_model = type('obj', (object,), {'model': self.inner_model})()

torch.manual_seed(0)

# Test case 1: tokenizer has mask_token_id
tokenizer_with_mask = MinimalTokenizer(mask_token_id=999)

# Test case 2: model with config containing mask_token_id
config_with_mask = MinimalConfig(mask_token_id=888)
model_with_mask = MinimalModel(config=config_with_mask)

# Test case 3: model with model_type lookup
config_with_type = MinimalConfig(model_type='llada2_moe')
model_with_type = MinimalModel(config=config_with_type)

# Test case 4: wrapped model with base_model structure
wrapped_config = MinimalConfig(mask_token_id=777)
wrapped_model = MinimalWrappedModel(inner_config=wrapped_config)

# Test case 5: use defaults (no tokenizer, no model)
ARGS = {
    "tokenizer": tokenizer_with_mask,
    "model": model_with_mask,
    "default": 126336
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_num_transfer_tokens Ran
ran, honoured the contract we drafted
YanJiangJerry/Block-R1/rl/trainers/dynamic_generate.py
code served (permissive licence) · get_code("0b9c375ad9242640")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family int, shape (2, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small mask_index tensor
# Shape: (batch_size=2, sequence_length=4)
# Contains boolean values indicating which tokens are masked
mask_index = torch.tensor([
    [True, True, False, True],
    [True, False, True, False]
], dtype=torch.bool)

# steps parameter: number of steps for unmasking
steps = 3

ARGS = {
    "mask_index": mask_index,
    "steps": steps
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family int, shape (2, 3) — shape (2, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
is_dream_model Ran
ran, violated the contract we drafted
YanJiangJerry/Block-R1/rl/trainers/dynamic_generate.py
code served (permissive licence) · get_code("638ebe824f2a9482")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

class DreamConfig:
    def __init__(self, model_type='dream'):
        self.model_type = model_type

class DreamModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.config = DreamConfig('dream')
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

class RegularModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.config = DreamConfig('gpt2')
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

class ModelWithGetBaseModel(nn.Module):
    def __init__(self, base):
        super().__init__()
        self.base = base
        self.linear = nn.Linear(4, 3)
    
    def get_base_model(self):
        return self.base
    
    def forward(self, x):
        return self.linear(x)

class ModelWithBaseModelAttr(nn.Module):
    def __init__(self, inner):
        super().__init__()
        self.base_model = nn.Module()
        self.base_model.model = inner
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

class DDPWrappedModel(nn.Module):
    def __init__(self, module):
        super().__init__()
        self.module = module
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

dream_model = DreamModel()
regular_model = RegularModel()
peft_dream_model = ModelWithGetBaseModel(DreamModel())
base_model_dream = ModelWithBaseModelAttr(DreamModel())
ddp_dream_model = DDPWrappedModel(DreamModel())

ARGS = {
    'model': dream_model
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
is_llada2_mini Ran
ran, violated the contract we drafted
YanJiangJerry/Block-R1/rl/trainers/dynamic_generate.py
code served (permissive licence) · get_code("b83157bd00342cad")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn


class MockConfig:
    def __init__(self, name_or_path=''):
        self._name_or_path = name_or_path


class MockModel(nn.Module):
    def __init__(self, config=None):
        super().__init__()
        self.config = config


class MockPEFTModel(nn.Module):
    def __init__(self, base_model=None, peft_config=None):
        super().__init__()
        self.base_model = base_model
        self.peft_config = peft_config


class MockPEFTConfig:
    def __init__(self, base_model_name_or_path=''):
        self.base_model_name_or_path = base_model_name_or_path


# Test case 1: Model with config containing _name_or_path
model_with_config = MockModel(config=MockConfig(name_or_path='llada2-mini-7b'))

# Test case 2: Model without config (returns empty string)
model_without_config = MockModel(config=None)

# Test case 3: Model with base_model structure (PEFT wrapper)
inner_model = MockModel(config=MockConfig(name_or_path='llada2-mini-3b'))
peft_model = MockPEFTModel(base_model=inner_model)

# Test case 4: Model with peft_config dict
peft_config_dict = {
    'default': MockPEFTConfig(base_model_name_or_path='llada2-mini-1b')
}
model_with_peft_config = MockPEFTModel(peft_config=peft_config_dict)

# Use the first model for the ARGS dict
ARGS = {
    'model': model_with_config
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
prefill_answer_structure Ran
ran; our contract draft was wrong, not the code
YanJiangJerry/Block-R1/rl/trainers/dynamic_generate.py
code served (permissive licence) · get_code("43e797e1cc05cc71")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family int, shape (2, 64) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Stand-in tokenizer class that implements the encode method
class SimpleTokenizer:
    def encode(self, text, add_special_tokens=False):
        # Return a small list of token IDs
        # Different strings return different lengths for testing
        if text == '\n</reasoning>\n<answer>\n':
            return [101, 102, 103]  # 3 tokens
        elif text == '\n</answer>':
            return [104, 105]  # 2 tokens
        else:
            return [1, 2]

tokenizer = SimpleTokenizer()

# Create a small batch of token IDs
# Shape: (batch_size=2, sequence_length=64)
x = torch.randint(0, 1000, (2, 64), dtype=torch.long)

# Parameters for the function
prompt_length = 20
gen_length = 44  # total seq = 20 + 44 = 64
mask_id = 0
reserve_tokens = 48

ARGS = {
    'x': x,
    'tokenizer': tokenizer,
    'prompt_length': prompt_length,
    'gen_length': gen_length,
    'mask_id': mask_id,
    'reserve_tokens': reserve_tokens
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family int, shape (2, 64) — shape (2, 64) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
dynamic_generate Not yet run
unverified (harvested, no recorded run)
YanJiangJerry/Block-R1/rl/trainers/dynamic_generate.py
code served (permissive licence) · get_code("fb52d617c23aeba1")
How it ran

no invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 2 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 2 later) and 8 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_num_transfer_tokens
brick of this paper's assembly: helper
4 other papers
3 dated earlier, 1 later
2601.02236 (2026-01)
CD 4 LM: Consistency Distillation and aDaptive Decoding for Diffusion Language Models
2601.22527 (2026-01)
ρ-EOS: Training-free Bidirectional Variable-Length Control for Masked Diffusion LLMs
2602.06462 (2026-02)
Diffusion-State Policy Optimization for Masked Diffusion Language Models
and 1 more not named here
add_gumbel_noise
brick of this paper's assembly: helper
1 other paper
1 later
2606.18195 (2026-06)
Learning from the Self-future: On-policy Self-distillation for dLLMs

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Recent diffusion large language models (dLLMs) have demonstrated both effectiveness and efficiency in reasoning via a block-based semiautoregressive generation paradigm. Despite their progress, the fixed-size block generations remain a critical bottleneck for effective and coherent reasoning. (i) From a global perspective, different reasoning tasks would correspond to different optimal decoding block sizes, which makes a "one-size-fits-all" assumption ineffective. (ii) Even within a single reasoning task, the rigid block partitioning would break the logical flow and reduce reasoning coherence. Through empirical observations, we reveal that for block-wise entropy, incorrect reasoning exhibits a fluctuating and unsteady trend between blocks, whereas the correctly generated tasks follow a consistent descending trend. Therefore, this paper proposes b1, a novel post-training framework for dLLMs that learns dynamic-size reasoning blocks via a Monotonic Entropy Descent objective with reinforcement learning to enhance reasoning coherence. b1 integrates seamlessly as a plug-and-play module with existing dLLM's post-training algorithms. Extensive experiments across various reasoning benchmarks showcase b1's consistent improvement over existing fixedsize block baselines. Our code has been released at https://github.com/YanJiangJerry/Block-R1.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2605.02263")
get_code_for_paper("2605.02263")
have("2605.02263")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2605.02263.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2605.02263.svg)](https://syntology.ai/paper/2605.02263)

Connect an agent — have() is free.