Lifelong safety alignment of language modelsLifelong Safety Alignment for Language Models
The researchers propose a lifelong safety alignment framework for language models that, through iterative adversarial play between a Meta-Attacker and a Defender, enables the model to continuously adapt to newly emerging and evolving jailbreak strategies. The framework first uses the GPT-4o API to extract key insights from a large number of jailbreak-related research papers, which are used to warm up the Meta-Attacker. In the first iteration, the Meta-Attacker achieved a 73% attack success rate (ASR) on RR with only single-turn attacks, and a 57% transfer attack success rate on LAT. The Defender gradually strengthens its robustness with iterative training, ultimately reducing the Meta-Attacker's attack success rate to 7%. Code is open-sourced at https://github.com/sail-sg/LifelongSafetyAlignment。