Testing DNN Image Classifiers for Confusion & Bias Errors
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
Citing papers per year: 2021: 5; 2022: 3; 2023: 7; 2024: 1; 2025: 1; 2026: 1.
18 papers.
Sort:
By area:
- 2023Emotionally Numb or Empathetic? Evaluating How LLMs Feel Using EmotionBenchcited by 54
- 2021How to Certify Machine Learning Based Safety-critical Systems? A Systematic Literature Reviewcited by 39
- 2021ModelDiff: Testing-Based DNN Similarity Comparison for Model Reuse Detectioncited by 33
- 2023Preemptively Pruning Clever-Hans Strategies in Deep Neural Networkscited by 9
- 2021Estimating and Maximizing Mutual Information for Knowledge Distillationcited by 6
- 2022Specifying and Testing k-Safety Properties for Machine-Learning Modelscited by 5
- 2023Validating Multimedia Content Moderation Software via Semantic Fusioncited by 5
- 2023Variation of Gender Biases in Visual Recognition Models Before and After Finetuningcited by 3
- 2023RAI4IoE: Responsible AI for Enabling the Internet of Energycited by 3
- 2024FAST: Boosting Uncertainty-based Test Prioritization Methods for Neural Networks via Feature Selectioncited by 3
- 2021GGT: Graph-Guided Testing for Adversarial Sample Detection of Deep Neural Networkcited by 1
- 2023DREAM: Debugging and Repairing AutoML Pipelinescited by 1
6 more
- 2021Classification, Slippage, Failure and Discoverycited by 0
- 2022Repairing Group-Level Errors for DNNs Using Weighted Regularizationcited by 0
- 2022Reformulating van Rijsbergen's Fβ metric for weighted binary cross-entropycited by 0
- 2023Distribution-aware Fairness Test Generationcited by 0
- 2025Automated Harmfulness Testing for Code Large Language Modelscited by 0
- 2026Ethics Testing: Proactive Identification of Generative AI System Harmscited by 0
- 2026Ethics Testing: Proactive Identification of Generative AI System Harms23 Apr 2026
- 2025Automated Harmfulness Testing for Code Large Language Models20 Mar 2025
- 2024FAST: Boosting Uncertainty-based Test Prioritization Methods for Neural Networks via Feature Selection13 Sep 2024
- 2023DREAM: Debugging and Repairing AutoML Pipelines31 Dec 2023
- 2023RAI4IoE: Responsible AI for Enabling the Internet of Energy20 Sep 2023
- 2023Emotionally Numb or Empathetic? Evaluating How LLMs Feel Using EmotionBench7 Aug 2023
- 2023Validating Multimedia Content Moderation Software via Semantic Fusion23 May 2023
- 2023Distribution-aware Fairness Test Generation8 May 2023
- 2023Preemptively Pruning Clever-Hans Strategies in Deep Neural Networks12 Apr 2023
- 2023Variation of Gender Biases in Visual Recognition Models Before and After Finetuning14 Mar 2023
- 2022Reformulating van Rijsbergen's Fβ metric for weighted binary cross-entropy29 Oct 2022
- 2022Specifying and Testing k-Safety Properties for Machine-Learning Models13 Jun 2022
6 more
- 2022Repairing Group-Level Errors for DNNs Using Weighted Regularization24 Mar 2022
- 2021Estimating and Maximizing Mutual Information for Knowledge Distillation29 Oct 2021
- 2021How to Certify Machine Learning Based Safety-critical Systems? A Systematic Literature Review26 Jul 2021
- 2021GGT: Graph-Guided Testing for Adversarial Sample Detection of Deep Neural Network9 Jul 2021
- 2021ModelDiff: Testing-Based DNN Similarity Comparison for Model Reuse Detection11 Jun 2021
- 2021Classification, Slippage, Failure and Discovery8 Apr 2021
- 2025Automated Harmfulness Testing for Code Large Language Models20 Mar 2025
- 2023Emotionally Numb or Empathetic? Evaluating How LLMs Feel Using EmotionBenchcited by 54
- 2021How to Certify Machine Learning Based Safety-critical Systems? A Systematic Literature Reviewcited by 39
- 2021ModelDiff: Testing-Based DNN Similarity Comparison for Model Reuse Detectioncited by 33
- 2023Preemptively Pruning Clever-Hans Strategies in Deep Neural Networkscited by 9
- 2022Specifying and Testing k-Safety Properties for Machine-Learning Modelscited by 5
- 2023Validating Multimedia Content Moderation Software via Semantic Fusioncited by 5
- 2023Variation of Gender Biases in Visual Recognition Models Before and After Finetuningcited by 3
- 2023RAI4IoE: Responsible AI for Enabling the Internet of Energycited by 3
- 2024FAST: Boosting Uncertainty-based Test Prioritization Methods for Neural Networks via Feature Selectioncited by 3
- 2021GGT: Graph-Guided Testing for Adversarial Sample Detection of Deep Neural Networkcited by 1
- 2023DREAM: Debugging and Repairing AutoML Pipelinescited by 1
- 2021Classification, Slippage, Failure and Discoverycited by 0
12 most cited of 16 All 16 (JSON)
- 2026Ethics Testing: Proactive Identification of Generative AI System Harms23 Apr 2026
- 2024FAST: Boosting Uncertainty-based Test Prioritization Methods for Neural Networks via Feature Selection13 Sep 2024
- 2023DREAM: Debugging and Repairing AutoML Pipelines31 Dec 2023
- 2023RAI4IoE: Responsible AI for Enabling the Internet of Energy20 Sep 2023
- 2023Emotionally Numb or Empathetic? Evaluating How LLMs Feel Using EmotionBench7 Aug 2023
- 2023Validating Multimedia Content Moderation Software via Semantic Fusion23 May 2023
- 2023Distribution-aware Fairness Test Generation8 May 2023
- 2023Preemptively Pruning Clever-Hans Strategies in Deep Neural Networks12 Apr 2023
- 2023Variation of Gender Biases in Visual Recognition Models Before and After Finetuning14 Mar 2023
- 2022Reformulating van Rijsbergen's Fβ metric for weighted binary cross-entropy29 Oct 2022
- 2022Specifying and Testing k-Safety Properties for Machine-Learning Models13 Jun 2022
- 2022Repairing Group-Level Errors for DNNs Using Weighted Regularization24 Mar 2022
12 newest of 16 All 16 (JSON)