Learning diverse attacks against large language models for robust red teaming and safety fine-tuningLearning diverse attacks on large language models for robust red-teaming and safety tuning
AI summary
The paper proposes fine-tuning an attack model with GFlowNet combined with a secondary smoothing stage to generate diverse and effective attack prompts for automated red teaming. The authors note that existing reinforcement learning-based methods still suffer from mode collapse or difficulty generating effective attacks even with novelty and diversity regularization. The paper reports that these attacks are effective against multiple target large language models with and without safety fine-tuning, and can transfer between target models. After safety fine-tuning with the prompt dataset generated by this method, the model is also more robust to other reinforcement learning-based red teaming attacks.