Papers › Prefilling-dLLM: Predictive Prefilling for Long-Context Inference in Diffusion Language Models

Prefilling-dLLM: Predictive Prefilling for Long-Context Inference in Diffusion Language Models

9 Jun 2026arXiv:2606.10537added by Syntology

Jing Xiong, Qi Han, Shansan Gong, Yunta Hsieh, Chengyue Wu, Chaofan Tao, Chenyang Zhao, Ngai Wong

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Diffusion large language models (dLLMs) re-encode the entire prefix at every denoising step, causing recomputation that scales quadratically with context length and becomes prohibitive for long-context scenarios. We propose Prefilling-dLLM, a training-free prefill-decode disaggregation framework for dLLMs that partitions the prefix into N chunks, caches their KV representations once, and selects the top-K most relevant chunks with intra-chunk token sparsity for decoding, showing that sparse prefilling can outperform dense attention while reducing per-step complexity from quadratic in the full sequence length to quadratic only in the decode length. On LongBench and InfiniteBench, Prefilling-dLLM achieves state-of-the-art quality among dLLM acceleration methods, and an attention kernel that parallelizes decoding over the non-contiguously cached chunk KV yields 9.1--28.0x speedup at 8K--32K contexts. We further show that beginning-of-sequence tokens prepended to each chunk act as periodic attention anchors that eliminate the lost-in-the-middle phenomenon. Code is available at https://github.com/menik1126/Prefilling-dLLM.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2606.10537")

Code

Syntology Ran 14 of 19 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 14 ran with no contract checked.

By repository: found in paper text by Syntology: 19 samples from 1 repository, 14 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

menik1126/Prefilling-dLLM found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

19 samples harvested; 14 ran; 0 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

14ran
5unverified

Licence: 0 of the 19 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from menik1126/Prefilling-dLLM. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: 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. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

add_gumbel_noise menik1126/Prefilling-dLLM/prefilling_dllm_eval/llada_native_model.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 027b7c000eacca21 · report
apply_chat_template_to_parts menik1126/Prefilling-dLLM/prefilling_dllm_eval/eval_fastdllm_parallelcomp_longbench.py found in paper text by Syntology ran MIT (permissive) · df6947ac73e3692c · report
bos_ids menik1126/Prefilling-dLLM/prefilling_dllm_eval/eval_fastdllm_v1_longbench.py found in paper text by Syntology ran MIT (permissive) · ad0f3f194749a10e · report
create_full_block_attention_mask menik1126/Prefilling-dLLM/prefilling_dllm_eval/eval_dream.py found in paper text by Syntology ran MIT (permissive) · 4b44e8248e661c74 · report
encode_fragment menik1126/Prefilling-dLLM/prefilling_dllm_eval/eval_fastdllm_parallelcomp_infinitebench.py found in paper text by Syntology ran MIT (permissive) · c9a3e6bcfe3ebfda · report
extract_attention_mask menik1126/Prefilling-dLLM/prefilling_dllm_eval/eval_dream.py found in paper text by Syntology ran MIT (permissive) · b8075e259d0c8573 · report
get_model_input_device menik1126/Prefilling-dLLM/prefilling_dllm_eval/llada_native_model.py found in paper text by Syntology ran MIT (permissive) · 966cd412ebd76fc1 · report
load_examples menik1126/Prefilling-dLLM/prefilling_dllm_eval/eval_fastdllm_parallelcomp_scbench.py found in paper text by Syntology ran MIT (permissive) · 2423c7f82a371875 · report
resolve_dtype menik1126/Prefilling-dLLM/prefilling_dllm_eval/llada_native_model.py found in paper text by Syntology ran MIT (permissive) · 47cde2115689abad · report
shift_logits menik1126/Prefilling-dLLM/prefilling_dllm_eval/eval_dream.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 9921de6260c6e4fd · report
split_context_ids menik1126/Prefilling-dLLM/prefilling_dllm_eval/eval_fastdllm_v1_longbench.py found in paper text by Syntology ran MIT (permissive) · 66ae672948162ecb · report
summarize_metrics menik1126/Prefilling-dLLM/prefilling_dllm_eval/eval_fastdllm_parallelcomp_infinitebench.py found in paper text by Syntology ran MIT (permissive) · cc6bdeba2e78f2ab · report
summarize_metrics menik1126/Prefilling-dLLM/prefilling_dllm_eval/eval_fastdllm_parallelcomp_scbench.py found in paper text by Syntology ran MIT (permissive) · 95dcc9c1d339c468 · report
trim_stop_tokens menik1126/Prefilling-dLLM/prefilling_dllm_eval/eval_fastdllm_parallelcomp_longbench.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 158e547a7b62f457 · report
estimate_prompt_chars menik1126/Prefilling-dLLM/prefilling_dllm_eval/eval_infinitebench.py found in paper text by Syntology unverified MIT (permissive) · 7d8e12b6a1a2b5ba · report
generate menik1126/Prefilling-dLLM/prefilling_dllm_eval/prefilling_model.py found in paper text by Syntology unverified MIT (permissive) · f9f95fe726f98f2e · report
load_existing_predictions menik1126/Prefilling-dLLM/prefilling_dllm_eval/eval_fastdllm_parallelcomp_infinitebench.py found in paper text by Syntology unverified MIT (permissive) · 03b1360475b50ba3 · report
load_fastdllm_v1_dream menik1126/Prefilling-dLLM/prefilling_dllm_eval/fastdllm_v1_model.py found in paper text by Syntology unverified MIT (permissive) · 3d6889c709e5412d · report
load_model menik1126/Prefilling-dLLM/prefilling_dllm_eval/prefilling_model.py found in paper text by Syntology unverified MIT (permissive) · 7f95d887a0d400a5 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2606.10537, was issued in June 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections