Detecting Misclassification Errors in Neural Networks with a Gaussian Process Model

Xin Qiu, Risto Miikkulainen
10/5/2020
cs.LGcs.AI
bayesian

Official code: cognizant-ai-labs/red-paper (7 stars, Python, last commit 2025-09-28).

Abstract

As neural network classifiers are deployed in real-world applications, it is crucial that their failures can be detected reliably. One practical solution is to assign confidence scores to each prediction, then use these scores to filter out possible misclassifications.

Show full abstract

However, existing confidence metrics are not yet sufficiently reliable for this role. This paper presents a new framework that produces a quantitative metric for detecting misclassification errors. This framework, RED, builds an error detector on top of the base classifier and estimates uncertainty of the detection scores using Gaussian Processes. Experimental comparisons with other error detection methods on 125 UCI datasets demonstrate that this approach is effective. Further implementations on two probabilistic base classifiers and two large deep learning architecture in vision tasks further confirm that the method is robust and scalable. Third, an empirical analysis of RED with out-of-distribution and adversarial samples shows that the method can be used not only to detect errors but also to understand where they come from. RED can thereby be used to improve trustworthiness of neural network classifiers more broadly in the future.

View on arXivView PDF

Code Implementations(1)

Source codes for reproducing the experimental results in RED paper (published in AAAI2022)

71PythonJan 2, 20221 years agoNOASSERTION

Similar Papers

Cite this paper

@article{qiu2020detecting,
  title  = {Detecting Misclassification Errors in Neural Networks with a Gaussian Process Model},
  author = {Xin Qiu and Risto Miikkulainen},
  year   = {2020},
  eprint = {2010.02065},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.02065}
}

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

Discussion