{"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-2606-26120","title":"Dynamic-dLLM: Dynamic Cache-Budget and Adaptive Parallel Decoding for Training-Free Acceleration of Diffusion LLM","arxiv_id":"2606.26120","date":"2026-05-27","proceeding":null,"authors":["Tianyi Wu","Xiaoxi Sun","Yanhua Jiao","Yulin Li","Yixin Chen","YunHao Cao","YiQi Hu","Zhuotao Tian"],"abstract":"Diffusion Large Language Models (dLLMs) offer a promising alternative to autoregressive models, excelling in text generation tasks due to their bidirectional attention mechanisms. However, their computational complexity scales on the order of L cubed with the sequence length L. This poses significant challenges for long-sequence and real-time applications, primarily due to the lack of compatibility with key-value caching and the non-autoregressive nature of denoising steps. Existing acceleration methods rely on static caching or parallel decoding strategies, which fail to account for the dynamic behavior of token properties across layers and decoding steps. We propose Dynamic-dLLM, a training-free framework that enhances dLLM inference efficiency through two components: Dynamic Cache Updating (DCU), which adaptively allocates cache-update budgets based on layer-wise token dynamics, and Adaptive Parallel Decoding (APD), which dynamically calibrates decoding thresholds to balance generation quality and efficiency. Extensive experiments on models like LLaDA-8B-Instruct, LLaDA-1.5, and Dream-v0-7B-Instruct across benchmarks such as MMLU, GSM8K, and HumanEval demonstrate that Dynamic-dLLM significantly improves inference speed. It attains an average speedup exceeding 3 times while maintaining performance. Dynamic-dLLM outperforms state-of-the-art acceleration methods and provides a plug-and-play solution for efficient dLLM deployment without compromising performance. The code is available at https://github.com/TianyiWu233/DYNAMIC-DLLM.","url_abs":"https://arxiv.org/abs/2606.26120","url_pdf":"https://arxiv.org/pdf/2606.26120","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":{"syntology_url":"https://syntology.ai/paper/2606.26120","atlas_url":"https://app.syntology.ai/?focus=2606.26120","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2606.26120"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/TianyiWu233/DYNAMIC-DLLM","reach":null}],"summary":{"ran_draft_wrong":5,"ran_violates":1,"ran_fixture":1,"ran_honours":1,"unverified":2},"by_repo_kind":{"found_in_text":{"samples":10,"ran":8,"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":10,"samples":[{"code_sha256_prefix":"10fe79d4a7caaf48","entry":"_attention_wrapper","repo":"TianyiWu233/DYNAMIC-DLLM","repo_kind":"found_in_text","path":"dynamic_dllm_cache/hooks/cache_hook_LLaDA.py","file_url":"https://github.com/TianyiWu233/DYNAMIC-DLLM/blob/HEAD/dynamic_dllm_cache/hooks/cache_hook_LLaDA.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"10fe79d4a7caaf48"}},{"code_sha256_prefix":"55841709d4ee0531","entry":"_compute_mlp","repo":"TianyiWu233/DYNAMIC-DLLM","repo_kind":"found_in_text","path":"dynamic_dllm_cache/hooks/cache_hook_LLaDA.py","file_url":"https://github.com/TianyiWu233/DYNAMIC-DLLM/blob/HEAD/dynamic_dllm_cache/hooks/cache_hook_LLaDA.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"55841709d4ee0531"}},{"code_sha256_prefix":"314ddc1217922a42","entry":"_compute_sim_token","repo":"TianyiWu233/DYNAMIC-DLLM","repo_kind":"found_in_text","path":"dynamic_dllm_cache/hooks/cache_hook_LLaDA.py","file_url":"https://github.com/TianyiWu233/DYNAMIC-DLLM/blob/HEAD/dynamic_dllm_cache/hooks/cache_hook_LLaDA.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"314ddc1217922a42"}},{"code_sha256_prefix":"13dc4f6eec46ff34","entry":"_compute_sim_token_downsampled","repo":"TianyiWu233/DYNAMIC-DLLM","repo_kind":"found_in_text","path":"dynamic_dllm_cache/hooks/cache_hook_LLaDA.py","file_url":"https://github.com/TianyiWu233/DYNAMIC-DLLM/blob/HEAD/dynamic_dllm_cache/hooks/cache_hook_LLaDA.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"13dc4f6eec46ff34"}},{"code_sha256_prefix":"bb02ba746dbaf877","entry":"_do_partial_selection","repo":"TianyiWu233/DYNAMIC-DLLM","repo_kind":"found_in_text","path":"dynamic_dllm_cache/hooks/cache_hook_LLaDA.py","file_url":"https://github.com/TianyiWu233/DYNAMIC-DLLM/blob/HEAD/dynamic_dllm_cache/hooks/cache_hook_LLaDA.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"bb02ba746dbaf877"}},{"code_sha256_prefix":"815ac724e9bef02d","entry":"_get_centered_window_indices","repo":"TianyiWu233/DYNAMIC-DLLM","repo_kind":"found_in_text","path":"dynamic_dllm_cache/hooks/cache_hook_LLaDA.py","file_url":"https://github.com/TianyiWu233/DYNAMIC-DLLM/blob/HEAD/dynamic_dllm_cache/hooks/cache_hook_LLaDA.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"815ac724e9bef02d"}},{"code_sha256_prefix":"0fd0ee5ab17274d6","entry":"_project","repo":"TianyiWu233/DYNAMIC-DLLM","repo_kind":"found_in_text","path":"dynamic_dllm_cache/hooks/cache_hook_LLaDA.py","file_url":"https://github.com/TianyiWu233/DYNAMIC-DLLM/blob/HEAD/dynamic_dllm_cache/hooks/cache_hook_LLaDA.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0fd0ee5ab17274d6"}},{"code_sha256_prefix":"1c660e5a9b0d0106","entry":"_safe_layer_budget","repo":"TianyiWu233/DYNAMIC-DLLM","repo_kind":"found_in_text","path":"dynamic_dllm_cache/hooks/cache_hook_LLaDA.py","file_url":"https://github.com/TianyiWu233/DYNAMIC-DLLM/blob/HEAD/dynamic_dllm_cache/hooks/cache_hook_LLaDA.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1c660e5a9b0d0106"}},{"code_sha256_prefix":"6c53389a73948184","entry":"_cache_hook_feature_window_budget","repo":"TianyiWu233/DYNAMIC-DLLM","repo_kind":"found_in_text","path":"dynamic_dllm_cache/hooks/cache_hook_LLaDA.py","file_url":"https://github.com/TianyiWu233/DYNAMIC-DLLM/blob/HEAD/dynamic_dllm_cache/hooks/cache_hook_LLaDA.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6c53389a73948184"}},{"code_sha256_prefix":"27c0f30076de9715","entry":"_compute_sim_for_budget_full_refresh","repo":"TianyiWu233/DYNAMIC-DLLM","repo_kind":"found_in_text","path":"dynamic_dllm_cache/hooks/cache_hook_LLaDA.py","file_url":"https://github.com/TianyiWu233/DYNAMIC-DLLM/blob/HEAD/dynamic_dllm_cache/hooks/cache_hook_LLaDA.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"27c0f30076de9715"}}]},"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":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,885 of the 9,623 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9623,"papers_checked":6885},"entries":[],"not_placed":{"boards":2,"rejected_by_independent_check":0,"refused_by_a_rule":2,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}