From Softmax to Dirichlet: Evidential Learning for Semi-supervised Semantic Segmentation

Huayu Mai, Rui Sun, Yujia Chen, Wangkai Li, Bingzhou Wang, Aibing Li, Zhangyu He, Yuan WangCVPR 2026

TL;DR

Existing semi-supervised semantic segmentation methods rely on softmax confidence scores to filter pseudo-labels, but deep networks are notoriously overconfident, leading to noisy training. This paper introduces a novel evidential learning framework that models class probabilities as a Dirichlet distribution to provide principled uncertainty estimation. By further decoupling exclusive and collective evidence (HESS), the approach significantly improves pseudo-label selection and sets new performance standards across major benchmarks.

What Problem Does This Paper Address?

In semi-supervised semantic segmentation (S4), models leverage a small set of labeled data alongside a large pool of unlabeled data. The dominant paradigm uses a teacher-student framework: the teacher network generates "pseudo-labels" on unlabeled images, which then guide the student network's training.

To prevent the student from learning from incorrect pseudo-labels, standard practices apply a high threshold (e.g., >0.95) on the teacher's softmax confidence score. However, deep neural networks suffer from severe overconfidence—they can output exceptionally high softmax scores for completely incorrect predictions. As a result, standard filtering strategies inadvertently include a substantial amount of erroneous data, degrading the model's final performance.

Figure 1. Illustration of our motivation: (a) Softmax score-based methods rely on confidence scores to accept pseudo-labels, but they are prone to overconfidence, leading to incorrect pseudo-labeling. (b) Evidential-based methods employ the Dirichlet distribution over class probabilities to reject unreliable pseudo-labels, improving robustness. (c) The proposed Hyper-Evidential methods capture exhaustive evidence and model uncertainty more accurately, leading to better pseudo-label selection and robust training.

Methods

Instead of relying on point-estimate softmax scores, the authors shift to Evidential Learning (ESS), drawing from Dempster-Shafer Evidence Theory.

  1. From Softmax to Dirichlet: The traditional softmax layer is replaced with a ReLU activation layer to produce non-negative outputs, which are treated as "evidence" ($e$) gathered from the data. By placing a uniform Dirichlet distribution as a prior over the class probabilities, the network computes a posterior distribution parameterized directly by this collected evidence. This allows the model to capture second-order uncertainty directly from the distribution's flatness or concentration.
  2. Hyper-Evidential Learning (HESS): Standard evidential learning assumes classes are entirely mutually exclusive. However, real-world objects share visual patterns (e.g., a "wheel" pattern supports both "truck" and "bus"). HESS introduces a Hyper-Evidence Extractor that decouples exclusive evidence (supporting a single class) from collective evidence (supporting overlapping subsets of classes).
  3. Evidence Projection: To integrate back into standard classification frameworks, a fully connected layer maps these hyper-evidences back to basic class-level evidence. Because this mapping uses a non-differentiable unit step function, the authors employ a straight-through estimator to maintain end-to-end trainability.
  4. Dirichlet Cross-Entropy Loss: The training objective minimizes the expectation of cross-entropy loss over the Dirichlet distribution, utilizing Digamma functions to optimize the evidence accumulation process.
The HESS framework architecture, showing hyper-evidence extraction and projection to basic evidence for Dirichlet parameterization.

Datasets

The framework was evaluated on three widely recognized semantic segmentation benchmarks:

  • Pascal VOC 2012: An object-centric dataset containing 1,464 high-quality annotated images (and 9,118 coarse SBD masks) spanning 21 classes.
  • Cityscapes: A dataset focused on urban street scenes, consisting of 2,975 training images with high-resolution annotations across 19 categories.
  • COCO (2017 release): A large-scale, complex dataset comprising 118,287 annotated images across 81 distinct categories.

Key Insights and Ideas

  • Softmax is Not Uncertainty: Softmax scores represent a single point estimate of class probability, completely lacking the mathematical machinery to express how certain the model is about that estimate.
  • The Power of Collective Evidence: Ignoring the structural relationships between classes hurts uncertainty estimation. By explicitly accounting for shared inter-class features, HESS models structured ambiguity much more accurately than standard evidential methods.
  • Stronger Accuracy Correlation: Moving from softmax scores to hyper-evidential uncertainty increases the Pearson correlation coefficient with actual pseudo-label accuracy from 0.79 to 0.90. This tighter coupling ensures that when the model claims it is certain, it is far more likely to be correct.

Key Results

The authors integrated HESS into two state-of-the-art S4 baselines: UniMatch and UniMatch V2.

  • Pascal VOC: Under the highly constrained 1/16 data partition protocol (only 92 labeled images), HESS improved UniMatch by 2.3% mIoU and UniMatch V2 by 1.9% mIoU.
  • Cityscapes: In the 1/16 partition (186 labeled images), HESS delivered a 1.3% and 1.2% mIoU boost to UniMatch and UniMatch V2, respectively.
  • COCO: Consistently yielded performance gains across all data split ratios, demonstrating strong scalability to complex, multi-class environments.
Qualitative segmentation comparison showing how HESS handles cluttered backgrounds and complex boundaries more accurately.

Limitations and Future Work

While the paper demonstrates clear empirical success, a few limitations and avenues remain open:

  • Optimization of Hyper-Evidence Subsets: The mapping of hyper-evidence to class subsets relies on a learned fully connected layer handled via a straight-through estimator. More elegant, mathematically continuous, or structurally guided ways to define these class subsets could be explored.
  • Extension to Open-World Scenarios: The current framework assumes a closed set of classes. Extending hyper-evidential learning to open-set semi-supervised segmentation—where unlabeled data might contain entirely novel, unseen categories—presents an exciting future direction.

Summary updated

BibTeX
@inproceedings{mai2026from,
  author = {Huayu Mai and Rui Sun and Yujia Chen and Wangkai Li and Bingzhou Wang and Aibing Li and Zhangyu He and Yuan Wang},
  title = {{From Softmax to Dirichlet: Evidential Learning for Semi-supervised Semantic Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=ftbcomNVeN},
}
Figure