{"id": "http://arxiv.org/abs/2607.17652v1", "title": "FlowBlock: Wavefront-Parallel Decoding for Self-Correcting Diffusion Language Models", "abstract": "Block-wise diffusion large language models (dLLMs) decode sequentially at the block level, enabling effective KV-cache reuse across blocks but making inter-block decoding strictly serial. Prior work has attempted to unlock inter-block parallelism through post-training methods, but achieves only modest speedups and often degrades accuracy. We observe that self-correcting dLLMs offer a training-free alternative: token-to-token (T2T) editing can repair tokens drafted with a slightly stale upstream context, so a downstream block requires only an informative draft rather than a finalized predecessor. This turns block finality from a hard dependency into a scheduling resource. We propose \\textbf{\\flowblock{}}, a training-free parallel decoding framework built on two mechanisms. (i) \\emph{Gated Wavefront Decoding} admits blocks into a bounded wavefront only when a readiness gate is satisfied, jointly refines active blocks via T2T editing, and commits blocks in order under a windowed block-causal mask that preserves exact frozen-prefix KV caches reuse. (ii) \\emph{Heterogeneous Wavefront Packing} assigns each request an independent wavefront while packing asynchronous windows into dense, shape-stable batched forwards. Across different benchmarks, \\flowblock{} improves tokens per second (TPS) over LLaDA-2.1 and LLaDA-2.0, two serial block-wise dLLMs, by up to 2.95$\\times$ and 4.01$\\times$, while reducing latency by up to 53.6\\% and 77.1\\%, respectively. It also improves average accuracy by 1.3 points. Compared with D2F, a training-based inter-block-parallel baseline, \\flowblock{} achieves higher accuracy and up to 16$\\times$ higher batched serving throughput.", "published_at": "2026-07-20T08:05:03+00:00", "source_updated_at": null, "source_url": "https://arxiv.org/abs/2607.17652v1", "source_hash": "a0a509b0ce925e76fb27b9d22fe71ced907181edd96681b2cde7585687f62633", "source_version": "v1", "full_text_available": true, "evidence_kind": "full_text_excerpt", "analysis_scope": "full_text_excerpt", "scope": "core", "topics": ["discrete-diffusion", "inference-acceleration", "post-training"], "code_url": "https://github.com/Red-EAD/FlowBlock", "has_code": true, "indexable": true, "authors": [], "related_ids": ["http://arxiv.org/abs/2609.11315v1", "http://arxiv.org/abs/2609.04531v1", "http://arxiv.org/abs/2609.04010v1"], "related_work": {"version": "related-work-v1", "status": "not_assessed", "reason": "missing_context", "items": []}, "review": null, "explanations": {}, "full_article_summary": {"format": "research_guide_v14", "analysis_scope": "full_article_map_reduce", "source_hash": "a0a509b0ce925e76fb27b9d22fe71ced907181edd96681b2cde7585687f62633", "source_url": "https://arxiv.org/abs/2607.17652v1", "source_version": "v1", "revision_id": "da3ce5791ee6501ac7f468a47c766744d9228b58b18dce35dd6ca5102f3722ca", "canonical_text_hash": "bbb4a5e36e4f6cf633673a375b4e3bd00ab2c5b74d754c072e885325170e47df", "prompt_version": "full-article-research-guide-v14", "sections": {"verdict": {"ru": "FlowBlock — убедительный обучению не требующийся метод ускорения декодирования самокорректирующихся диффузионных LLM: он повышает пропускную способность и снижает задержку при сохранении или улучшении точности в заявленных условиях. Однако оптимальные параметры зависят от задачи и размера окна; универсальное превосходство не установлено.", "en": "FlowBlock is a convincing training-free method for accelerating decoding in self-correcting diffusion LLMs: under the reported conditions, it increases throughput and reduces latency while matching or improving accuracy. However, optimal settings depend on the task and window width, and universal superiority is not established."}, "main_idea": {"ru": "Вместо строго последовательного завершения блоков FlowBlock запускает соседние блоки волнами, когда текущие логиты показывают достаточную готовность фронтира. Незавершённые блоки совместно уточняются, а результаты фиксируются строго по порядку.", "en": "Instead of completing blocks strictly sequentially, FlowBlock launches adjacent blocks in waves when current logits indicate sufficient frontier readiness. Unfinished blocks are refined jointly, while results are committed strictly in order."}, "claims": {"ru": "Метод объединяет три ключевых компонента: управляемое готовностью перекрытие до W соседних блоков, W-образную блочно-причинную маску с переиспользованием KV-кэша замороженного префикса и неоднородную упаковку волн для плотного батчевого выполнения. Авторы заявляют до 2,95× и 4,01× TPS относительно LLaDA-2.1 и LLaDA-2.0 соответственно, а также до 53,6% и 77,1% меньшую задержку.", "en": "The method combines three main components: readiness-gated overlap of up to W adjacent blocks, a W-shaped block-causal mask with frozen-prefix KV-cache reuse, and heterogeneous wavefront packing for dense batched execution. The authors report up to 2.95× and 4.01× TPS over LLaDA-2.1 and LLaDA-2.0, respectively, together with up to 53.6% and 77.1% lower latency."}, "mechanism": {"ru": "Состояние запроса включает блоки, их готовность, активную волну, замороженный префикс и постоянный KV-кэш. Для каждого активного блока выполняются совместные обновления mask-to-token и token-to-token; downstream-блоки могут читать редактируемые upstream-черновики без вспомогательных представлений или адаптации модели. Новый блок допускается, когда ρ(B)≥θspawn и не превышена ширина W; этот порог меняет только планирование и не добавляет вычислений, поскольку готовность берётся из текущих логитов. W-образная маска ограничивает изменяемый контекст живым окном и сохраняет видимость замороженного префикса. Завершённые блоки фиксируются по порядку, после чего их KV можно точно переиспользовать. Для батча каждая заявка предоставляет q=W·bl активных токенов; они собираются в плотные тензоры [B,q] с абсолютными позициями RoPE. Построчные блочно-диагональные маски изолируют заявки и скрывают устаревшие средние области; результаты затем рассыпаются обратно в постоянные KV-кэши. Целевая функция обучения и дополнительные targets отсутствуют, поскольку метод является training-free; детали реализации критерия ρ не раскрыты в записях.\n\nПлан воспроизведения: 1) хранить для каждого запроса persistent KV и состояние блоков; 2) вычислять готовность из текущих логитов и применять gate θspawn при ограничении W; 3) выполнять совместные M2T∪T2T-обновления активных блоков с W-образной маской; 4) упаковывать активные хвосты заявок в плотный батч с абсолютным RoPE и row-specific масками; 5) фиксировать готовые блоки по порядку и обновлять KV-кэши.", "en": "A request state contains blocks, their readiness, the active wavefront, the frozen prefix, and a persistent KV cache. Each active block receives joint mask-to-token and token-to-token updates; downstream blocks can consume editable upstream drafts without auxiliary representations or model adaptation. A new block is admitted when ρ(B)≥θspawn and the width bound W is not exceeded; the threshold changes scheduling only and adds no computation because readiness is derived from current logits. The W-shaped mask confines mutable context to the live window while preserving frozen-prefix visibility. Finished blocks are committed in order, after which their KV entries can be reused exactly. For batching, each request contributes q=W·bl active tokens, gathered into dense [B,q] tensors with absolute RoPE positions. Row-specific block-diagonal masks isolate requests and hide stale middle regions; outputs are scattered back into persistent KV caches. No training objective or auxiliary targets are used because the method is training-free; the records do not specify how ρ is computed.\n\nReproduction plan: 1) maintain persistent KV and block state per request; 2) derive readiness from current logits and apply θspawn subject to W; 3) run joint M2T∪T2T updates with the W-shaped mask; 4) pack active request tails into dense batches with absolute RoPE and row-specific masks; 5) commit completed blocks in order and update the KV caches."}, "evidence": {"ru": "На LLaDA-2.1-mini, на четырёх математических и четырёх кодовых бенчмарках при размере батча 1 FlowBlock показывает в среднем 7,23 TPF, 261,2 TPS, задержку 1,60 с и точность 87,00%. Относительно LLaDA-2.1 заявлены 1,45× TPS, снижение задержки на 33,3% и рост средней точности на 1,3 процентного пункта. На HumanEval при батче 32 получено 1471 TPS; против D2F заявлены 16,6× throughput и 95,8% меньшая задержка. На GSM8K при батче 32 параметры θspawn=0,6 и W=2 дают 92,62% точности и 918 TPS. Наблюдаемые абляционные результаты показывают, что увеличение W снижает throughput, а слишком слабое gating ухудшает точность. Превосходство заявлено в сопоставимой инфраструктуре и указанных наборах задач; записи не доказывают его для других моделей, аппаратных платформ или распределений данных.", "en": "On LLaDA-2.1-mini across four math and four code benchmarks, batch size 1 yields average FlowBlock results of 7.23 TPF, 261.2 TPS, 1.60 s latency, and 87.00% accuracy. Against LLaDA-2.1, the reported gains are 1.45× TPS, 33.3% lower latency, and a 1.3-point increase in average accuracy. On HumanEval at batch size 32, FlowBlock reaches 1471 TPS; versus D2F, the reported advantage is 16.6× throughput and 95.8% lower latency. On GSM8K at batch size 32, θspawn=0.6 and W=2 produce 92.62% accuracy and 918 TPS. Ablation observations show that increasing W reduces throughput, while weak gating harms accuracy. Superiority is reported under matched infrastructure and the listed tasks; the records do not establish it for other models, hardware platforms, or data distributions."}, "applicability": {"ru": "Метод особенно применим к self-correcting diffusion LLM, где токены можно многократно редактировать, и к сервингу с несколькими одновременно активными запросами и переменными окнами. Он полезен, когда важны throughput и latency, а модель поддерживает блочно организованное декодирование и KV-кэширование.", "en": "The method is especially applicable to self-correcting diffusion LLMs whose tokens can be edited repeatedly, and to serving workloads with multiple concurrent requests and variable active windows. It is useful when throughput and latency matter and the model supports block-structured decoding and KV caching."}, "limitations": {"ru": "Качество и стоимость чувствительны к θspawn и W: слишком слабое gating ухудшает точность, а большие окна могут снижать throughput. Метод требует поддержки изменяемых блоков, специализированных масок, persistent KV-кэшей и плотной упаковки; переносимость за пределы проверенных LLaDA-моделей, задач и инфраструктуры не показана. В предоставленных записях отсутствуют детали вычисления ρ и точный training objective, но для training-free метода objective не требуется.", "en": "Quality and cost are sensitive to θspawn and W: weak gating can reduce accuracy, while larger windows can lower throughput. The method requires editable blocks, specialized masks, persistent KV caches, and dense packing; transfer beyond the evaluated LLaDA models, tasks, and infrastructure is not demonstrated. The supplied records omit the exact computation of ρ and provide no training objective, although a training objective is not required for a training-free method."}, "next_action": {"ru": "Провести ограниченный репликационный тест на целевой модели и аппаратуре: 1) сравнить serial decoding, FlowBlock и D2F; 2) измерить TPS, latency и accuracy при W∈{1,2,4}; 3) проверить θspawn в нескольких значениях; 4) отдельно оценить эффект heterogeneous packing; 5) выбрать конфигурацию по Pareto-компромиссу accuracy–latency.", "en": "Run a focused replication test on the target model and hardware: 1) compare serial decoding, FlowBlock, and D2F; 2) measure TPS, latency, and accuracy for W∈{1,2,4}; 3) sweep several θspawn values; 4) isolate the effect of heterogeneous packing; 5) select the configuration using the accuracy–latency Pareto trade-off."}}, "source_coverage": {"canonical_text_hash": "bbb4a5e36e4f6cf633673a375b4e3bd00ab2c5b74d754c072e885325170e47df", "covered_chunks": 4, "map_input_digest": "d9314e17a2c2603181eb79ff88be1889c66a2f0091710770c37c7abe31ddc87b", "prompt_version": "full-article-research-guide-v14", "revision_id": "da3ce5791ee6501ac7f468a47c766744d9228b58b18dce35dd6ca5102f3722ca", "total_chunks": 4}}, "resources": {"version": "paper-resources-v1", "source_hash": "a0a509b0ce925e76fb27b9d22fe71ced907181edd96681b2cde7585687f62633", "evidence_kind": "full_text_excerpt", "availability": "not_checked", "limited": false, "items": [{"origin": "source_excerpt", "evidence": "s, by up to 2.95× and 4.01×, while\nreducing latency by up to 53.6% and 77.1%, respectively.\nIt also improves average accuracy by 1.3 points. Compared\nwith D2F, a training-based inter-block-parallel baseline, Flow-\nBlock achieves higher accuracy and up to 16× higher batched\nserving throughput.\n\nCode — https://github.com/Red-EAD/FlowBlock\n\n### 1 Introduction Diffusion large language models (dLLMs) generate text by iteratively denoising multiple positions per forward pass (Austin et al. 2021a; Li et al. 2022; Lou, Meng, and Ermon 2024; Sahoo et al. 2024; Nie et al. 2025; Ye et al. 2025). This bidirectional denoising paradigm reduces th", "url": "https://github.com/Red-EAD/FlowBlock", "kind": "code", "span": [1654, 2294], "evidence_hash": "8514b013fd0b6a045e5a2bf10368d55da7d592d9434966dd433ad7c4ec29a055"}]}, "slug": "2607.17652-flowblock-wavefront-parallel-decoding-for-self-correcting-diffusion-language-models"}