mlsanityData to 13 Oct 2026

Geometric Insights into Focal Loss: Reducing Curvature for Enhanced Model Calibration

arXiv 2405.00442 ↗First posted 1 May 2024stat.ML cs.AI cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

The key factor in implementing machine learning algorithms in decision-making situations is not only the accuracy of the model but also its confidence level. The confidence level of a model in a classification problem is often given by the output vector of a softmax function for convenience. However, these values are known to deviate significantly from the actual expected model confidence. This problem is called model calibration and has been studied extensively. One of the simplest techniques to tackle this task is focal loss, a generalization of cross-entropy by introducing one positive parameter. Although many related studies exist because of the simplicity of the idea and its formalization, the theoretical analysis of its behavior is still insufficient. In this study, our objective is to understand the behavior of focal loss by reinterpreting this function geometrically. Our analysis suggests that focal loss reduces the curvature of the loss surface in training the model. This indicates that curvature may be one of the essential factors in achieving model calibration. We design numerical experiments to support this conjecture to reveal the behavior of focal loss and the relationship between calibration performance and curvature.

Key facts. Cited by 2 papers in the map (data through 13 Oct 2026). Builds on 20 of its 33 references that are in the map. First posted on arXiv 1 May 2024.

Builds on

20 of 33 references.

References · 20

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,950
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,043
  3. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,321
  4. 2017On Calibration of Modern Neural Networkscited by 4,902
  5. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,786
  6. 2021A Survey of Uncertainty in Deep Neural Networkscited by 676
  7. 2021SWAD: Domain Generalization by Seeking Flat Minimacited by 431
  8. 2020Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detectioncited by 408
  9. 2020Calibrating Deep Neural Networks using Focal Losscited by 353
  10. 2022Mitigating Neural Network Overconfidence with Logit Normalizationcited by 251
  11. 2020Being Bayesian, Even Just a Bit, Fixes Overconfidence in ReLU Networkscited by 229
  12. 2021On Calibration and Out-of-domain Generalizationcited by 134
8 more
  1. 2020Improving model calibration with accuracy versus uncertainty optimizationcited by 123
  2. 2020Generalized Focal Loss V2: Learning Reliable Localization Quality Estimation for Dense Object Detectioncited by 104
  3. 2022Improving Generalization in Federated Learning by Seeking Flat Minimacited by 98
  4. 2015A Primer on Neural Network Models for Natural Language Processingcited by 76
  5. 2016A Strongly Quasiconvex PAC-Bayesian Boundcited by 54
  6. 2022Equalized Focal Loss for Dense Long-Tailed Object Detectioncited by 46
  7. 2023Dual Focal Loss for Calibrationcited by 33
  8. 2022AdaFocal: Calibration-aware Adaptive Focal Losscited by 32

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.