Introduction
Deep neural networks are frequently deployed in safety-critical domains such as autonomous driving and medical diagnostics. However, these models are often notoriously overconfident, providing high-certainty predictions even when incorrect or faced with out-of-distribution (OOD) data. While Deep Ensembles provide robust uncertainty estimates by comparing multiple models, their high computational cost during training and inference makes them impractical for real-time applications. Self-Distribution Distillation (S2D) addresses this by enabling a single model to estimate uncertainty as effectively as an ensemble at a fraction of the cost.
Methodology: Self-Distribution Distillation (S2D)
The core innovation of S2D is making a single network act as its own teacher ensemble. The architecture consists of a shared feature extraction backbone followed by two distinct branches: a stochastic teacher and a Dirichlet student.
- Stochastic Teacher: During training, the model utilizes stochastic regularization (e.g., multiplicative Gaussian noise) to generate $M$ different predictions for a single input. This "virtual ensemble" captures the model's internal uncertainty.
- Dirichlet Student: A student branch is trained to predict the parameters ($\alpha$) of a Dirichlet distribution. This distribution is optimized to match the spread and diversity of the teacher's $M$ stochastic predictions.
- Hierarchical Distillation (H2D): For higher-compute scenarios, the authors propose distilling an ensemble of S2D models into a single "Hierarchical" model (H2D-Gauss), which uses a Gaussian distribution over log-Dirichlet parameters to capture even greater predictive diversity.
Experimental Results
The researchers evaluated S2D on standard benchmarks, using CIFAR-100 for in-distribution training and datasets like LSUN and SVHN for OOD testing.
Calibration and Efficiency
A primary benefit of S2D is the drastic improvement in model calibration. On the CIFAR-100 dataset, a standard "Individual" model exhibited an Expected Calibration Error (ECE) of 11.95%. The S2D version reduced this to 2.54% while maintaining similar accuracy.
As shown in the table above, S2D models achieve OOD detection performance (AUROC) comparable to Monte Carlo (MC) Dropout ensembles but are approximately 5x faster during inference (2.3ms vs. 11.5ms). This efficiency allows for robust uncertainty decomposition—separating aleatoric (data noise) from epistemic (model ignorance) uncertainty—in a single forward pass.
Out-of-Distribution Detection
In OOD benchmarks, distilled H2D models frequently outperformed the Deep Ensembles they were designed to mimic. For instance, on the SVHN dataset, H2D-Dir and H2D-Gauss showed superior AUROC scores, demonstrating that the distillation process effectively captures the necessary diversity for identifying unseen data.
Conclusion and Future Work
Self-Distribution Distillation provides a path toward efficient, reliable uncertainty estimation in deep learning. By distilling internal stochasticity into a Dirichlet distribution, S2D bridges the gap between single-model efficiency and ensemble-level robustness. Future research may explore the application of S2D in Natural Language Processing and investigate the trade-offs of weight sharing to further enhance the diversity captured by the student branch.
Summary updated