SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2604.15750 · 2026

DepCap: Adaptive Block-Wise Parallel Decoding for Efficient Diffusion LM Inference

Cheng Yan, Yanyong Zhang, Jiazheng Liu, Xiang Xia, Wuyang Zhang

arXiv · PDF · Open in the Atlas

Code that ran

12 of 13 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; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 10 failures of our instrument; 1 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, measured 2026-11-24; 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/2604.15750.json · badge: /api/ran/2604.15750.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
X-Xia0828/DepCap canonical (classifier label)
classifier basis: census
12 ran · 1 no recorded run
FunctionStatusWhere it lives
repeat_kv Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
X-Xia0828/DepCap/dream/model/modeling_dream.py
pointer only (licence: NONE) · get_code("30d7eec482ebf6b1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, X-Xia0828/DepCap when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

apply_rotary_pos_emb Ran
ran; our contract draft was wrong, not the code
X-Xia0828/DepCap/dream/model/modeling_dream.py
pointer only (licence: NONE); the stored copy get_code serves, from GATECH-EIC/R2-dLLM, is pointer only (licence: NONE) · get_code("ac6507e437413e71")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, X-Xia0828/DepCap when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

causal_attention_bias Ran
ran, honoured the contract we drafted
X-Xia0828/DepCap/llada/model/modeling_llada.py
pointer only (licence: NONE); the stored copy get_code serves, from hed-ucas/Layer-wise-Learning-Rate, is pointer only (licence: NONE) · get_code("f9abf6d74699cc1c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, X-Xia0828/DepCap when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_function_name Ran
ran; our contract draft was wrong, not the code
X-Xia0828/DepCap/dream/postprocess_mbpp.py
pointer only (licence: NONE) · get_code("65b9fa737f2d65a7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, X-Xia0828/DepCap when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_longest_valid_code Ran
ran; our contract draft was wrong, not the code
X-Xia0828/DepCap/dream/sanitize.py
pointer only (licence: NONE); the stored copy get_code serves, from GATECH-EIC/R2-dLLM, is pointer only (licence: NONE) · get_code("044f03d955ca1151")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, X-Xia0828/DepCap when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_pairs Ran
ran; our contract draft was wrong, not the code
X-Xia0828/DepCap/dream/model/tokenization_dream.py
pointer only (licence: NONE) · get_code("c083e60f5001bd38")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, X-Xia0828/DepCap when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

refine_text Ran
ran; our contract draft was wrong, not the code
X-Xia0828/DepCap/dream/sanitize.py
pointer only (licence: NONE); the stored copy get_code serves, from lux0926/asprm, is pointer only (licence: NONE) · get_code("a1a9545f89348999")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, X-Xia0828/DepCap when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

rotate_half Ran
ran; our contract draft was wrong, not the code
X-Xia0828/DepCap/dream/model/modeling_dream.py
pointer only (licence: NONE) · get_code("b99eea6376d1e212")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, X-Xia0828/DepCap when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sample_tokens Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
X-Xia0828/DepCap/dream/model/generation_utils.py
pointer only (licence: NONE) · get_code("1891fed3a1008763")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, X-Xia0828/DepCap when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

syntax_check Ran
ran, violated the contract we drafted
X-Xia0828/DepCap/dream/sanitize.py
pointer only (licence: NONE); the stored copy get_code serves, from GATECH-EIC/R2-dLLM, is pointer only (licence: NONE) · get_code("d7d30a99e0029e36")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, X-Xia0828/DepCap when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

top_k_logits Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
X-Xia0828/DepCap/dream/model/generation_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from xiaoshideta/Streaming-dLLM, is pointer only (licence: NONE) · get_code("d78ba22cffe4710b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, X-Xia0828/DepCap when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

top_p_logits Ran
ran; our contract draft was wrong, not the code
X-Xia0828/DepCap/dream/model/generation_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from xiaoshideta/Streaming-dLLM, is pointer only (licence: NONE) · get_code("8139ba2bcf3eb84b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, X-Xia0828/DepCap when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

scaled_dot_product_attention Not yet run
unverified (harvested, no recorded run)
X-Xia0828/DepCap/llada/model/modeling_llada.py
pointer only (licence: NONE) · get_code("a1e20a66389a45ff")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, X-Xia0828/DepCap when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 12 are also present in other papers whose code we hold (12 with at least one paper dated earlier, 11 the same month, 7 later) and 1 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
rotate_half 360 other papers
337 dated earlier, 2 the same month, 18 later, 3 undated · 30 only as an assembly brick
1901.02860 (2019-01)
Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context
2203.08913 (2022-03)
Memorizing Transformers
2302.13971 (2023-02)
LLaMA: Open and Efficient Foundation Language Models
and 357 more not named here
get_pairs 258 other papers
246 dated earlier, 1 the same month, 10 later, 1 undated · 4 only as an assembly brick
1802.06474 (2018-02)
A Closed-form Solution to Photorealistic Image Stylization
1803.01128 (2018-03)
Seq2Sick: Evaluating the Robustness of Sequence-to-Sequence Models with Adversarial Examples
1809.00125 (2018-09)
Simple Fusion: Return of the Language Model
and 255 more not named here
repeat_kv 243 other papers
226 dated earlier, 1 the same month, 14 later, 2 undated · 22 only as an assembly brick
1901.02860 (2019-01)
Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context
2203.08913 (2022-03)
Memorizing Transformers
2305.17888 (2023-05)
LLM-QAT: Data-Free Quantization Aware Training for Large Language Models
and 240 more not named here
causal_attention_bias 16 other papers
13 dated earlier, 1 the same month, 2 later
2406.10670 (2024-06)
CoLoR-Filter: Conditional Loss Reduction Filtering for Targeted Language Model Pre-training
2409.17146 (2024-09)
Molmo and PixMo: Open Weights and Open Data for State-of-the-Art Vision-Language Models
2410.01380 (2024-10)
Knowledge Entropy Decay during Language Model Pretraining Hinders New Knowledge Acquisition
and 13 more not named here
top_k_logits 10 other papers
6 dated earlier, 2 the same month, 1 later, 1 undated · 5 only as an assembly brick
2202.04200 (2022-02)
MaskGIT: Masked Generative Image Transformer
2509.26432 (2025-09)
AdaBlock-dLLM: SEMANTIC-AWARE DIFFUSION LLM INFERENCE VIA ADAPTIVE BLOCK SIZE
2601.17917 (2026-01)
Streaming-dLLM: Accelerating Diffusion LLMs via Suffix Pruning and Dynamic Decoding
and 7 more not named here
top_p_logits 10 other papers
6 dated earlier, 2 the same month, 1 later, 1 undated · 5 only as an assembly brick
2202.04200 (2022-02)
MaskGIT: Masked Generative Image Transformer
2509.26432 (2025-09)
AdaBlock-dLLM: SEMANTIC-AWARE DIFFUSION LLM INFERENCE VIA ADAPTIVE BLOCK SIZE
2601.17917 (2026-01)
Streaming-dLLM: Accelerating Diffusion LLMs via Suffix Pruning and Dynamic Decoding
and 7 more not named here
sample_tokens 5 other papers
3 dated earlier, 1 the same month, 1 later · 1 only as an assembly brick
2509.26432 (2025-09)
AdaBlock-dLLM: SEMANTIC-AWARE DIFFUSION LLM INFERENCE VIA ADAPTIVE BLOCK SIZE
2602.01326 (2026-02)
DreamOn: Diffusion Language Models For Code Infilling Beyond Fixed-size Canvas
2602.06953 (2026-02)
DAWN: Dependency-Aware Fast Inference for Diffusion LLMs
and 2 more not named here
syntax_check 5 other papers
4 dated earlier, 1 the same month
2406.15877 (2024-06)
BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructions
2412.03578 (2024-12)
PerfCodeGen: Improving Performance of LLM Generated Code with Execution Feedback
2502.02827 (2025-02)
COFFE: A Code Efficiency Benchmark for Code Generation
and 2 more not named here
refine_text 3 other papers
2 dated earlier, 1 the same month
2502.13943 (2025-02)
AdaptiveStep: Automatically Dividing Reasoning Step through Model Confidence
2602.06953 (2026-02)
DAWN: Dependency-Aware Fast Inference for Diffusion LLMs
2604.18995 (2026-04)
R 2 -dLLM: Accelerating Diffusion Large Language Models via Spatio-Temporal Redundancy Reduction
apply_rotary_pos_emb 2 other papers
1 dated earlier, 1 the same month
2602.06953 (2026-02)
DAWN: Dependency-Aware Fast Inference for Diffusion LLMs
2604.18995 (2026-04)
R 2 -dLLM: Accelerating Diffusion Large Language Models via Spatio-Temporal Redundancy Reduction
extract_longest_valid_code 2 other papers
1 dated earlier, 1 the same month
2602.06953 (2026-02)
DAWN: Dependency-Aware Fast Inference for Diffusion LLMs
2604.18995 (2026-04)
R 2 -dLLM: Accelerating Diffusion Large Language Models via Spatio-Temporal Redundancy Reduction
scaled_dot_product_attention 1 other paper
1 dated earlier
2601.21484 (2026-01)
ETS: Energy-Guided Test-Time Scaling for Training-Free RL Alignment

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-24.

Repositories linked to this paper

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

Abstract

Diffusion language models (DLMs) have emerged as a promising alternative to autoregressive language generation due to their potential for parallel decoding and global refinement of the entire sequence. To unlock this potential, DLM inference must carefully balance generation quality and decoding speed. Recent block-wise DLM decoding methods improve this trade-off by performing diffusion-based decoding sequentially in blocks. However, existing methods typically rely on fixed block schedules or current-step local signals to determine block boundaries, and use conservative confidence-based parallel decoding to avoid conflicts, limiting the quality-speed trade-off. In this paper, we argue that block-wise DLM inference requires more suitable signals for its two core decisions: cross-step signals for determining block boundaries, and token-level conflict signals for parallel decoding. Based on this view, we propose DepCap, a training-free framework for efficient block-wise DLM inference. Specifically, DepCap instantiates the cross-step signal as the influence of the last decoded block and uses it to adaptively determine how far the next block should extend, while identifying a conflict-free subset of tokens for safe parallel decoding within each block, enabling substantial inference acceleration with negligible quality degradation. DepCap is a plug-and-play method applicable to various DLMs, and compatible with existing KV-cache strategies for blockwise DLM. An information-theoretic analysis further suggests that the cumulative last-block influence on a candidate block is approximately additive across tokens, supporting the proposed block-partitioning criterion. Experimental results show that DepCap achieves favorable speed-quality trade-offs across multiple DLM backbones and reasoning and coding benchmarks, with up to 5.63× speedup without significant performance degradation.

For agents

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

get_harvested_code_for_paper("2604.15750")
get_code_for_paper("2604.15750")
have("2604.15750")

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

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

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

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

Connect an agent — have() is free.