Interpretable Failure Detection with Human-Level Concepts

Kien X. Nguyen, Tang Li, Xi Peng

Introduction: The Problem of Overconfident Models

Deep learning models, while powerful, often suffer from a critical flaw: they don't know when they are wrong. In safety-critical applications like autonomous driving or medical diagnosis, this overconfidence can be dangerous. Traditional failure detection methods rely on a model's internal confidence scores, such as the Maximum Softmax Prediction (MSP). However, these scores are often inflated by spurious correlations—for instance, a model might misidentify a ship as a truck simply because it sees a paved dock that resembles a road.

Furthermore, these category-level signals are "black boxes." They provide a probability but offer no explanation for the underlying visual evidence. This paper introduces ORCA (Ordinal Ranking of Concept Activation), a framework that shifts the focus from coarse category labels to fine-grained, human-level visual concepts to improve both the reliability and transparency of failure detection.

Comparison between standard category-level predictions and ORCA's concept-level reasoning.

Methodology: From Categories to Concepts

ORCA leverages Vision-Language Models (VLMs) like CLIP to deconstruct image classification into a series of attribute-based checks. The process follows three main steps:

  1. Concept Collection: Using Large Language Models (LLMs), each class is broken down into descriptive visual attributes. For example, a "camel" is defined by concepts like "humps on back," "shaggy coat," and a "long curved neck."
  2. Concept Activation: When an image is processed, the system calculates similarity scores between the image and a broad library of these concepts across all possible categories.
  3. Ordinal Ranking (ORCA): The core innovation lies in how these activations are aggregated. The authors propose ORCA-R (Rank-aware), which applies a logarithmic weighting to the top-$K$ activated concepts. If the highest-ranked concepts are a consistent set belonging to the predicted class, confidence is high. If the top concepts are a "messy" mix from unrelated classes, ORCA flags a potential failure.
The ORCA pipeline: from image input to concept-based failure detection and interpretation.

Key Insights and Experimental Results

The Consistency Intuition

ORCA formalizes the intuition that a model is truly confident only when it sees a "package deal" of attributes. If a model predicts a camel but fails to detect "humps," its confidence score should drop. This approach allows ORCA to "catch" models being fooled by backgrounds or spurious features that might otherwise trigger a high category-level logit.

Performance and Efficiency

The researchers evaluated ORCA across diverse domains, including natural images (ImageNet-1K) and remote sensing data (EuroSAT). Key findings include:

  • Superior Failure Detection: ORCA consistently outperformed standard baselines like MSP, ODIN, and DOCTOR. On the EuroSAT dataset, it achieved a 9% reduction in the False Positive Rate (FPR@95TPR).
  • Zero-Shot Capability: Unlike many competing methods, ORCA requires no additional training or fine-tuning, making it a plug-and-play solution for pre-trained VLMs.
  • Optimal Weighting: Ablation studies revealed that logarithmic weighting is the most effective way to balance the importance of top-ranked concepts against supporting evidence from lower ranks.

Conclusion and Future Work

ORCA represents a significant step toward interpretable AI. By grounding model confidence in human-language concepts, it allows developers to see exactly why a model failed—for example, identifying that a "sky-like background" caused a misclassification. While the method's success depends on the quality of LLM-generated concepts and involves some computational overhead, its ability to provide transparent, reliable failure detection makes it a compelling tool for high-stakes machine learning applications.

Summary updated

BibTeX
@inproceedings{nguyen2025interpretable,
  author = {Kien X. Nguyen and Tang Li and Xi Peng},
  title = {{Interpretable Failure Detection with Human-Level Concepts}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i25.34831},
}
Figure