DACE: Diversity-Driven Adversarial Co-Evolution for Robust LLM Safety Alignment
Peng Yu, Xiaoyu Wen, Zhida He, Ziyuan Zhou, Han Qi, Shao Zhang, Qiaosheng Zhang, Ying Wen, Chaochao Lu
NeurIPS page · OpenReview · Open on the map
Category: AI Safety, Security & Alignment › Jailbreak Defense and Analysis · Type: new method · Keywords: LLM safety alignment, adversarial co-evolution, attack strategy collapse, defense adversarial forgetting, Bayesian replay, Thompson sampling
Areas: Safety & Security › Language Model Security › Prompt Injection and Resource Attacks
Summary
DACE is a diversity-driven adversarial co-evolution framework that jointly addresses attacker strategy collapse and defender adversarial forgetting to improve LLM safety alignment.
Explained to a 5-year-old
Big computer programs called language models need to be nice and safe. People try to make them say bad things by changing the words they use. When we try to stop them, the tricks people use can become the same over and over. Also, the safety guard can forget how to block old tricks as new ones appear. The new idea helps the tricksters try many different tricks and the safety guard learns from all of them. This makes the language model better at staying safe even when faced with new tricks.
Explained to a 5-year-old, longer
Large language models are computer programs that can talk and write text. We want them to be safe and not say bad things. People try to make them say bad things by changing the words they use. When we try to stop them, the tricks people use can become the same over and over. Also, the safety guard can forget how to block old tricks as new ones appear. Existing methods try to fix only one of these problems at a time. The new idea looks at both problems together. It gives the attacker many different kinds of tricks to try, like different categories and styles. It also keeps a memory of past tricks that updates over time using a special learning method. This helps the safety guard stay ready for many kinds of attacks. As a result, the language model stays safe against new tricks while still being useful. The model also covers more kinds of attacks, making it more robust overall.
For a technical reader
DACE is a co-evolutionary framework that simultaneously improves the attacker’s strategy diversity and the defender’s replay mechanism for aligning large language models. It structures the attacker’s search space into risk categories and attack styles, using a coverage-based reward to avoid over-fitting to a few high-reward rewrites. On the defense side, DACE maintains a Bayesian replay pool that updates threat posteriors with time decay and selects attacks via Thompson sampling, keeping the model robust against drifting threats. Experiments on standard safety, automated-attacker, and general-capability benchmarks show that DACE yields stronger out-of-distribution robustness while preserving normal model capabilities. The approach also provides broader attacker strategy coverage, indicating more comprehensive safety evaluation.
Problem
Ensuring robust safety alignment of large language models is challenging because adversarial attacks evolve and alignment pipelines built on static data cannot keep up, leading to attacker strategy collapse and defender forgetting of earlier attacks.
Method
The approach introduces a structured attacker strategy space with a coverage-based reward and a Bayesian adversarial replay pool that updates threat posteriors via time decay and Thompson sampling, providing stable co-evolution training.
Results
The approach achieves improved robustness to out-of-distribution attacks while maintaining general capabilities and provides broader attacker strategy coverage.
Contributions
It jointly addresses attacker strategy collapse and defender adversarial forgetting by introducing a strategy-space reward and a Bayesian replay mechanism, leading to more robust and stable safety alignment.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction