RedTopic: Topic-diversified red teaming for large language modelsRedTopic: Toward Topic-Diverse Red Teaming of Large Language Models
AI summary
The red teaming framework RedTopic generates more topically diverse adversarial prompts for large language models through a contextualized generation pipeline, an aggregated reward design, and multi-objective RL training. Existing methods either rely on pre-collected harmful topics and lack flexibility, or use RL but lack explicit exploration rewards, making them prone to over-optimizing narrow objectives and losing diversity. Experiments show that RedTopic's adversarial prompts are more effective and more diverse than existing methods, with a clear improvement in comprehensive evaluation metrics.