Things Machine Learning Models Know That They Don't Know

Salvatore Ruggieri, Andrea Pugnana

Introduction

Standard machine learning models often operate as "black boxes," providing predictions for every input regardless of its quality or relevance to the training data. In high-stakes domains like medicine or finance, an overconfident but incorrect prediction can lead to catastrophic outcomes. This paper provides a comprehensive survey of strategies for building "risk-aware" models that can recognize their own limitations and take consequential actions to maintain trust and accountability.

The Challenge of Risk-Awareness

The core challenge lies in distinguishing between different types of uncertainty. Aleatoric uncertainty refers to inherent randomness in the data (e.g., a blurry image), while epistemic uncertainty stems from a lack of knowledge (e.g., encountering a completely new category of data). A model that "knows what it doesn't know" can take specific actions—such as abstaining, deferring to a human, or providing a rigorous uncertainty estimate—rather than making a blind guess.

Methodological Pillars for Handling Uncertainty

The authors synthesize decades of research into a unified framework, categorizing model responses into four primary pillars:

1. Abstaining (Rejection)

The most direct way to handle uncertainty is for the model to refuse to make a prediction. The paper distinguishes between two types of rejection:

  • Ambiguity Rejection: The model identifies instances near the decision boundary where data is inherently messy (aleatoric uncertainty). This is often formalized through Selective Prediction or cost-based Learning to Reject.
  • Novelty Rejection: The model detects "out-of-distribution" (OOD) data that it was not trained to handle (epistemic uncertainty) using techniques like density estimation.
Comparison of standard classification, ambiguity rejection, and novelty rejection strategies.

2. Dynamic Model Selection

Instead of a binary choice to predict or abstain, the system selects the most competent model from a hierarchy. For instance, a simple, efficient model might handle easy cases, while a complex, resource-intensive model is reserved for difficult or ambiguous instances.

3. Learning to Defer (LtD)

This hybrid approach involves a model deciding whether to provide a prediction or hand the case to a human expert. This requires modeling both the AI's confidence and the human's specific expertise, ensuring the system complements human strengths rather than just replicating them.

4. Uncertainty Estimation

When an output is required, the model provides a measure of its confidence. The paper highlights Conformal Prediction as a robust method for generating "set-valued predictions" (e.g., "The result is likely A or B") with mathematical guarantees, avoiding the need for strong statistical assumptions.

Key Insights

  • Taxonomy of Uncertainty: Distinguishing between ambiguity (messy data) and novelty (new data) is vital because they require different mathematical treatments.
  • Human-AI Synergy: Models trained to be universally accurate may perform worse when paired with humans than models specifically trained to complement human strengths and weaknesses.
  • The Fairness Trap: Allowing models to abstain can inadvertently magnify accuracy disparities. Selective classification may lead a model to "give up" more often on marginalized populations, creating a new dimension of algorithmic bias.

Future Frontiers

While progress has been made, several challenges remain for the research community:

  • Explainability: Models must be able to explain why they are rejecting an input or deferring to a human.
  • Human Factors: We need to better understand the cognitive biases induced when an AI defers a decision to a human operator.
  • Robustness: The "selector" mechanism that identifies uncertainty must itself be robust and unbiased; if the safety net fails, the entire system becomes unreliable.

Summary updated

BibTeX
@inproceedings{ruggieri2025things,
  author = {Salvatore Ruggieri and Andrea Pugnana},
  title = {{Things Machine Learning Models Know That They Don't Know}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i27.35094},
}
Figure