Skip to main content
QUICK REVIEW

[Paper Review] Not all Failure Modes are Created Equal: Training Deep Neural Networks for Explicable (Mis)Classification

Alberto Olmo, Sailik Sengupta|arXiv (Cornell University)|Jun 26, 2020
Adversarial Robustness in Machine LearningComputer Science5 citations
TL;DR

This paper proposes training deep neural networks with weighted loss functions that penalize misclassifications based on semantic similarity to human expectations, reducing inexplicable errors. By leveraging human-curated knowledge bases like WordNet to define class-level semantic distances, the method improves model explicability—especially for egregious failures—while maintaining high accuracy and reducing labeling costs compared to prior approaches.

ABSTRACT

Deep Neural Networks are often brittle on image classification tasks and known to misclassify inputs. While these misclassifications may be inevitable, all failure modes cannot be considered equal. Certain misclassifications (eg. classifying the image of a dog to an airplane) can perplex humans and result in the loss of human trust in the system. Even worse, these errors (eg. a person misclassified as a primate) can have odious societal impacts. Thus, in this work, we aim to reduce inexplicable errors. To address this challenge, we first discuss methods to obtain the class-level semantics that capture the human's expectation ($M^h$) regarding which classes are semantically close {\em vs.} ones that are far away. We show that for popular image benchmarks (like CIFAR-10, CIFAR-100, ImageNet), class-level semantics can be readily obtained by leveraging either human subject studies or publicly available human-curated knowledge bases. Second, we propose the use of Weighted Loss Functions (WLFs) to penalize misclassifications by the weight of their inexplicability. Finally, we show that training (or fine-tuning) existing classifiers with the proposed methods lead to Deep Neural Networks that have (1) comparable top-1 accuracy, (2) more explicable failure modes on both in-distribution and out-of-distribution (OOD) test data, and (3) incur significantly less cost in the gathering of additional human labels compared to existing works.

Motivation & Objective

  • To reduce inexplicable and potentially harmful misclassifications in deep neural networks, especially those that violate human expectations or societal norms.
  • To formalize the notion of explicability in classification failures by modeling human expectations about which class misclassifications are reasonable or egregious.
  • To develop a low-cost, scalable method for incorporating human-in-the-loop semantic expectations into DNN training without requiring instance-level labeling.
  • To improve model trustworthiness by aligning classifier failure modes with human perceptual and semantic understanding of similarity between classes.

Proposed method

  • The method represents human expectations about class similarity using semantic distance, derived from human subject studies or pre-existing linguistic knowledge bases such as WordNet.
  • It constructs a class-level semantic similarity matrix $ M^h $ that quantifies how close or distant one class is to another in human perception.
  • The paper proposes a novel weighted loss function, EKL (Explicability-aware Knowledge Loss), which assigns higher penalties to misclassifications into semantically distant classes.
  • The EKL loss is applied during training or fine-tuning of standard models (e.g., ResNet, Inception-ResNet-v2), modifying the standard categorical cross-entropy loss to reflect semantic distance.
  • The approach is evaluated on CIFAR-10, CIFAR-100, and ImageNet, using both hard and soft metrics to measure explicability.
  • Human evaluation via Amazon Mechanical Turk is used to validate that models trained with EKL are perceived as more explicable than those trained with standard CCE or other baselines.

Experimental results

Research questions

  • RQ1Can class-level semantic similarity derived from human-curated knowledge bases effectively represent human expectations about which misclassifications are explicable versus egregious?
  • RQ2How can a weighted loss function be designed to penalize semantically distant misclassifications more heavily, thereby steering the model toward more human-aligned failure modes?
  • RQ3Does training with such a loss function maintain high accuracy while significantly improving the explicability of failure modes on both in-distribution and out-of-distribution data?
  • RQ4To what extent do human evaluations confirm that models trained with the proposed method are perceived as more explicable than those trained with standard cross-entropy loss?

Key findings

  • On ImageNet, the EKL-trained Inception-ResNet-v2 model achieved a human evaluation score of 2.897, more than doubling the score of the standard CCE baseline (1.456), indicating significantly improved explicability.
  • Despite a 0.95% drop in top-1 accuracy, the EKL model showed substantial gains in explicability metrics, demonstrating that accuracy and explicability can be balanced effectively.
  • On CIFAR-10+, the EKL-trained ResNet-v2 model achieved a human evaluation score of 1.743, outperforming the CCE baseline (0.741) and showing consistent improvement in perceived reasonableness of errors.
  • Human evaluations confirmed that models trained with EKL are perceived as more explicable than those trained with CCE or other baselines, aligning with metric-based evaluations.
  • Gradient saliency analysis revealed that EKL models focus on more relevant image regions, suggesting improved attention to semantically meaningful features.
  • The method reduces labeling cost compared to instance-level human labeling approaches, as it relies on pre-existing class-level semantic knowledge rather than per-instance annotations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.