Automated Adversarial Discovery for Safety Classifiers
<|reference_start|>Automated Adversarial Discovery for Safety Classifiers: Safety classifiers are critical in mitigating toxicity on online forums such as social media and in chatbots. Still, they continue to be vulnerable to emergent, and often innumerable, adversarial attacks. Traditional automated adversarial data generation methods, however, tend to produce attacks that are not diverse, but variations of previously observed harm types. We formalize the task of automated adversarial discovery for safety classifiers - to find new attacks along previously unseen harm dimensions that expose new weaknesses in the classifier. We measure progress on this task along two key axes (1) adversarial success: does the attack fool the classifier? and (2) dimensional diversity: does the attack represent a previously unseen harm type? Our evaluation of existing attack generation methods on the CivilComments toxicity task reveals their limitations: Word perturbation attacks fail to fool classifiers, while prompt-based LLM attacks have more adversarial success, but lack dimensional diversity. Even our best-performing prompt-based method finds new successful attacks on unseen harm dimensions of attacks only 5\% of the time. Automatically finding new harmful dimensions of attack is crucial and there is substantial headroom for future research on our new task.<|reference_end|>
@article{lal2024automated,
    title={Automated Adversarial Discovery for Safety Classifiers},
    author={Yash Kumar Lal, Preethi Lahoti, Aradhana Sinha, Yao Qin, Ananth
  Balashankar},
    journal={arXiv preprint arXiv:2406.17104},
    year={2024},
    archivePrefix={arXiv},
    eprint={2406.17104},
    primaryClass={cs.CL}
}