mlsanityData to 14 Oct 2026

AdaFocal: Calibration-aware Adaptive Focal Loss

arXiv 2211.11838 ↗First posted 21 Nov 2022cs.LG cs.CVcited by 32

Not on the map. Why?

Abstract (arXiv)

Much recent work has been devoted to the problem of ensuring that a neural network's confidence scores match the true probability of being correct, i.e. the calibration problem. Of note, it was found that training with focal loss leads to better calibration than cross-entropy while achieving similar level of accuracy citemukhoti2020. This success stems from focal loss regularizing the entropy of the model's prediction (controlled by the parameter γ), thereby reining in the model's overconfidence. Further improvement is expected if γ is selected independently for each training sample (Sample-Dependent Focal Loss (FLSD-53) citemukhoti2020). However, FLSD-53 is based on heuristics and does not generalize well. In this paper, we propose a calibration-aware adaptive focal loss called AdaFocal that utilizes the calibration properties of focal (and inverse-focal) loss and adaptively modifies γt for different groups of samples based on γt-1 from the previous step and the knowledge of model's under/over-confidence on the validation set. We evaluate AdaFocal on various image recognition and one NLP task, covering a wide variety of network architectures, to confirm the improvement in calibration while achieving similar levels of accuracy. Additionally, we show that models trained with AdaFocal achieve a significant boost in out-of-distribution detection.

Key facts. Cited by 32 papers in the map (data through 14 Oct 2026). Builds on 19 of its 41 references that are in the map. First posted on arXiv 21 Nov 2022.

Builds on

19 of 41 references.

References · 19

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  4. 2016Densely Connected Convolutional Networkscited by 6,720
  5. 2017On Calibration of Modern Neural Networkscited by 4,960
  6. 2016Wide Residual Networkscited by 3,070
  7. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
  8. 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,287
  9. 2019When Does Label Smoothing Help?cited by 988
  10. 2013Network In Networkcited by 605
  11. 2019Beyond temperature scaling: Obtaining well-calibrated multiclass probabilities with Dirichlet calibrationcited by 364
  12. 2020Calibrating Deep Neural Networks using Focal Losscited by 357
7 more
  1. 2019Verified Uncertainty Calibrationcited by 309
  2. 2020Mix-n-Match: Ensemble and Compositional Methods for Uncertainty Calibration in Deep Learningcited by 190
  3. 2019Evaluating model calibration in classificationcited by 168
  4. 2020Mitigating Bias in Calibration Error Estimationcited by 101
  5. 2020Calibration of Neural Networks using Splinescited by 97
  6. 2015Posterior calibration and exploratory analysis for natural language processing modelscited by 76
  7. 2015Binary Classifier Calibration using an Ensemble of Near Isotonic Regression Modelscited by 21

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 1; 2023: 5; 2024: 6; 2025: 14; 2026: 6.

32 papers.

Sort:

By area:

  1. 2023Dual Focal Loss for Calibrationcited by 33
  2. 2023RankMixup: Ranking-Based Mixup Training for Network Calibrationcited by 19
  3. 2023ACLS: Adaptive and Conditional Label Smoothing for Network Calibrationcited by 15
  4. 2024A Short Survey on Importance Weighting for Machine Learningcited by 15
  5. 2024Feature Clipping for Uncertainty Calibrationcited by 8
  6. 2024Selective Learning: Towards Robust Calibration with Dynamic Regularizationcited by 5
  7. 2025Variational Supervised Contrastive Learningcited by 5
  8. 2024Improving Calibration by Relating Focal Loss, Temperature Scaling, and Propernesscited by 4
  9. 2025T-CIL: Temperature Scaling using Adversarial Perturbation for Calibration in Class-Incremental Learningcited by 4
  10. 2023Model Calibration in Dense Classification with Adaptive Label Perturbationcited by 3
  11. 2025Balancing Two Classifiers via A Simplex ETF Structure for Model Calibrationcited by 3
  12. 2022Selective classification using a robust meta-learning approachcited by 2
20 more
  1. 2024Geometric Insights into Focal Loss: Reducing Curvature for Enhanced Model Calibrationcited by 2
  2. 2024Enhancing Financial Market Predictions: Causality-Driven Feature Selectioncited by 2
  3. 2025Towards Understanding The Calibration Benefits of Sharpness-Aware Minimizationcited by 2
  4. 2023Towards Unbiased Calibration using Meta-Regularizationcited by 1
  5. 2025Enhance GNNs with Reliable Confidence Estimation via Adversarial Calibration Learningcited by 1
  6. 2025Probability Bounding: Post-Hoc Calibration via Box-Constrained Softmaxcited by 1
  7. 2025Deep Neural Network Calibration by Reducing Classifier Shift with Stochastic Maskingcited by 1
  8. 2026FedLAS: Feature-Modulated Bidirectional Label Smoothing for Neural Network Calibrationcited by 1
  9. 2025A Guide to Failure in Machine Learning: Reliability and Robustness from Foundations to Practicecited by 0
  10. 2025Revisiting Reweighted Risk for Calibration: AURC, Focal, and Inverse Focal Losscited by 0
  11. 2025An Enhanced Focal Loss Function to Mitigate Class Imbalance in Auto Insurance Fraud Detection with Explainable AIcited by 0
  12. 2025DATS: Distance-Aware Temperature Scaling for Calibrated Class-Incremental Learningcited by 0
  13. 2025Calibrating the Full Predictive Class Distribution of 3D Object Detectors for Autonomous Drivingcited by 0
  14. 2025Learning to Retrieve with Weakened Labels: Robust Training under Label Noisecited by 0
  15. 2025Deep Probabilistic Supervision for Image Classificationcited by 0
  16. 2026Functional Properties of the Focal-Entropycited by 0
  17. 2026Generative Cross-Entropy: A Strictly Proper Loss for Data-Efficient Classificationcited by 0
  18. 2026Socrates Loss: Unifying Confidence Calibration and Classification by Leveraging the Unknowncited by 0
  19. 2026Enhancing Deep Neural Network Reliability with Refinement and Calibrationcited by 0
  20. 2026How to Estimate Whether You Have Found Several Needles in a Haystack: Measuring Calibration in Multi-Label Text Classificationcited by 0