LANCE: Stress-testing Visual Models
by Generating Language-guided Counterfactual Images (NeurIPS 2023)
Viraj Prabhu     Sriram Yenamandra     Prithvijit Chattopadhyay     Judy Hoffman
[Paper]
[Code]
[News]

Abstract

We propose an automated algorithm to stress-test a trained visual model by generating language-guided counterfactual test images (LANCE). Our method leverages recent progress in large language modeling and text-based image editing to augment an IID test set with a suite of diverse, realistic, and challenging test images without altering model weights. We benchmark the performance of a diverse set of pretrained models on our generated data and observe significant and consistent performance drops. We further analyze model sensitivity across different types of edits, and demonstrate its applicability at surfacing previously unknown class-level model biases in ImageNet.



Paper

V. Prabhu, S. Yenamandra, P. Chattopadhyay, J. Hoffman
LANCE: Stress-testing Visual Models by Generating Language-guided Counterfactual Images.
(hosted on ArXiv)


[Bibtex]

Method overview



Code


 [GitHub]