paper-with-me

Papers

Improving Calibration by Relating Focal Loss, Temperature Scaling, and Properness

2024-08-21 · Viacheslav Komisarenko, Meelis Kull

Proper losses such as cross-entropy incentivize classifiers to produce class probabilities that are well-calibrated on the training data. Due to the generalization gap, these classifiers tend to become overconfident on the test data, mandating calibration methods such as temperature scaling. The focal loss is not proper, but training with it has been shown to often result in classifiers that are better calibrated on test data. Our first contribution is a simple explanation about why focal loss training often leads to better calibration than cross-entropy training. For this, we prove that focal loss can be decomposed into a confidence-raising transformation and a proper loss. This is why focal loss pushes the model to provide under-confident predictions on the training data, resulting in being better calibrated on the test data, due to the generalization gap. Secondly, we reveal a strong connection between temperature scaling and focal loss through its confidence-raising transformation, which we refer to as the focal calibration map. Thirdly, we propose focal temperature scaling - a new post-hoc calibration method combining focal calibration and temperature scaling. Our experiments on three image classification datasets demonstrate that focal temperature scaling outperforms standard temperature scaling.

📄 PDF Abstract BibTeX arXiv:2408.11598

Code (1)

slavikkom/focal_temperature_scaling 공식 구현 pytorch

Tasks

image-classificationImage Classification

Methods 이 논문이 사용한 방법론

Focal Loss A Focal Loss function addresses class imbalance during training in tasks like object detection. Focal loss applies a modulating term to the cross entropy loss in order to…

Similar Papers 제목 키워드 기반

The Intriguing Effects of Focal Loss on the Calibration of Deep Neural Networks

2019-09-25 · Jishnu Mukhoti, Viveka Kulharia, Amartya Sanyal, Stuart Golodetz 외

Miscalibration -- a mismatch between a model's confidence and its correctness -- of Deep Neural Networks (DNNs) makes their predictions hard for downstream components to trust. Ideally, we want networks to be accurate, c…

Calibrating Deep Neural Networks using Focal Loss

2020-02-21 · NeurIPS 2020 12 · Jishnu Mukhoti, Viveka Kulharia, Amartya Sanyal, Stuart Golodetz 외

Miscalibration - a mismatch between a model's confidence and its correctness - of Deep Neural Networks (DNNs) makes their predictions hard to rely on. Ideally, we want networks to be accurate, calibrated and confident. W…

Does confidence calibration improve conformal prediction?

2024-02-06 · Huajun Xi, Jianguo Huang, Kangdao Liu, Lei Feng 외

Conformal prediction is an emerging technique for uncertainty quantification that constructs prediction sets guaranteed to contain the true label with a predefined probability. Previous works often employ temperature sca…

Conformal PredictionPredictionUncertainty Quantification

Uncertainty Weighted Gradients for Model Calibration

2025-03-26 · CVPR 2025 1 · Jinxu Lin, Linwei Tao, Minjing Dong, Chang Xu

Model calibration is essential for ensuring that the predictions of deep neural networks accurately reflect true probabilities in real-world classification tasks. However, deep networks often produce over-confident or un…

Attributemodel

Mask-TS Net: Mask Temperature Scaling Uncertainty Calibration for Polyp Segmentation

2024-05-09 · Yudian Zhang, Chenhao Xu, Kaiye Xu, Haijiang Zhu

Lots of popular calibration methods in medical images focus on classification, but there are few comparable studies on semantic segmentation. In polyp segmentation of medical images, we find most diseased area occupies o…

SegmentationSemantic Segmentation