Adaptive Testing of Computer Vision Models

Irena Gao, Gabriel Ilharco, Scott Lundberg, Marco Tulio Ribeiro
12/6/2022
cs.CV

Official code: irenasaracay/adavision (9 stars, Python, MIT, last commit 2022-12-05).

Abstract

Vision models often fail systematically on groups of data that share common semantic characteristics (e.g., rare objects or unusual scenes), but identifying these failure modes is a challenge. We introduce AdaVision, an interactive process for testing vision models which helps users identify and fix coherent failure modes.

Show full abstract

Given a natural language description of a coherent group, AdaVision retrieves relevant images from LAION-5B with CLIP. The user then labels a small amount of data for model correctness, which is used in successive retrieval rounds to hill-climb towards high-error regions, refining the group definition. Once a group is saturated, AdaVision uses GPT-3 to suggest new group descriptions for the user to explore. We demonstrate the usefulness and generality of AdaVision in user studies, where users find major bugs in state-of-the-art classification, object detection, and image captioning models. These user-discovered groups have failure rates 2-3x higher than those surfaced by automatic error clustering methods. Finally, finetuning on examples found with AdaVision fixes the discovered bugs when evaluated on unseen examples, without degrading in-distribution accuracy, and while also improving performance on out-of-distribution datasets.

View on arXivView PDF

Code Implementations(1)

MIT

Interactive tool to adaptively test computer vision models

90Python, JavaScriptDec 5, 20223 years agoMIT

Similar Papers

Cite this paper

@article{gao2022adaptive,
  title  = {Adaptive Testing of Computer Vision Models},
  author = {Irena Gao and Gabriel Ilharco and Scott Lundberg and Marco Tulio Ribeiro},
  year   = {2022},
  eprint = {2212.02774},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.02774}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.02774.svg)](https://codeofpaper.com/paper/2212.02774)

Discussion