{"id": "http://arxiv.org/abs/2607.27386v1", "title": "Beyond the Bidirectional Promise: Re-evaluating the Robustness of Diffusion Language Models", "abstract": "Diffusion Language Models (DLMs) offer a compelling alternative to autoregressive (AR) generation by enabling bidirectional context and iterative refinement. However, their reliability under natural input noise and adversarial attacks remains under-explored. To address this, we systematically evaluate DLM robustness and calibration against AR baselines, using two parameter-matched pairs (LLaDA-8B vs. LLaMA-3-8B and Dream-7B vs. Qwen2.5-7B) across 32 natural perturbation conditions, adversarial gradient probes, and mechanistic hidden-state analyses. This paired design effectively isolates architecture-intrinsic properties from weight-dependent behaviors. We find a nuanced robustness profile: while highly stochastic DLM loss landscapes naturally resist gradient-based adversarial suffixes, they provide no guaranteed defense against natural noise, proving that everyday robustness is weight-dependent rather than inherently architectural. Furthermore, DLMs exhibit systematic overconfidence, presenting a practical deployment hazard. Most crucially, mechanistic probing reveals that all models perfectly encode input corruption, isolating behavioral fragility entirely to a decoder routing failure. Consistent with this diagnosis, we show that surface-level prompt patching fails to improve over noisy baselines. Ultimately, DLM robustness cannot be patched on; it must be fundamentally integrated into the iterative decoding loop.", "published_at": "2026-07-29T18:46:43+00:00", "source_updated_at": null, "source_url": "https://arxiv.org/abs/2607.27386v1", "source_hash": "85195036f6743643b50f4e54ad4fe2c66367dad624caf8edb8238780de51b9e8", "source_version": "v1", "full_text_available": true, "evidence_kind": "full_text_excerpt", "analysis_scope": "full_text_excerpt", "scope": "core", "topics": ["discrete-diffusion"], "code_url": null, "has_code": false, "indexable": true, "authors": [], "related_ids": ["http://arxiv.org/abs/2609.04531v1", "http://arxiv.org/abs/2609.04010v1", "http://arxiv.org/abs/2609.00495v1"], "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": "85195036f6743643b50f4e54ad4fe2c66367dad624caf8edb8238780de51b9e8", "source_url": "https://arxiv.org/abs/2607.27386v1", "source_version": "v1", "revision_id": "e496e5f090284bcb7e4d6e8be0828ae8d546e42dd924cf01b984fead1af78fdb", "canonical_text_hash": "88d0c59d0dd421f706e5aa8dffdd52e1f17f772c9a983bc5d63dec982d91828f", "prompt_version": "full-article-research-guide-v14", "sections": {"verdict": {"ru": "Работа показывает, что устойчивость диффузионных языковых моделей (DLM) не является автоматически присущим свойством архитектуры. Для пары LLaDA наблюдается статистически значимое преимущество над сопоставимой AR-моделью по устойчивости, но для Dream такого преимущества нет. DLM обычно сохраняют сигнал о повреждении во внутренних состояниях, однако плохо используют его при итеративном декодировании: они остаются чрезмерно уверенными, а предложенная коррекция промпта не улучшает результаты.", "en": "The study shows that robustness is not an automatic property of diffusion language model (DLM) architecture. LLaDA has a statistically significant robustness advantage over its matched autoregressive model, whereas Dream does not. DLMs generally retain corruption signals in their internal states but use them poorly during iterative decoding: they remain overconfident, and the proposed prompt-repair method does not improve performance."}, "main_idea": {"ru": "Исследование разделяет устойчивость к шуму на два этапа: кодирование повреждения в скрытых состояниях и его обработку при генерации. Линейно извлекаемый сигнал о коррупции показывает, что проблема обычно не в отсутствии информации, а в маршрутизации и исправлении при денойзинге. Это объясняет, почему архитектурно похожие DLM демонстрируют разную устойчивость в зависимости от обученных весов.", "en": "The study separates noise robustness into two stages: encoding corruption in hidden states and handling it during generation. Linearly recoverable corruption signals indicate that the main problem is usually not missing information, but routing and correction during denoising. This explains why architecturally similar DLMs can show different robustness depending on their learned weights."}, "claims": {"ru": "LLaDA превосходит LLaMA-3 по RDI на TriviaQA (+0,088), GSM8K (+0,164) и ARC-Challenge (+0,102), при p<0,001, и выигрывает в 88–91% условий шума. Преимущество Dream над Qwen2.5 незначимо на TriviaQA и ARC и отрицательно на GSM8K (−0,059; p=0,013). ECE DLM обычно выше, даже при тяжёлых искажениях, хотя AUROC часто сохраняет различимость. Линейные пробы выявляют повреждение с точностью выше 93%, AUROC по лучшим слоям составляет 0,92–0,99. Короткие градиентные суффиксы D-GCG не достигают 20% деградации DLM, тогда как AR-GCG снижает качество LLaMA-3 на 0,440 и Qwen2.5 на 0,250.", "en": "LLaDA exceeds LLaMA-3 in RDI on TriviaQA (+0.088), GSM8K (+0.164), and ARC-Challenge (+0.102), with p<0.001, and wins in 88–91% of noise conditions. Dream's advantage over Qwen2.5 is nonsignificant on TriviaQA and ARC and negative on GSM8K (−0.059; p=0.013). DLM ECE is generally higher even under severe corruption, although AUROC often remains discriminative. Linear probes detect corruption above 93% accuracy, with best-layer AUROC of 0.92–0.99. Short gradient-based D-GCG suffixes do not reach 20% DLM degradation, whereas AR-GCG reduces LLaMA-3 by 0.440 and Qwen2.5 by 0.250."}, "mechanism": {"ru": "DLM обучается маскированию токенов и их восстановлению двунаправленным трансформером. При инференсе токены ответа итеративно размаскируются, а токены промпта фиксированы и не исправляются. Dream использует entropy-based remasking, T=512, temperature=0,2, top-p=0,95 и жадную фиксацию; некорректная исходная семплировка Hugging Face ухудшает длинные ответы. D-GCG применяет straight-through embeddings, суффиксы длиной 4/8/16, 50 шагов, top-k=64 и один случайный timestep/mask, избегая обратного распространения через всю траекторию; стоимость памяти около 1,5× стандартного инференса. Градиенты велики, но направления неустойчивы, а loss колеблется из-за маргинализации по timestep и маскам. IPM обнаруживает низкоуверенные токены, повторно маскирует выбранные позиции и выполняет короткое diffusion-infill; при длине около 64, Td=16 и T=128 это примерно 20 дополнительных forward passes и около 1,5× задержки. Для воспроизведения: (1) сопоставить LLaDA/LLaMA-3 и Dream/Qwen2.5; (2) измерить accuracy, RDI, AURDI и ECE на трёх задачах и 32 условиях; (3) применить девять типов шума; (4) выполнить D-GCG с указанными параметрами; (5) обучить линейные пробы по слоям; (6) сравнить чистые и повреждённые траектории и варианты IPM. Точные детали формирования всех шумовых выборок и полного набора confidence aggregation в записях не указаны.", "en": "DLMs train by masking tokens and reconstructing them with a bidirectional transformer. During inference, response tokens are iteratively unmasked, while prompt tokens remain fixed and cannot be corrected. Dream uses entropy-based remasking with T=512, temperature 0.2, top-p=0.95, and greedy commitment; incorrect Hugging Face origin sampling harms long outputs. D-GCG uses straight-through embeddings, suffix lengths 4/8/16, 50 steps, top-k=64, and one sampled timestep/mask, avoiding backpropagation through the full trajectory; memory cost is about 1.5× standard inference. Gradients are large but directionally incoherent, and loss trajectories oscillate because of timestep and mask marginalization. IPM detects low-confidence tokens, remasks selected positions, and performs short diffusion infilling; at sequence length about 64, Td=16, and T=128, it adds roughly 20 forward passes and about 1.5× latency. Reproduction plan: (1) match LLaDA/LLaMA-3 and Dream/Qwen2.5; (2) measure accuracy, RDI, AURDI, and ECE on three tasks and 32 conditions; (3) apply nine perturbation types; (4) run D-GCG with the stated settings; (5) train layerwise linear probes; (6) compare clean and corrupted trajectories and IPM variants. The records do not specify the complete construction of every noise sample or the full confidence-aggregation set."}, "evidence": {"ru": "Наблюдаемые результаты подтверждают модель-зависимую, а не универсальную устойчивость: LLaDA имеет преимущество во всех трёх задачах, Dream — нет. На GSM8K при keyboard noise r=0,15 IPM-TopK меняет accuracy не более чем на +0,005, тогда как threshold и iterative варианты снижают её на 0,10–0,195. При транспозиции на GSM8K траектория LLaDA отклоняется от чистой на 28%; AR-модели в некоторых случаях перенаправляют внимание вокруг повреждения. Это согласуется с decoding bottleneck. Однако превосходство IPM не установлено: пять вариантов не улучшают шумные baseline. Также нельзя считать устойчивость DLM универсальной: вывод ограничен 7B–8B моделями, тремя бенчмарками, девятью типами искажений и указанными настройками оценки.", "en": "Observed results support model-dependent rather than universal robustness: LLaDA has an advantage on all three tasks, while Dream does not. On GSM8K with keyboard noise at r=0.15, IPM-TopK changes accuracy by at most +0.005, whereas threshold and iterative variants reduce it by 0.10–0.195. Under GSM8K transposition, LLaDA's trajectory diverges from the clean path by 28%; AR models sometimes reroute attention around corruption. This is consistent with a decoding bottleneck. However, IPM superiority is not established: five variants fail to improve noisy baselines. DLM robustness therefore cannot be treated as universal; the evidence is limited to 7B–8B models, three benchmarks, nine perturbation types, and the stated evaluation settings."}, "applicability": {"ru": "Выводы полезны для оценки устойчивости и калибровки masked/diffusion LLM, выбора между DLM и AR-моделями при шумных пользовательских запросах, а также для диагностики того, где именно возникает отказ — в представлении или в декодировании. Линейные пробы и анализ траекторий подходят как диагностические инструменты; D-GCG — как проверка устойчивости к коротким suffix-атакам, а не как практическая атака.", "en": "The findings are useful for evaluating robustness and calibration of masked/diffusion LLMs, choosing between DLM and AR models for noisy user inputs, and diagnosing whether failures arise in representation or decoding. Linear probes and trajectory analysis are suitable diagnostic tools; D-GCG is useful as a probe of resistance to short suffix attacks, not as a practical attack."}, "limitations": {"ru": "Обобщение ограничено моделями 7B–8B, тремя задачами, девятью типами шума, ограниченной длиной генерации и substring-based QA evaluation. Возможны изменения результатов при больших масштабах, длинном контексте, других доменах, многоязычных данных, альтернативных метриках калибровки и diffusion-native атаках. Отдельный риск — несовпадение токенизаторов. Из-за фиксированных prompt tokens исправление повреждений в самом промпте не проверяет полноценную коррекцию входа.", "en": "Generalization is limited by 7B–8B models, three tasks, nine noise types, capped generation length, and substring-based QA evaluation. Results may change at larger scales, with longer contexts, other domains, multilingual data, alternative calibration metrics, or diffusion-native attacks. Tokenizer mismatch is an additional risk. Because prompt tokens are fixed, the proposed procedure does not test full correction of corrupted inputs."}, "next_action": {"ru": "Провести контролируемый эксперимент на более крупных и многоязычных моделях с совместной коррекцией промпта и ответа. План: (1) добавить модели разных размеров и токенизаторов; (2) разделить повреждение промпта и ответа и разрешить remasking промпта; (3) сравнить IPM с обученным confidence-aware decoder; (4) оценить accuracy, RDI/AURDI, ECE и траектории при длинном контексте; (5) проверить статистическую устойчивость на новых доменах и diffusion-native атаках.", "en": "Run a controlled experiment on larger and multilingual models with joint correction of prompt and response. Plan: (1) add models at multiple scales and with different tokenizers; (2) separate prompt and response corruption and allow prompt remasking; (3) compare IPM with a trained confidence-aware decoder; (4) measure accuracy, RDI/AURDI, ECE, and trajectories in long contexts; (5) test statistical robustness on new domains and against diffusion-native attacks."}}, "source_coverage": {"canonical_text_hash": "88d0c59d0dd421f706e5aa8dffdd52e1f17f772c9a983bc5d63dec982d91828f", "covered_chunks": 6, "map_input_digest": "67e48bcdb9d27280eb8f4c44ac8c42b54a5db224e7eb7cc46268b43646e06c93", "prompt_version": "full-article-research-guide-v14", "revision_id": "e496e5f090284bcb7e4d6e8be0828ae8d546e42dd924cf01b984fead1af78fdb", "total_chunks": 6}}, "resources": {"version": "paper-resources-v1", "source_hash": "85195036f6743643b50f4e54ad4fe2c66367dad624caf8edb8238780de51b9e8", "evidence_kind": "full_text_excerpt", "availability": "not_checked", "limited": false, "items": []}, "slug": "2607.27386-beyond-the-bidirectional-promise-re-evaluating-the-robustness-of-diffusion-language-models"}