Abstract
While most explainable AI (XAI) focuses on why a model made a specific prediction, this research introduces a pipeline to explain why a model is uncertain. By leveraging Concept Activation Vectors (CAVs), the authors provide human-interpretable "concepts"—such as unstructured noise or specific background features—that trigger model confusion. This approach allows developers to diagnose data flaws and improve model reliability beyond simple numerical uncertainty scores.
Introduction: The Need for Uncertainty Explanations
Deep learning models are often "black boxes" that fail silently or with high confidence in incorrect regions. While Uncertainty Quantification (UQ) provides a numerical score of a model's "unsureness," it lacks the diagnostic power to explain the underlying cause.
Existing XAI methods, such as saliency maps or feature attribution, typically explain the prediction itself (e.g., "this is a dog because of the ears"). However, when a model is uncertain, practitioners need to know if the cause is poor image quality (e.g., blurriness), environmental factors (e.g., bad lighting), or novel data (Out-of-Distribution). Current methods are often restricted to local, pixel-level explanations and fail to provide a "global" view of the concepts that consistently confuse a model across a dataset.
Methodology: The Four-Step Pipeline
The authors propose a structured pipeline to transform raw uncertainty scores into human-interpretable concepts.
- Quantification: Standard techniques like MC Dropout are used to generate uncertainty metrics (e.g., Shannon Entropy) for a given set of inputs.
- Discretization: A Gaussian Mixture Model (GMM) automatically clusters data points into "Certain" (CER) and "Uncertain" (UNC) groups.
- Concept Extraction: Non-negative Matrix Factorization (NMF) is applied to the activations of a foundation model (e.g., ResNet-50 or BERT). This process extracts "concept banks"—mathematical representations of recurring patterns, such as image patches or text snippets, found within the uncertain samples.
- Importance Attribution: Sobol Indices, a sensitivity analysis technique, are employed to determine which extracted concepts are the primary drivers of the observed uncertainty.
The novelty of this approach lies in applying concept-extraction tools specifically to the uncertainty distribution rather than the class prediction output.
Experimental Evaluation
The researchers evaluated their approach across computer vision and natural language processing tasks using several datasets:
- ImageWoof & Imagenette: Subsets of ImageNet for fine-grained classification.
- NINCO: A dataset for Out-of-Distribution (OOD) detection.
- Bias in Bios: A text dataset used to detect gender bias in professional biography classification.
- Synthetic Noise: Various noise types (Gaussian blur, motion blur) were added to test the model's ability to distinguish "unusable" noisy data from "useful" OOD data.
Key Insights and Results
Distinguishing Types of Uncertainty
The method effectively distinguishes between "unstructured noise" (e.g., a blurry lens) and "structured OOD" data (e.g., a previously unseen dog breed). This distinction is vital for active learning; it enables systems to prioritize retraining on novel, structured data while ignoring unusable, noisy samples.
Global Explanations and Fairness
Unlike local saliency maps, this method identifies concepts causing uncertainty across the entire dataset. For instance, it might reveal that "water backgrounds" consistently confuse a land animal classifier. In the "Bias in Bios" task, the pipeline identified that uncertainty in "physician" classifications was often triggered by female pronouns, revealing a hidden gender bias. Intervening on these identified concepts improved the Equalized Odds fairness metric by 0.0027.
Performance Metrics
In data filtering experiments, the NMF-based method significantly outperformed standard uncertainty measures. It achieved an average AUC of 88.4 for identifying useful retraining data, compared to 79.9 for standard Entropy. Additionally, the "Weighted" concept approach yielded superior Accuracy-Rejection curves, demonstrating a better calibration of when the model is likely to be incorrect.
Limitations and Future Work
Despite its success, the framework has several limitations. The NMF process is sensitive to a fixed "patch size," which may miss very fine-grained or very global sources of uncertainty. Furthermore, the Sobol Indices used for importance estimation can be sensitive to high variance in the underlying uncertainty measure.
Future work will focus on automating the labeling of extracted concepts, which currently requires human interpretation, and conducting user studies to verify the practical utility of these explanations for human experts.
Summary updated