{"id": "http://arxiv.org/abs/2607.28166v1", "title": "Where and When to Commit: Candidate-Aware Decoding for Diffusion Language Models", "abstract": "Diffusion language models (DLMs) expose a provisional prediction at every denoising step, creating an opportunity for generation-time early exit that stops decoding before the schedule is exhausted. Existing early-exit gates decide termination from fixed-region confidence statistics or schedule-dependent rules, evidence too coarse for a decision that freezes every remaining position at once, so they fire prematurely on long chain-of-thought outputs whose answers stabilize only near the end. Adaptive sampling, the other axis of training-free acceleration, paces how quickly positions commit while decoding continues but never verifies that the output itself has stabilized. We introduce a training-free, candidate-aware early-exit framework that keeps the two axes separate and matches each decision to evidence of its own scope. Confidence-Verified Commit (CVC) governs when the sequence may stop by verifying confidence and sustained argmax stability over the dynamically extracted candidate span using a deterministic parser specified from each task's output format. Block-Wise Early Commit (BWEC) governs where to accelerate by applying a cheaper local rule to non-final blocks, while leaving the final block and global termination under CVC. We refer to their combination as LATCH (Localized Acceleration with Tracked-Candidate Halting). Unlike prior methods, LATCH needs no suffix-prompt construction; it is prompt-anchor-free but format-aware. We evaluate LATCH end to end on 11 tasks under zero-shot settings using LLaDA and Dream. LATCH stays within 2.0 percentage points of full-decoding accuracy across all 22 evaluation settings, with one frozen hyperparameter set that transfers cross-backbone untuned, while achieving end-to-end TPS speedups of 9.3-17.8x on short-answer tasks and 2.0-3.3x on long-reasoning tasks.", "published_at": "2026-07-30T13:04:47+00:00", "source_updated_at": null, "source_url": "https://arxiv.org/abs/2607.28166v1", "source_hash": "7919605ae31e117e5512a588b9426934c998a4dcf2471b867c0afa1e62eab764", "source_version": "v1", "full_text_available": true, "evidence_kind": "full_text_excerpt", "analysis_scope": "full_text_excerpt", "scope": "core", "topics": ["discrete-diffusion", "inference-acceleration", "reasoning"], "code_url": "https://github.com/ming053l/LATCH-dLLM", "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": "7919605ae31e117e5512a588b9426934c998a4dcf2471b867c0afa1e62eab764", "source_url": "https://arxiv.org/abs/2607.28166v1", "source_version": "v1", "revision_id": "f6c2c9883db7a02d35fc2af0e62cd0882ad1eade4fb1e82b5758dc5c7010bf1f", "canonical_text_hash": "f53303100e83e7261fd0d48b3669c3d1b40b4415ac7e92be775dc43b78dc8d8e", "prompt_version": "full-article-research-guide-v14", "sections": {"verdict": {"ru": "LATCH — убедительный безобучающий метод ускорения диффузионных языковых моделей: он сохраняет точность в пределах 2 п.п. на проверенных задачах и достигает 9,3–17,8× ускорения для коротких ответов и 2,0–3,3× для длинного рассуждения. Однако гарантия безопасного завершения зависит от наличия извлекаемого единственного ответа; формальная сертификация допуска точности не установлена.", "en": "LATCH is a convincing training-free acceleration method for diffusion language models: it preserves accuracy within 2 points on the evaluated tasks and reaches 9.3–17.8× speedups for short answers and 2.0–3.3× for long reasoning. Its safe-termination guarantee nevertheless depends on having one extractable answer, and the accuracy tolerance is not formally certified."}, "main_idea": {"ru": "Метод разделяет локальную фиксацию токенов и глобальное завершение. BWEC досрочно фиксирует уверенные позиции в незавершающих блоках, а CVC завершает генерацию только после повторного поиска ответа, достаточной уверенности и устойчивости значения.", "en": "The method separates local token commitment from global termination. BWEC commits confident positions early in non-final blocks, while CVC terminates only after re-locating the answer, observing sufficient confidence, and confirming value stability."}, "claims": {"ru": "Авторы заявляют, что CVC и BWEC дают компонуемое ускорение при сохранении качества на 11 задачах, LLaDA-8B и Dream-7B, используя одну нетюнингованную конфигурацию. Наблюдаемая идентичность выводов составляет 88–100%, а paired-тесты не выявили значимых различий. Превосходство над каждым базовым методом не установлено универсально, а интервалами не подтверждён формальный допуск ±2 п.п.", "en": "The authors claim that CVC and BWEC provide composable acceleration while preserving quality across 11 tasks on LLaDA-8B and Dream-7B with one untuned configuration. The observed output-identical rate is 88–100%, and paired tests found no significant differences. Universal superiority over every baseline is not established, and the intervals do not formally certify the ±2-point tolerance."}, "mechanism": {"ru": "Состояние: все ещё замаскированные позиции, их предсказания и блоки; для CVC — найденный кандидат, нормализованная стабильность его значения и средняя softmax-уверенность по span. На каждом из T шагов модель предсказывает все маскированные позиции, после чего часть становится постоянной, а остальные могут быть перемаскированы.\n\nBWEC в незавершающем блоке фиксирует позицию, если её уверенность ≥ τBWEC или она входит в плановый top-k набор. Плановый набор гарантирует завершение блока; после фиксации всех позиций оставшиеся шаги пропускаются. Финальный блок сохраняет базовое планирование и защищён от BWEC.\n\nCVC на каждом шаге заново извлекает и локализует кандидат: для коротких ответов и multiple-choice используются первые пять позиций, для длинного рассуждения — хвостовые 30%. Завершение требует τCVC=0,7 и устойчивости argmax не менее pmin=3 шагов; γ=2,0 задаёт адаптивное требование к длине серии. При отсутствии кандидата счётчик устойчивости приостанавливается. Конфигурация: τBWEC=0,9, tail_frac=0,3. Целевая функция и процедура обучения отсутствуют, поскольку метод не требует обучения; точное правило перемаскирования вне описанных квот не указано.\n\nВоспроизведение: (1) реализовать базовое masked decoding; (2) разделить позиции на последовательные блоки; (3) добавить BWEC только для незавершающих блоков; (4) на каждом шаге извлекать кандидатный span и считать его уверенность и стабильность; (5) разрешать глобальное завершение только при выполнении CVC; (6) измерять полный цикл декодирования на фиксированных примерах.", "en": "State variables are the remaining masked positions, their predictions, and block assignments; CVC additionally tracks the extracted candidate, normalized value stability, and mean softmax confidence over its span. At each of T steps the model predicts all masked positions, then permanently commits a subset while the rest may be remasked.\n\nWithin a non-final block, BWEC commits a position when its confidence is ≥ τBWEC or it belongs to the scheduled top-k set. The scheduled set guarantees block completion; once all positions commit, remaining block steps are skipped. The final block retains baseline scheduling and is protected from BWEC.\n\nAt every step, CVC re-extracts and relocates a candidate: the first five positions are used for short-answer and multiple-choice tasks, while the trailing 30% is used for long reasoning. Termination requires τCVC=0.7 and at least pmin=3 steps of argmax stability; γ=2.0 controls the adaptive run-length requirement. Missing candidates pause the stability counter. The configuration uses τBWEC=0.9 and tail_frac=0.3. There is no training objective because the method is training-free; the exact remasking rule beyond the stated quotas is unspecified.\n\nReproduction: (1) implement baseline masked decoding; (2) divide positions into sequential blocks; (3) add BWEC only to non-final blocks; (4) extract the candidate each step and compute confidence and stability; (5) permit global termination only when CVC passes; (6) measure the complete decode loop on fixed examples."}, "evidence": {"ru": "На одной A100 при bf16, greedy decoding, batch size 1, 20 примерах, двух прогревах и трёх повторах измерялся полный цикл вместе с логикой gate. Короткие задачи получили 9,3–17,8×, длинные — примерно 2,0–3,3×; отдельный анализ BWEC сообщает обычно 2,4–4,2× для длинного рассуждения. CVC даёт основную экономию на коротких ответах, BWEC — на длинных.\n\nАнализ траекторий показывает, что Prophet мог завершить GSM8K при высокой энтропии и не извлекаемом ответе, тогда как LATCH ждал стабилизации кандидата. На GSM8K LATCH сохранил качество при закреплённом span, тогда как Prophet упал с 68% до 41% на LLaDA и с 72% до 54% на Dream. Удаление стабильности снижало GSM8K и MATH на 25 п.п.; разрешение CVC в любом блоке снижало их ещё на 4 п.п. Ослабление BWEC ускоряло работу, но вызывало особенно сильные потери на длинном рассуждении. Step- и TPS-отношения не давали надёжного раннего сигнала риска.", "en": "On one A100 with bf16 greedy decoding, batch size 1, 20 examples, two warmups, and three repeats, timing covered the complete loop including gate bookkeeping. Short tasks achieved 9.3–17.8× speedups, while long reasoning achieved about 2.0–3.3×; a separate BWEC analysis reports typically 2.4–4.2× for long reasoning. CVC supplies most savings on short answers and BWEC most savings on long reasoning.\n\nTrajectory analyses show that Prophet could terminate GSM8K while entropy remained high and the answer was unextractable, whereas LATCH waited for candidate stabilization. On GSM8K with a pinned span, LATCH retained baseline quality, while Prophet fell from 68% to 41% on LLaDA and from 72% to 54% on Dream. Removing stability reduced GSM8K and MATH by 25 points; allowing CVC in any block reduced both by another 4 points. Looser BWEC thresholds increased speed but caused especially large losses on long reasoning. Step and TPS ratios provided no dependable early warning of risk."}, "applicability": {"ru": "Метод наиболее полезен для задач с одним локализуемым ответом: коротких ответов, multiple-choice и рассуждений с финальным значением. Он подходит для frozen-моделей и сценариев, где важна end-to-end задержка и допустима консервативная защита финального блока. BWEC также может ускорять программы или длинный текст на незавершающих блоках, но CVC не даёт для них гарантии.", "en": "The method is best suited to tasks with one localizable answer: short answers, multiple-choice prompts, and reasoning with a final value. It fits frozen-model deployments where end-to-end latency matters and conservative protection of the final block is acceptable. BWEC may still accelerate programs or long text in non-final blocks, but CVC provides no guarantee for them."}, "limitations": {"ru": "Единственный span-ориентированный CVC плохо переносится на программы, длинный свободный текст и несколько подответов. Все фиксации монотонны: ошибочные промежуточные reasoning-токены нельзя пересмотреть, а BWEC-коммиты не проходят CVC-проверку. Дополнительная mask-and-reconstruct-проверка потребовала бы ещё одного forward pass на кандидата. Результаты ограничены двумя backbone, 11 задачами, greedy decoding и одной GPU; оценка per-block TPS частично основана на предположении одинаковой стоимости шага.", "en": "Single-span CVC transfers poorly to programs, long free-form text, and outputs with multiple subanswers. All commitments are monotonic, so incorrect intermediate reasoning tokens cannot be revisited, and BWEC commits receive no CVC safety check. Mask-and-reconstruct verification would require an additional forward pass per candidate. Results are limited to two backbones, 11 tasks, greedy decoding, and one GPU; per-block TPS analysis partly assumes uniform per-step cost."}, "next_action": {"ru": "Провести независимую проверку на задачах без единственного ответа, сравнив качество при τBWEC=0,9 с базовым декодированием. План: (1) выбрать программирование и multi-part reasoning; (2) реализовать те же правила извлечения и учесть случаи отсутствия кандидата; (3) измерить точность, идентичность вывода, шаги и полную задержку; (4) отдельно проверить разрешение CVC в незавершающих блоках; (5) оценить, оправдывает ли mask-and-reconstruct дополнительный проход.", "en": "Run an independent evaluation on tasks without a single answer, comparing τBWEC=0.9 against baseline decoding. Plan: (1) select programming and multi-part reasoning tasks; (2) implement the same extraction rules and record missing-candidate cases; (3) measure accuracy, output identity, steps, and end-to-end latency; (4) separately test CVC eligibility in non-final blocks; (5) assess whether mask-and-reconstruct justifies its extra pass."}}, "source_coverage": {"canonical_text_hash": "f53303100e83e7261fd0d48b3669c3d1b40b4415ac7e92be775dc43b78dc8d8e", "covered_chunks": 12, "map_input_digest": "dce8b2c3776ff249a4fec2d10716675679fe4ea3b38e8fe59ada0f14c6203888", "prompt_version": "full-article-research-guide-v14", "revision_id": "f6c2c9883db7a02d35fc2af0e62cd0882ad1eade4fb1e82b5758dc5c7010bf1f", "total_chunks": 12}}, "resources": {"version": "paper-resources-v1", "source_hash": "7919605ae31e117e5512a588b9426934c998a4dcf2471b867c0afa1e62eab764", "evidence_kind": "full_text_excerpt", "availability": "not_checked", "limited": false, "items": [{"origin": "source_excerpt", "evidence": " within 2.0 percentage points of\nfull-decoding accuracy across all 22 evaluation settings, with one frozen hyper-\nparameter set that transfers cross-backbone untuned, while achieving end-to-end\nTPS speedups of 9.3–17.8× on short-answer tasks and 2.0–3.3× on long-reasoning\ntasks. Code is available at https://github.com/ming053l/LATCH-dLLM.\n\n### 1 Introduction\n\nDiffusion language models (DLMs) generate text by iteratively denoising a fully-masked sequence,\nin contrast to autoregressive models’ left-to-right pass (Nie et al., 2025; Ye et al., 2025); at every\nintermediate step the model already holds a provisional guess for every positi", "url": "https://github.com/ming053l/LATCH-dLLM", "kind": "code", "span": [1882, 2522], "evidence_hash": "e9c34114ec1abc173cae4b5b4683b5a8b8772164831a4e6df18c7f12fd45d9e3"}]}, "slug": "2607.28166-where-and-when-to-commit-candidate-aware-decoding-for-diffusion-language-models"}