Diagnosing and Rectifying Vision Models using Language

Yuhui Zhang, Jeff Z. HaoChen, Shih-Cheng Huang, Kuan-Chieh Wang, James Zou +1 more
2/8/2023
cs.LGcs.AIcs.CL

No official code found. Best implementation: yuhui-zh15/drml (34 stars, last commit 2023-06-08).

Abstract

Recent multi-modal contrastive learning models have demonstrated the ability to learn an embedding space suitable for building strong vision classifiers, by leveraging the rich information in large-scale image-caption datasets. Our work highlights a distinct advantage of this multi-modal embedding space: the ability to diagnose vision classifiers through natural language. The traditional process of diagnosing model behaviors in deployment settings involves labor-intensive data acquisition and annotation. Our proposed method can discover high-error data slices, identify influential attributes and further rectify undesirable model behaviors, without requiring any visual data. Through a combination of theoretical explanation and empirical verification, we present conditions under which classifiers trained on embeddings from one modality can be equivalently applied to embeddings from another modality. On a range of image datasets with known error slices, we demonstrate that our method can effectively identify the error slices and influential attributes, and can further use language to rectify failure modes of the classifier.

View on arXivView PDF

Code Implementations(1)

yuhui-zh15/drmlCommunity100%

Official Code Release for "Diagnosing and Rectifying Vision Models using Language" (ICLR 2023)

340Shell, PythonDec 9, 20223 years ago
computer-visioniclr2023machine-learningmultimodal-deep-learningnatural-language-processing+1 more

Similar Papers

Cite this paper

@article{zhang2023diagnosing,
  title  = {Diagnosing and Rectifying Vision Models using Language},
  author = {Yuhui Zhang and Jeff Z. HaoChen and Shih-Cheng Huang and Kuan-Chieh Wang and James Zou and Serena Yeung},
  year   = {2023},
  eprint = {2302.04269},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.04269v1},
  journal = {ICLR 2023 2023}
}

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/2302.04269.svg)](https://codeofpaper.com/paper/2302.04269)

Discussion