Deep Ensembles is a method for uncertainty quantification that trains multiple neural networks with different random initializations and uses the variance of their predictions as a robust signal for detecting unknown inputs. By treating the ensemble's disagreement as a measure of epistemic uncertainty, the system can reliably flag out-of-distribution samples where individual models produce conflicting, high-entropy outputs.
Glossary
Deep Ensembles

What is Deep Ensembles?
A robust method for estimating predictive uncertainty in neural networks by aggregating the outputs of multiple independently trained models.
This approach directly addresses the overconfidence of single networks in open set recognition tasks. Unlike a single model that may extrapolate wildly on novel modulation schemes, the ensemble's predictive diversity creates a natural rejection boundary. The technique is a cornerstone of robust out-of-distribution detection, providing a computationally tractable alternative to full Bayesian neural networks for safety-critical spectrum monitoring.
Key Features of Deep Ensembles
Deep Ensembles provide a principled Bayesian-inspired framework for quantifying predictive uncertainty by aggregating the outputs of multiple independently trained neural networks.
Random Initialization Diversity
The core mechanism relies on training multiple copies of the same architecture with different random seeds. This induces distinct convergence paths in the loss landscape, causing each model to learn slightly different functional modes. The resulting functional diversity is what captures epistemic uncertainty, as models disagree most in regions far from the training data.
Variance as Uncertainty Signal
For an input, the ensemble computes the predictive variance across all member outputs. High variance indicates epistemic uncertainty—the model lacks knowledge about this region of input space. This serves as a robust detection statistic for unknown modulation schemes:
- Low variance: Confident, in-distribution prediction
- High variance: Novel or ambiguous input, flagged for rejection
Decomposition of Predictive Uncertainty
Deep Ensembles naturally decompose total predictive uncertainty into its constituent parts:
- Aleatoric uncertainty: Inherent noise in the data, captured by each model's output variance
- Epistemic uncertainty: Model ignorance, captured by the disagreement between models This decomposition is critical for open set recognition, where epistemic uncertainty spikes on unknown modulation types.
Adversarial Training Integration
Ensemble members can be individually hardened with adversarial training to improve robustness. By training each member on slightly different adversarial perturbation budgets or attack types, the ensemble achieves collective robustness that exceeds any single model. The variance across members also helps detect adversarial evasion attempts in real-time spectrum monitoring.
Computational Overhead Tradeoffs
The primary cost is linear scaling with ensemble size: N models require N times the memory and inference compute. Mitigation strategies include:
- Shared feature extractors with diverse classification heads
- Batch ensemble methods that fuse multiple weight sets into a single forward pass
- Distillation of the ensemble's predictive distribution into a single compact student model
Comparison to Bayesian Neural Networks
Deep Ensembles often outperform explicit Bayesian Neural Networks (BNNs) in uncertainty quality benchmarks while being far simpler to implement. Unlike BNNs requiring complex variational inference or MCMC sampling, ensembles use standard training pipelines. Research shows ensembles provide a non-parametric approximation to the posterior predictive distribution without the convergence difficulties of variational methods.
Frequently Asked Questions
Addressing common technical questions about using ensembles of neural networks for uncertainty quantification and unknown signal detection in automatic modulation classification.
A deep ensemble is an uncertainty quantification technique that trains multiple neural networks with different random initializations on the same dataset and uses the statistical variance of their predictions as a robust signal for detecting unknown inputs. Unlike a single model that may produce overconfident predictions, an ensemble of M networks, each parameterized by θ_m, generates a set of probability vectors {p(y|x, θ_m)}. The epistemic uncertainty is computed as the variance or entropy of this predictive distribution. In the context of automatic modulation classification, when an unknown modulation type is received, each network in the ensemble will disagree and produce divergent predictions, resulting in high variance. This disagreement is a direct measure of the model's lack of knowledge, which is reducible by adding that novel signal to the training set. The final prediction is the average of the ensemble's outputs, and the uncertainty is the spread around that average.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Deep Ensembles are a foundational technique for quantifying predictive uncertainty. The following concepts are essential for understanding how variance across multiple models is used to detect unknown modulation schemes.
Epistemic Uncertainty
The reducible uncertainty stemming from a lack of knowledge about the optimal model parameters. Deep Ensembles explicitly capture this by measuring the disagreement between individual network predictions. In open-set signal recognition, high epistemic uncertainty signals that an input falls in a region of the feature space not well-covered by the training data, making it a robust trigger for novelty detection.
Aleatoric Uncertainty
The irreducible statistical noise inherent in the data itself, such as sensor thermal noise or low signal-to-noise ratio (SNR) conditions. Unlike epistemic uncertainty, it cannot be reduced by collecting more training samples. A Deep Ensemble's mean prediction captures the model's best estimate, while the remaining variance in the output can be decomposed to separate this data noise from the model's own ignorance.
Monte Carlo Dropout
An alternative uncertainty quantification method that performs multiple stochastic forward passes through a single network with dropout enabled at test time. While computationally cheaper than training multiple models, it often provides a less calibrated uncertainty estimate for open-set tasks. Deep Ensembles typically outperform MC Dropout because they explore fundamentally different modes of the loss landscape rather than sampling around a single one.
Confidence Calibration
The process of aligning a model's predicted probability with the actual empirical likelihood of being correct. Deep Ensembles naturally produce better-calibrated probabilities than single networks. A well-calibrated ensemble ensures that a low confidence score is a reliable indicator of an out-of-distribution input, preventing the system from making overconfident misclassifications on novel modulation types.
Random Initialization & SGD
The practical mechanism that makes Deep Ensembles effective. Each network in the ensemble is trained from a different random weight initialization and sees a different stochastic gradient descent (SGD) path due to data shuffling. This simple procedure causes the models to converge to distinct, functionally diverse solutions in the loss landscape, providing the decorrelated predictions necessary for robust variance estimation.

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us