{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2605-02263","title":"Break the Block: Dynamic-size Reasoning Blocks for Diffusion Large Language Models via Monotonic Entropy Descent with Reinforcement Learning","arxiv_id":"2605.02263","date":"2026-05-04","proceeding":"ICML","authors":["Yan Jiang","Ruihong Qiu","Zi Huang"],"abstract":"Recent diffusion large language models (dLLMs) have demonstrated both effectiveness and efficiency in reasoning via a block-based semi-autoregressive generation paradigm. Despite their progress, the fixed-size block generations remain a critical bottleneck for effective and coherent reasoning. 1. From a global perspective, different reasoning tasks would correspond to different optimal decoding block sizes, which makes a ``one-size-fits-all'' assumption ineffective. 2. 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 fixed-size block baselines. Our code has been released at https://github.com/YanJiangJerry/Block-R1.","url_abs":"https://arxiv.org/abs/2605.02263","url_pdf":"https://arxiv.org/pdf/2605.02263","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2605.02263","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2605.02263"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/YanJiangJerry/Block-R1","reach":null}],"summary":{"ran_violates":4,"ran_draft_wrong":2,"ran_fixture":1,"ran_honours":2,"unverified":1},"by_repo_kind":{"found_in_text":{"samples":10,"ran":9,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"9b1b5af4ab0d7edf","entry":"_dream_model_type_match","repo":"YanJiangJerry/Block-R1","repo_kind":"found_in_text","path":"rl/trainers/dynamic_generate.py","file_url":"https://github.com/YanJiangJerry/Block-R1/blob/HEAD/rl/trainers/dynamic_generate.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9b1b5af4ab0d7edf"}},{"code_sha256_prefix":"bc2a7d90557f8dae","entry":"_get_model_name_or_path","repo":"YanJiangJerry/Block-R1","repo_kind":"found_in_text","path":"rl/trainers/dynamic_generate.py","file_url":"https://github.com/YanJiangJerry/Block-R1/blob/HEAD/rl/trainers/dynamic_generate.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"bc2a7d90557f8dae"}},{"code_sha256_prefix":"746963c6a9e9b2b0","entry":"add_gumbel_noise","repo":"YanJiangJerry/Block-R1","repo_kind":"found_in_text","path":"rl/trainers/dynamic_generate.py","file_url":"https://github.com/YanJiangJerry/Block-R1/blob/HEAD/rl/trainers/dynamic_generate.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"746963c6a9e9b2b0"}},{"code_sha256_prefix":"5ce0b91532ff49e0","entry":"apply_dream_logits_shift","repo":"YanJiangJerry/Block-R1","repo_kind":"found_in_text","path":"rl/trainers/dynamic_generate.py","file_url":"https://github.com/YanJiangJerry/Block-R1/blob/HEAD/rl/trainers/dynamic_generate.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5ce0b91532ff49e0"}},{"code_sha256_prefix":"a1ea401f57f4848e","entry":"get_mask_id","repo":"YanJiangJerry/Block-R1","repo_kind":"found_in_text","path":"rl/trainers/dynamic_generate.py","file_url":"https://github.com/YanJiangJerry/Block-R1/blob/HEAD/rl/trainers/dynamic_generate.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a1ea401f57f4848e"}},{"code_sha256_prefix":"0b9c375ad9242640","entry":"get_num_transfer_tokens","repo":"YanJiangJerry/Block-R1","repo_kind":"found_in_text","path":"rl/trainers/dynamic_generate.py","file_url":"https://github.com/YanJiangJerry/Block-R1/blob/HEAD/rl/trainers/dynamic_generate.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0b9c375ad9242640"}},{"code_sha256_prefix":"638ebe824f2a9482","entry":"is_dream_model","repo":"YanJiangJerry/Block-R1","repo_kind":"found_in_text","path":"rl/trainers/dynamic_generate.py","file_url":"https://github.com/YanJiangJerry/Block-R1/blob/HEAD/rl/trainers/dynamic_generate.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"638ebe824f2a9482"}},{"code_sha256_prefix":"b83157bd00342cad","entry":"is_llada2_mini","repo":"YanJiangJerry/Block-R1","repo_kind":"found_in_text","path":"rl/trainers/dynamic_generate.py","file_url":"https://github.com/YanJiangJerry/Block-R1/blob/HEAD/rl/trainers/dynamic_generate.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b83157bd00342cad"}},{"code_sha256_prefix":"43e797e1cc05cc71","entry":"prefill_answer_structure","repo":"YanJiangJerry/Block-R1","repo_kind":"found_in_text","path":"rl/trainers/dynamic_generate.py","file_url":"https://github.com/YanJiangJerry/Block-R1/blob/HEAD/rl/trainers/dynamic_generate.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"43e797e1cc05cc71"}},{"code_sha256_prefix":"fb52d617c23aeba1","entry":"dynamic_generate","repo":"YanJiangJerry/Block-R1","repo_kind":"found_in_text","path":"rl/trainers/dynamic_generate.py","file_url":"https://github.com/YanJiangJerry/Block-R1/blob/HEAD/rl/trainers/dynamic_generate.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fb52d617c23aeba1"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}