Inferensys

Glossary

Evidence Deep Learning

A framework that treats classification predictions as subjective opinions by placing a Dirichlet distribution over class probabilities, enabling the direct quantification of predictive uncertainty for novelty detection.
Governance lead reviewing model governance framework on laptop, policy documents visible, executive office setup.
PREDICTIVE UNCERTAINTY QUANTIFICATION

What is Evidence Deep Learning?

Evidence Deep Learning is a framework that replaces the point-estimate output of a standard SoftMax classifier with a Dirichlet distribution over class probabilities, enabling the direct quantification of predictive uncertainty for robust novelty detection.

Evidence Deep Learning treats a neural network's classification output not as a single probability vector, but as subjective opinion evidence that parameterizes a Dirichlet distribution. This distribution models a second-order probability, allowing the model to express epistemic uncertainty—a lack of knowledge—when encountering inputs from unknown modulation schemes that fall far from the training data manifold.

By minimizing a specific evidence-based loss function (such as the sum of squares or log-likelihood of the Dirichlet), the network learns to inflate the total evidence mass for confident, in-distribution predictions and shrink it toward zero for unfamiliar inputs. The resulting uncertainty mass directly serves as a rejection score for open set signal recognition, enabling reliable novelty detection without requiring a separate out-of-distribution detector.

PREDICTIVE UNCERTAINTY

Key Features of Evidence Deep Learning

Evidence Deep Learning replaces point-estimate SoftMax probabilities with a Dirichlet distribution, transforming classifier outputs into quantifiable subjective opinions that explicitly separate epistemic uncertainty from data uncertainty.

01

Dirichlet Prior Network Architecture

The core innovation is replacing the final SoftMax layer with an activation function (e.g., softplus or exponential) that outputs the concentration parameters (α) of a Dirichlet distribution. Instead of a single probability vector, the network predicts a distribution over distributions. The total evidence, calculated as the sum of concentration parameters, directly quantifies the model's confidence. A high evidence total indicates strong support for a known class, while a low total signals high epistemic uncertainty—a key indicator of an unknown modulation scheme.

02

Subjective Logic & Belief Mass

This framework formalizes predictions as subjective opinions using Dempster-Shafer theory. The model's output is decomposed into:

  • Belief Mass: The probability assigned to each known class, derived from the Dirichlet evidence.
  • Uncertainty Mass: A scalar value representing the vacuity of the prediction, calculated as the total number of classes divided by the total evidence. This uncertainty mass is the direct signal for open set recognition, allowing the system to explicitly state 'I don't know' when encountering a novel modulation type, rather than forcing a spurious classification.
03

Uncertainty Disentanglement

Evidence Deep Learning uniquely separates two critical types of uncertainty:

  • Epistemic Uncertainty: The model's ignorance due to lack of knowledge, reflected in low total evidence. This is reducible with more training data and is the primary metric for detecting out-of-distribution signals.
  • Aleatoric Uncertainty: The inherent, irreducible noise in the data (e.g., low SNR), captured by the spread of the Dirichlet distribution. By monitoring both, a cognitive radio system can distinguish between a genuinely new modulation (high epistemic, low aleatoric) and a known modulation in a noisy channel (low epistemic, high aleatoric), enabling more intelligent spectrum management.
04

Loss Function: Type II Maximum Likelihood

Training a Dirichlet network requires a specialized loss function that fits the concentration parameters to the data. The standard approach minimizes the negative log-likelihood of the Dirichlet distribution, known as a Type II Maximum Likelihood loss. This is often regularized with a Kullback-Leibler (KL) divergence term that penalizes misleading evidence for incorrect classes. The KL term forces the network to produce zero evidence for non-target classes, ensuring that high uncertainty is a true signal of novelty rather than a byproduct of conflicting evidence.

05

Contrastive Outlier Exposure for Evidence

To sharpen the distinction between known and unknown classes, training can be augmented with outlier exposure. An auxiliary dataset of diverse background signals is introduced. The loss function is modified to force the network to produce a uniform Dirichlet prior (zero evidence) for these outlier samples. This contrastive approach teaches the model to actively map unknown signals to a high-uncertainty, low-evidence region of the simplex, creating a more robust rejection boundary than standard SoftMax-based Out-of-Distribution Detection methods like ODIN.

06

Rejection via Uncertainty Thresholding

At inference time, novelty detection is a simple, interpretable operation. The model's predicted uncertainty mass is compared against a calibrated threshold. If the uncertainty exceeds the threshold, the sample is rejected as unknown. This threshold can be tuned to balance the Open Set Classification Rate, trading off between known-class accuracy and unknown-class recall without retraining the model. This direct access to a rejection score is a significant advantage over methods that require post-hoc calibration of SoftMax probabilities.

EVIDENCE DEEP LEARNING

Frequently Asked Questions

Clear, technically precise answers to the most common questions about using Dirichlet-based subjective logic for open set signal recognition and uncertainty quantification.

Evidence Deep Learning (EDL) is a framework that replaces the point-estimate output of a standard SoftMax classifier with a Dirichlet distribution over class probabilities, treating the model's prediction as a subjective opinion rather than a single probability vector. Unlike a standard neural network that outputs a degenerate probability distribution, an EDL model outputs the parameters of a Dirichlet distribution—specifically, evidence quantities for each class. This evidence, conceptually analogous to observed counts, directly quantifies the epistemic uncertainty of the prediction. A standard SoftMax model cannot distinguish between a confident misclassification and an input from an unknown class; it will simply output a high probability for whichever known class is closest. EDL, by contrast, will produce a flat, high-entropy Dirichlet distribution with low total evidence for an out-of-distribution sample, explicitly signaling 'I don't know.' This makes EDL a principled, end-to-end trainable method for open set signal recognition and novelty detection without requiring a separate outlier exposure dataset or complex post-hoc scoring mechanisms.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.