On Focal Loss for Class-Posterior Probability Estimation: A Theoretical Perspective
Authors:
Preprint
Abstract
The focal loss has demonstrated its effectiveness in many real-world applications such as object detection and image classification, but its theoretical understanding has been limited so far. In this paper, we first prove that the focal loss is classification-calibrated, i.e., its minimizer surely yields the Bayes-optimal classifier and thus the use of the focal loss in classification can be theoretically justified. However, we also prove a negative fact that the focal loss is not strictly proper, i.e., the confidence score of the classifier obtained by focal loss minimization does not match the true class-posterior probability and thus it is not reliable as a class-posterior probability estimator. To mitigate this problem, we next prove that a particular closed-form transformation of the confidence score allows us to recover the true class-posterior probability. Through experiments on benchmark datasets, we demonstrate that our proposed transformation significantly improves the accuracy of class-posterior probability estimation.Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- Pulmonary Nodule Detection Based on ISODATA-Improved Faster RCNN and 3D-CNN with Focal LossACM Transactions on Multimedia Computing, Communications, and Applications, 2020
- Dense Convolutional Networks With Focal Loss and Image Generation for Electrocardiogram ClassificationIEEE Access, 2019
- Unifying Heterogeneous Classifiers With Distillation2019
- Drug-Drug Interaction Extraction via Recurrent Hybrid Convolutional Neural Networks with an Improved Focal LossEntropy, 2019
- Focal Loss for Dense Object DetectionIEEE Transactions on Pattern Analysis and Machine Intelligence, 2018
- Robust Loss Functions under Label Noise for Deep Neural NetworksProceedings of the AAAI Conference on Artificial Intelligence, 2017
- Deep Residual Learning for Image Recognition2016
- Strictly Proper Scoring Rules, Prediction, and EstimationJournal of the American Statistical Association, 2007
- Some aspects of probability forecastingCommunications in Statistics - Theory and Methods, 1992
- On optimum recognition error and reject tradeoffIEEE Transactions on Information Theory, 1970