Deep Neural Network Calibration by Reducing Classifier Shift with Stochastic Masking

Jiani Ni, He Zhao, Yibo Yang, Dandan Guo
8/12/2025
cs.LG

No confident code implementation found for this paper.

Abstract

In recent years, deep neural networks (DNNs) have shown competitive results in many fields. Despite this success, they often suffer from poor calibration, especially in safety-critical scenarios such as autonomous driving and healthcare, where unreliable confidence estimates can lead to serious consequences. Recent studies have focused on improving calibration by modifying the classifier, yet such efforts remain limited. Moreover, most existing approaches overlook calibration errors caused by underconfidence, which can be equally detrimental. To address these challenges, we propose MaC-Cal, a novel mask-based classifier calibration method that leverages stochastic sparsity to enhance the alignment between confidence and accuracy. MaC-Cal adopts a two-stage training scheme with adaptive sparsity, dynamically adjusting mask retention rates based on the deviation between confidence and accuracy. Extensive experiments show that MaC-Cal achieves superior calibration performance and robustness under data corruption, offering a practical and effective solution for reliable confidence estimation in DNNs.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ni2025deep,
  title  = {Deep Neural Network Calibration by Reducing Classifier Shift with Stochastic Masking},
  author = {Jiani Ni and He Zhao and Yibo Yang and Dandan Guo},
  year   = {2025},
  eprint = {2508.09116},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.09116v1}
}

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/2508.09116.svg)](https://codeofpaper.com/paper/2508.09116)

Discussion