Diagnostics for Deep Neural Networks with Automated Copy/Paste Attacks
Stephen Casper, Kaivalya Hariharan, Dylan Hadfield-Menell
TL;DR
The paper presents SNAFUE, an automated method to diagnose DNN weaknesses by discovering natural adversarial features through embeddings of synthetic and natural patches. It demonstrates scalable, automated red-teaming on ImageNet copy/paste attacks, reproducing prior results and uncovering hundreds of additional vulnerabilities with interpretable features. The approach combines latent-space adversarial patches, cosine similarity screening, and selective natural patches to reveal human-describable failure modes, offering a practical tool for scalable AI oversight. The work highlights both the potential and limitations of automated interpretability, and provides a path toward safer deployment and further NLP extensions.
Abstract
This paper considers the problem of helping humans exercise scalable oversight over deep neural networks (DNNs). Adversarial examples can be useful by helping to reveal weaknesses in DNNs, but they can be difficult to interpret or draw actionable conclusions from. Some previous works have proposed using human-interpretable adversarial attacks including copy/paste attacks in which one natural image pasted into another causes an unexpected misclassification. We build on these with two contributions. First, we introduce Search for Natural Adversarial Features Using Embeddings (SNAFUE) which offers a fully automated method for finding copy/paste attacks. Second, we use SNAFUE to red team an ImageNet classifier. We reproduce copy/paste attacks from previous works and find hundreds of other easily-describable vulnerabilities, all without a human in the loop. Code is available at https://github.com/thestephencasper/snafue
