Abstract: In this paper, we propose TEDL, a two-stage learning approach to quantify uncertainty for deep learning models in classification tasks, inspired by our findings in experimenting with Evidential Deep Learning (EDL) method, a recently proposed uncertainty quantification approach based on the Dempster-Shafer theory. More specifically, we observe that EDL tends to yield inferior AUC compared with models learnt by cross-entropy loss and is highly sensitive in training. Such sensitivity is likely to cause unreliable uncertainty estimation, making it risky for practical applications. To mitigate both limitations, we propose a simple yet effective two-stage learning approach based on our analysis on the likely reasons causing such sensitivity, with the first stage learning from cross-entropy loss, followed by a second stage learning from EDL loss. We also re-formulate the EDL loss by replacing ReLU with ELU to avoid the Dying ReLU issue. Extensive experiments are carried out on varied sized training corpus collected from a large-scale commercial search engine, demonstrating that the proposed two-stage learning framework can increase AUC significantly and greatly improve training robustness.
Introduction
Deep learning models are increasingly deployed in high-stakes environments where understanding the reliability of a prediction is as critical as the prediction itself. Standard models, however, are often "overconfident," providing high-probability scores even for incorrect classifications. Evidential Deep Learning (EDL) has emerged as a promising solution, using a single forward pass to estimate the parameters of a Dirichlet distribution. By modeling "evidence" for each class, EDL quantifies both aleatoric and epistemic uncertainty.
Despite its theoretical appeal, standard EDL faces two significant practical hurdles:
- Performance Degradation: It frequently results in a lower Area Under the Curve (AUC) compared to standard cross-entropy (CE) models.
- Training Instability: The method is highly sensitive to initialization and hyperparameters, often suffering from the "Dying ReLU" problem, which can lead to model collapse and unreliable uncertainty estimation.
The TEDL Framework
To address these limitations, we propose TEDL (Two-stage Evidential Deep Learning). This method decomposes the learning process into two distinct phases to stabilize optimization and recover predictive performance.
Two-Stage Learning
- Stage 1 (Pointwise Estimation): The model is initially trained using standard Cross-Entropy loss and a Softmax activation. This phase serves as a "warm-up," allowing the model to establish accurate point estimates for classification.
- Stage 2 (Uncertainty Quantification): The model is fine-tuned using the EDL loss. By starting from the weights learned in Stage 1, the model uses these "anchor points" to learn the distribution parameters (the "spread" of evidence) more effectively than starting from a random initialization.
Architectural Improvements
A key finding in our research was the liability of the ReLU activation in the EDL context. In EDL, a zero output from a neuron signifies "zero evidence," which can lead to infinite uncertainty and unstable gradients. We replace ReLU with ELU (Exponential Linear Unit). ELU ensures that a small gradient always exists, preventing neurons from "dying" and keeping the learning process alive.
Experimental Evaluation
We evaluated TEDL on a binary classification task: predicting query-ad relevance for a large-scale commercial search engine. The datasets included a human-labeled set of 1.4M pairs and synthetic sets ranging from 1M to 500M samples, generated via knowledge distillation from a BERT ensemble.
Key Results
Our experiments demonstrate that TEDL successfully bridges the performance gap between EDL and standard CE models.
- AUC Performance: Across all data scales, TEDL achieved AUC scores comparable to the CE baseline, significantly outperforming standard EDL. For example, on the 50M sample set, TEDL matched the ~0.890 AUC of the CE model, whereas standard EDL lagged significantly behind.
- Robustness: TEDL showed remarkable stability across various hyperparameter settings (specifically the $\lambda$ parameter used for uncertainty regularization), whereas standard EDL often failed or converged to random guessing (AUC ~0.5) when $\lambda$ was poorly tuned.
Conclusion
TEDL provides a robust and effective framework for uncertainty quantification in deep classification models. By separating point estimation from distribution learning and introducing the ELU activation, TEDL overcomes the inherent instabilities of standard EDL. Future work will explore the application of TEDL's high-quality uncertainty estimates in active learning scenarios to optimize data labeling efforts.
Summary updated