English

DECIDER: Leveraging Foundation Model Priors for Improved Model Failure Detection and Explanation

Computer Vision and Pattern Recognition 2024-08-02 v1

Abstract

Reliably detecting when a deployed machine learning model is likely to fail on a given input is crucial for ensuring safe operation. In this work, we propose DECIDER (Debiasing Classifiers to Identify Errors Reliably), a novel approach that leverages priors from large language models (LLMs) and vision-language models (VLMs) to detect failures in image classification models. DECIDER utilizes LLMs to specify task-relevant core attributes and constructs a ``debiased'' version of the classifier by aligning its visual features to these core attributes using a VLM, and detects potential failure by measuring disagreement between the original and debiased models. In addition to proactively identifying samples on which the model would fail, DECIDER also provides human-interpretable explanations for failure through a novel attribute-ablation strategy. Through extensive experiments across diverse benchmarks spanning subpopulation shifts (spurious correlations, class imbalance) and covariate shifts (synthetic corruptions, domain shifts), DECIDER consistently achieves state-of-the-art failure detection performance, significantly outperforming baselines in terms of the overall Matthews correlation coefficient as well as failure and success recall. Our codes can be accessed at~\url{https://github.com/kowshikthopalli/DECIDER/}

Keywords

Cite

@article{arxiv.2408.00331,
  title  = {DECIDER: Leveraging Foundation Model Priors for Improved Model Failure Detection and Explanation},
  author = {Rakshith Subramanyam and Kowshik Thopalli and Vivek Narayanaswamy and Jayaraman J. Thiagarajan},
  journal= {arXiv preprint arXiv:2408.00331},
  year   = {2024}
}

Comments

Accepted at ECCV (European Conference on Computer Vision) 2024

R2 v1 2026-06-28T18:00:08.935Z