mlsanityData to 14 Oct 2026

Testing DNN Image Classifiers for Confusion & Bias Errors

arXiv 1905.07831 ↗First posted 20 May 2019cs.SE cs.CV cs.LGcited by 18

Not on the map. Why?

Abstract (arXiv)

Image classifiers are an important component of today's software, from consumer and business applications to safety-critical domains. The advent of Deep Neural Networks (DNNs) is the key catalyst behind such wide-spread success. However, wide adoption comes with serious concerns about the robustness of software systems dependent on DNNs for image classification, as several severe erroneous behaviors have been reported under sensitive and critical circumstances. We argue that developers need to rigorously test their software's image classifiers and delay deployment until acceptable. We present an approach to testing image classifier robustness based on class property violations. We found that many of the reported erroneous cases in popular DNN image classifiers occur because the trained models confuse one class with another or show biases towards some classes over others. These bugs usually violate some class properties of one or more of those classes. Most DNN testing techniques focus on per-image violations, so fail to detect class-level confusions or biases. We developed a testing technique to automatically detect class-based confusion and bias errors in DNN-driven image classification software. We evaluated our implementation, DeepInspect, on several popular image classifiers with precision up to 100% (avg.~72.6%) for confusion errors, and up to 84.3% (avg.~66.8%) for bias errors. DeepInspect found hundreds of classification mistakes in widely-used models, many exposing errors indicating confusion or bias.

Key facts. Cited by 18 papers in the map (data through 14 Oct 2026). First posted on arXiv 20 May 2019.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 5; 2022: 3; 2023: 7; 2024: 1; 2025: 1; 2026: 1.

18 papers.

Sort:

By area:

  1. 2023Emotionally Numb or Empathetic? Evaluating How LLMs Feel Using EmotionBenchcited by 54
  2. 2021How to Certify Machine Learning Based Safety-critical Systems? A Systematic Literature Reviewcited by 39
  3. 2021ModelDiff: Testing-Based DNN Similarity Comparison for Model Reuse Detectioncited by 33
  4. 2023Preemptively Pruning Clever-Hans Strategies in Deep Neural Networkscited by 9
  5. 2021Estimating and Maximizing Mutual Information for Knowledge Distillationcited by 6
  6. 2022Specifying and Testing k-Safety Properties for Machine-Learning Modelscited by 5
  7. 2023Validating Multimedia Content Moderation Software via Semantic Fusioncited by 5
  8. 2023Variation of Gender Biases in Visual Recognition Models Before and After Finetuningcited by 3
  9. 2023RAI4IoE: Responsible AI for Enabling the Internet of Energycited by 3
  10. 2024FAST: Boosting Uncertainty-based Test Prioritization Methods for Neural Networks via Feature Selectioncited by 3
  11. 2021GGT: Graph-Guided Testing for Adversarial Sample Detection of Deep Neural Networkcited by 1
  12. 2023DREAM: Debugging and Repairing AutoML Pipelinescited by 1
6 more
  1. 2021Classification, Slippage, Failure and Discoverycited by 0
  2. 2022Repairing Group-Level Errors for DNNs Using Weighted Regularizationcited by 0
  3. 2022Reformulating van Rijsbergen's Fβ metric for weighted binary cross-entropycited by 0
  4. 2023Distribution-aware Fairness Test Generationcited by 0
  5. 2025Automated Harmfulness Testing for Code Large Language Modelscited by 0
  6. 2026Ethics Testing: Proactive Identification of Generative AI System Harmscited by 0