← Lab /AI/ML

Distributional adversarial training greatly improves LLM robustness to simple in-distribution attacks

DAT achieves substantially higher adversarial robustness than previous methods

AI/ML arXiv 16 Feb 2026 Method Simulation evidence

Published as “Closing the Distribution Gap in Adversarial Training for LLMs”

Why it matters

DAT offers a practical path to more reliable LLM deployments by closing a key robustness gap without sacrificing helpfulness.

Summary

DAT dramatically improves worst-case robustness of LLMs, cutting the ensemble-of-attacks success rate (BoA ASR) to 36% for Llama3-8B (and 18% for Qwen2.5-14B) versus 77% for the next best method, while keeping helpfulness comparable to baselines. The claim is backed by extensive experiments on two model families across multiple attack families (gradient-based, optimization, and inpainting) and ablations showing the benefit of diffusion-sampled data and continuous adversarial training.

What they found 2

  1. DAT reduces the ensemble-of-attacks ASR to 36% for Llama3-8B, far below the second-best 77% achieved by MixAT.

    “DAT substantially outperforms all other approaches, achieving an ASR of 36% for the Llama model compared to the second-best method, MixAT (77%).”

  2. Increasing diffusion samples per harmful behavior from 1 to 16 lowers Inpainting ASR on Llama3-8B from 54% to 22%.

    “Specifically, as the number of unique prompts per harmful behavior in training data increases from 1 to 16, the ASR on Llama3-8B decreases from 54% to 22%.”

Caveats 2

  • The trained model achieves remarkable robustness against Inpainting (23% ASR) compared to previous approaches. However, the Diffusion-only model remains vulnerable to other adversarial attacks (e.g., GCG, BoN).
  • While DAT demonstrates the efficacy of generative surrogates, it currently relies on conditional sampling from a specific class of diffusion models.

What’s new here 4

  • Uses diffusion LLMs to sample from the joint prompt-response distribution, covering data-specific vulnerabilities missed by static datasets.
  • Combines generative sampling with continuous adversarial training in a single objective to address both distribution approximation error and adversarial optimization error.
  • Provides a theoretical result linking surrogate fidelity to reduction of the gap between empirical and population robust risk.
  • Empirically demonstrates that scaling the number of diffusion-generated prompts per behavior continuously improves robustness without harming utility.