English

LANCE: Stress-testing Visual Models by Generating Language-guided Counterfactual Images

Computer Vision and Pattern Recognition 2023-10-31 v2 Computation and Language Machine Learning

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 pre-trained 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. Code is available at https://github.com/virajprabhu/lance.

Keywords

Cite

@article{arxiv.2305.19164,
  title  = {LANCE: Stress-testing Visual Models by Generating Language-guided Counterfactual Images},
  author = {Viraj Prabhu and Sriram Yenamandra and Prithvijit Chattopadhyay and Judy Hoffman},
  journal= {arXiv preprint arXiv:2305.19164},
  year   = {2023}
}

Comments

NeurIPS 2023 camera ready. Project webpage: https://virajprabhu.github.io/lance-web/

R2 v1 2026-06-28T10:50:51.516Z