From Uncertainty to Failure Attribution: Self-Diagnosing Models for Failure Attribution under Distribution Shift
cs.LG
Submitted: 2026-08-08
Updated: 2026-08-30
Comments: 12 pages, 8 figures, 3 tables
License: http://creativecommons.org/licenses/by-nc-nd/4.0/
The gist: Distribution shift poses a significant challenge to the robustness of machine learning models, but the current solutions only aim to detect out-of-distribution (OOD) samples and predict uncertainty
Terminology
Abstract
Distribution shift poses a significant challenge to the robustness of machine learning models, but the current solutions only aim to detect out-of-distribution (OOD) samples and predict uncertainty levels. We introduce a problem setting for failure attribution under distribution shift, which enables the models not only to detect OOD samples, but also to find out the reason for their failure. The solution we propose is called self-diagnosing models, which are capable of jointly learning predictive output, predictive uncertainty, and a failure attribution signal. In particular, we use the failure attribution vector, produced by a neural network, which provides a structured representation of predictive unreliability by distinguishing four different types of failures: covariance shift, semantic shift, noise corruption, and adversarial perturbation. In other words, we move from scalar uncertainty towards failure identification. For training the model, we introduce a consistency regularizer that encourages consistency between uncertainty and failure attribution predictions. Moreover, to be able to evaluate the model on its ability to find the reasons for failure, we construct several distribution shift benchmarks with predefined mechanisms for generating distribution shifts.
Sources
- Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learning
- A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networks
- Benchmarking Neural Network Robustness to Common Corruptions and Perturbations
- Deep Anomaly Detection with Outlier Exposure
- Simple and Scalable Predictive Uncertainty Estimation using Deep Ensembles
- A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attacks
- Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networks
- Energy-based Out-of-distribution Detection
- Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shift
- Bayesian Deep Learning and a Probabilistic Perspective of Generalization
- Generalized Out-of-Distribution Detection: A Survey
- Understanding Failures in Out-of-Distribution Detection with Deep Generative Models
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks