Position: Epistemic Artificial Intelligence is Essential for Machine Learning Models to Know When They Do Not Know

Shireen Kudukkil Manchingal, Fabio CuzzolinarXiv 2025 · DOI

Introduction

Despite the remarkable success of deep learning and Large Language Models (LLMs), current AI systems possess a critical flaw: they do not know when they are out of their depth. Most models are notoriously overconfident, often hallucinating or making high-stakes errors because they cannot distinguish between inherent randomness in data (aleatoric uncertainty) and their own lack of knowledge (epistemic uncertainty). This position paper argues for a paradigm shift toward Epistemic Artificial Intelligence, which utilizes second-order uncertainty measures to allow models to explicitly represent what they do not know, leading to dramatically improved robustness and safety.

The Problem of Overconfidence

Standard neural networks typically conflate different types of uncertainty. When a model encounters an "out-of-distribution" (OoD) sample—something entirely unlike its training data—it is still forced to rank its outputs, often resulting in high-confidence wrong answers. Existing solutions like Bayesian methods or Deep Ensembles are often either too computationally expensive for real-time applications (such as autonomous driving) or rely on "priors" that can inadvertently bias the model before it observes any data.

Methodology: Beyond Single Distributions

Epistemic AI moves beyond single probability distributions, which mathematically cannot represent total ignorance. For instance, in a three-class problem, a model might assign 33% to each class due to total ignorance or because the outcome is perfectly random. Epistemic AI breaks this ambiguity by outputting second-order uncertainty measures.

Conceptual comparison of uncertainty quantification methods on a probability simplex.

Key techniques discussed include:

  • Credal Sets: Representing uncertainty as a convex set of multiple possible probability distributions rather than a single point.
  • Random-Set Neural Networks: Using belief functions to assign "mass" to sets of labels. This allows a model to state "it is either a cat or a dog, but I truly do not know which" rather than guessing 50/50.
  • Epistemic Learning: A principle where the model is designed to learn from the data it cannot see, ensuring it maintains a "budget" for ignorance to avoid overconfidence.

Empirical Evaluation and Results

The researchers evaluated these approaches using large-scale benchmarks designed for robustness and OoD detection, including CIFAR-10, SVHN, ImageNet-A (adversarial), and ImageNet-O (out-of-distribution).

Out-of-Distribution (OoD) detection performance comparing Epistemic AI models against traditional competitors.

The empirical evidence highlights several advantages of Epistemic AI:

  • Superior OoD Detection: On CIFAR-10, Epistemic AI models (Credal, Random-set) consistently outperformed Bayesian and Ensemble methods in separating "known" from "unknown" data.
  • Better Calibration: Epistemic models achieved a superior trade-off between accuracy and Expected Calibration Error (ECE), ensuring their confidence levels accurately reflect their likelihood of being correct.
  • Computational Efficiency: One of the most significant findings is that high-quality uncertainty does not require massive ensembles. In a head-to-head comparison on ResNet50, the Epistemic: Random-Set model maintained an inference time of 1.91ms (identical to a standard model), while Deep Ensembles required 13,163ms, rendering them impractical for real-time use.

Discussion and Future Directions

The ultimate goal is to move toward a "Socratic AI" that follows the principle: "to know that you do not know." This is essential for safety-critical systems like autonomous vehicles or medical diagnostics. While promising, future research must address scaling these second-order measures to the massive vocabularies of LLMs and developing universal metrics for comparing uncertainty across different mathematical frameworks. Additionally, integrating Epistemic AI with symbolic reasoning could help models handle unforeseen situations by incorporating human-like logic about what is possible.

Summary updated

BibTeX
@misc{manchingal2025position,
  author = {Shireen Kudukkil Manchingal and Fabio Cuzzolin},
  title = {{Position: Epistemic Artificial Intelligence is Essential for Machine Learning Models to Know When They Do Not Know}},
  year = {2025},
  eprint = {2505.04950},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.04950},
}
Figure