English

Diagnosing and Rectifying Vision Models using Language

Machine Learning 2023-02-09 v1 Artificial Intelligence Computation and Language Computer Vision and Pattern Recognition

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.

Keywords

Cite

@article{arxiv.2302.04269,
  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},
  journal= {arXiv preprint arXiv:2302.04269},
  year   = {2023}
}

Comments

Published at ICLR 2023

R2 v1 2026-06-28T08:35:21.492Z