Do not trust what you trust: Miscalibration in Semi-supervised Learning

Shambhavi Mishra, Balamurali Murugesan, Ismail Ben Ayed, Marco Pedersoli, Jose Dolz
3/22/2024
cs.LGcs.CV

No official code found. Best implementation: shambhavicodes/miscalibration-ssl (5 stars, MIT, last commit 2024-10-11).

Abstract

State-of-the-art semi-supervised learning (SSL) approaches rely on highly confident predictions to serve as pseudo-labels that guide the training on unlabeled samples. An inherent drawback of this strategy stems from the quality of the uncertainty estimates, as pseudo-labels are filtered only based on their degree of uncertainty, regardless of the correctness of their predictions. Thus, assessing and enhancing the uncertainty of network predictions is of paramount importance in the pseudo-labeling process. In this work, we empirically demonstrate that SSL methods based on pseudo-labels are significantly miscalibrated, and formally demonstrate the minimization of the min-entropy, a lower bound of the Shannon entropy, as a potential cause for miscalibration. To alleviate this issue, we integrate a simple penalty term, which enforces the logit distances of the predictions on unlabeled samples to remain low, preventing the network predictions to become overconfident. Comprehensive experiments on a variety of SSL image classification benchmarks demonstrate that the proposed solution systematically improves the calibration performance of relevant SSL models, while also enhancing their discriminative power, being an appealing addition to tackle SSL tasks.

View on arXivView PDF

Code Implementations(1)

MIT

Repository for Do not trust what you trust: Miscalibration in Semi-supervised Learning : Accepted at TMLR (Transactions on Machine Learning Research)

50Python, DockerfileMar 20, 20242 years agoMIT

Similar Papers

Cite this paper

@article{mishra2024trust,
  title  = {Do not trust what you trust: Miscalibration in Semi-supervised Learning},
  author = {Shambhavi Mishra and Balamurali Murugesan and Ismail Ben Ayed and Marco Pedersoli and Jose Dolz},
  year   = {2024},
  eprint = {2403.15567},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.15567v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.15567.svg)](https://codeofpaper.com/paper/2403.15567)

Discussion