Focal Loss for Dense Object Detection
The DOI matches its Crossref record; 40 of the 40 references it cites were found in a registry or an index.
Abstract
The highest accuracy object detectors to date are based on a two-stage approach popularized by R-CNN, where a classifier is applied to a sparse set of candidate object locations. In contrast, one-stage detectors that are applied over a regular, dense sampling of possible object locations have the potential to be faster and simpler, but have trailed the accuracy of two-stage detectors thus far. In this paper, we investigate why this is the case. We discover that the extreme foreground-background class imbalance encountered during training of dense detectors is the central cause. We propose to address this class imbalance by reshaping the standard cross entropy loss such that it down-weights the loss assigned to well-classified examples. Our novel Focal Loss focuses training on a sparse set of hard examples and prevents the vast number of easy negatives from overwhelming the detector during training. To evaluate the effectiveness of our loss, we design and train a simple dense detector we call RetinaNet. Our results show that when trained with the focal loss, RetinaNet is able to match the speed of previous one-stage detectors while surpassing the accuracy of all existing state-of-the-art two-stage detectors.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“Under similar accuracy constraint, our EfficientDet uses 28x fewer FLOPs than YOLOv3 [34], 30x fewer FLOPs than RetinaNet [24], and 19x fewer FLOPs than the recent ResNet based NAS-FPN [10].”
From EfficientDet: Scalable and Efficient Object Detection (2019) · cites this paper as [24]
In the citing paper
“Compared to RetinaNet [24] and Mask-RCNN [13], our EfficientDet achieves similar accuracy with up to 8x fewer parameters and 21x fewer FLOPs.”
From EfficientDet: Scalable and Efficient Object Detection (2019) · cites this paper as [24]
In the citing paper
“(3) compared to the default 37 AP [24], our reproduced RetinaNet achieves higher accuracy (+2AP) using our training settings.”
From EfficientDet: Scalable and Efficient Object Detection (2019) · cites this paper as [24]
In the citing paper
“For example, the latest AmoebaNet-based NASFPN detector [45] requires 167M parameters and 3045B FLOPs (30x more than RetinaNet [24]) to achieve state-ofthe-art accuracy.”
From EfficientDet: Scalable and Efficient Object Detection (2019) · cites this paper as [24]
In the citing paper
“The architecture incorporates a Feature Pyramid Network (FPN) for multi-scale feature extraction and employs a novel focal loss function to give higher priority to harder-to-detect objects during training. This loss function helps mitigate the imbalance between foreground and background classes, making RetinaNet particularly effective in scenarios with sparse object occurrences.”
From The YOLO Framework: A Comprehensive Review of Evolution, Applications, and Benchmarks in Object Detection (2024) · cites this paper as [33]
9 more claims about this paper
Create a free account to see every claim other papers make about this one.
Citations
Cites
Deep Residual Learning for Image Recognition
He, K., Zhang, X., Ren, S., & Sun, J. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.90 · Cited by 235,474 · cited 5×
“Following [19], we build FPN on top of the ResNet architecture [15].”
MethodInfluentialSelf-citationImageNet classification with deep convolutional neural networks
Krizhevsky, A., Sutskever, I., & Hinton, G. E. (2017) · Communications of the ACM · doi:10.1145/3065386 · Cited by 112,155 · cited 1×
“While the sliding-window approach was the leading detection paradigm in classic computer vision, with the resurgence of deep learning [17], two-stage detectors, described next, quickly came to dominate object detection.”
MethodFaster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks
Ren, S., He, K., Girshick, R., & Sun, J. (2017) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2016.2577031 · Cited by 73,472 · cited 10×
“R-CNN was improved over the years, both in terms of speed [14, 10] and by using learned object proposals [6, 23, 27].”
BackgroundMethodInfluentialSelf-citationFaster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks
Ren, S., He, K., Girshick, R., & Sun, J. (2015) · arXiv · doi:10.48550/arxiv.1506.01497 · Cited by 70,812 · cited 10×
“R-CNN was improved over the years, both in terms of speed [14, 10] and by using learned object proposals [6, 23, 27].”
BackgroundMethodInfluentialSelf-citationYou Only Look Once: Unified, Real-Time Object Detection
Redmon, J., Divvala, S., Girshick, R., & Farhadi, A. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.91 · Cited by 53,803
Self-citationMicrosoft COCO: Common Objects in Context
Lin, T.-Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Dollár, P., & Zitnick, C. L. (2014) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-10602-1_48 · Cited by 45,460
Self-citationFully convolutional networks for semantic segmentation
Long, J., Shelhamer, E., & Darrell, T. (2015) · 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2015.7298965 · Cited by 38,834
Histograms of Oriented Gradients for Human Detection
Dalal, N., & Triggs, B. (2005) · 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'05) · doi:10.1109/cvpr.2005.177 · Cited by 33,584 · cited 2×
“The introduction of HOG [24] and integral channel features [25] gave rise to effective methods for pedestrian detection.”
MethodRich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation
Girshick, R., Donahue, J., Darrell, T., & Malik, J. (2014) · 2014 IEEE Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2014.81 · Cited by 32,684
Self-citation(2016) · Cited by 31,590
Cited by
Items 1,201–1,230 of 1,230
Political Ideology and Polarization: A Multi-dimensional Approach
Sinno, B., Oviedo, B., Atwell, K., Alikhani, M., & Li, J. J. (2022) · Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies · doi:10.18653/v1/2022.naacl-main.17 · Cited by 29
COMPUTER VISION SYSTEM FOR DETECTING ORCHARD TREES FROM UAV IMAGES
Jemaa, H., Bouachir, W., Leblon, B., & Bouguila, N. (2022) · The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences · doi:10.5194/isprs-archives-xliii-b4-2022-661-2022 · Cited by 12
Improved YOLOv3 Model for Workpiece Stud Leakage Detection
Cong, P., Lv, K., Feng, H., & Zhou, J. (2022) · Electronics · doi:10.3390/electronics11213430 · Cited by 11
“To further improve the accuracy of recognition, when designing the loss function for the confidence of the bounding box and the predicted category probability, the proposed method uses the focal loss function [30] to replace the standard cross-entropy loss function.”
MethodCyberCortex.AI: an AI-based operating system for autonomous robotics and complex automation
Grigorescu, S., & Zaha, M. (2025) · Journal of Field Robotics · doi:10.1002/rob.22426 · Cited by 9
“The dojo is mainly written in Python and executed on dedicated computers, such as powerful HPC clusters.”
Huang, Z., Gan, Y., Lye, T., Zhang, H., Laine, A., Angelini, E. D., & Hendon, C. (2020) · Lecture Notes in Computer Science · doi:10.1007/978-3-030-59710-8_76 · Cited by 9
Pre-training with a rational approach for antibody sequence representation
Gao, X., Cao, C., He, C., & Lai, L. (2024) · Frontiers in Immunology · doi:10.3389/fimmu.2024.1468599 · Cited by 9
Xu, J., Zhang, J., & Wang, J. (2025) · Journal of Theoretical and Applied Electronic Commerce Research · doi:10.3390/jtaer20020076 · Cited by 9
“…value every 10 epochs) [48], with a loss function of weighted cross-entropy (infringement samples weight = 2 to mitigate category imbalance) [49] The Epochs 50 early stopping strategy is used in the training details, and the validation set loss terminates when it does not decrease for five…”
RefineTAD: Learning Proposal-free Refinement for Temporal Action Detection
Feng, Y., Zhang, Z., Quan, R., Wang, L., & Qin, J. (2023) · Proceedings of the 31st ACM International Conference on Multimedia · doi:10.1145/3581783.3611872 · Cited by 8
“L is the L1 loss, L is the focal loss [21] and L is the smooth-L1 loss [13].”
BackgroundA paired sequence language model for protein-protein interaction modeling
Liu, J., Chen, H., & Zhang, Y. (2026) · Nature Communications · doi:10.1038/s41467-026-70457-5 · Cited by 8
“Given the severe class imbalance between contact and non-contact residue pairs, we employed the Focal Loss function 57 to mitigate the in fl uence of dominant non-contact pairs: where p ij is the predicted contact probability; α =0 : 25 is a balance factor, and γ =1 : 5 is a focusing factor; L 1 and…”
Chen, L., Deng, H., Zhang, J., Zheng, B., & Jiang, R. (2025) · Symmetry · doi:10.3390/sym17050783 · Cited by 7
“The SSF algorithm flow is presented in Figure 8.”
(2025) · doi:10.1101/2025.07.07.663595 · Cited by 7
Ultralytics YOLO26: Unified Real-Time End-to-End Vision Models
Jocher, G., Qiu, J., Liu, M., Lyu, S., Akyon, F. C., & Kalfaoglu, M. E. (2026) · arXiv · doi:10.48550/arxiv.2606.03748 · Cited by 16
“SSD demonstrated efficient multi-scale dense prediction with default boxes [44], while RetinaNet addressed foreground–background imbalance via Focal Loss to improve dense detection accuracy [39].”
YOLO Algorithms Performance Comparison for Object Detection in Adverse Weather Conditions
Haimer, Z., Mateur, K., Farhan, Y., & Madi, A. A. (2023) · 2023 3rd International Conference on Innovative Research in Applied Science, Engineering and Technology (IRASET) · doi:10.1109/iraset57153.2023.10152924 · Cited by 6
“This is comparable to other state-of-the-art OD models such as Faster R-CNN and RetinaNet [20], but with a much faster processing speed.”
BackgroundResultAn Improved YOLOv5-based Method for Surface Defect Detection of Steel Plate
Zhu, L., Zhang, J., & Jia, C. (2022) · 2022 China Automation Congress (CAC) · doi:10.1109/cac57257.2022.10055055 · Cited by 6
“The classic onestage detection algorithms like SSD [2], RetinaNet [3], and YOLO [4]–[7] series et al. For the detection of defects on metal surfaces, Xian Tao et al. [8] use a semantic segmentation network to locate the defects and then identify them through a classification network.”
MethodV-JEPA 2: Self-Supervised Video Models Enable Understanding, Prediction and Planning
Assran, M., Bardes, A., Fan, D., Garrido, Q., Howes, R., Mojtaba, Komeili, Muckley, M., Rizvi, A., Roberts, C., et al. (2025) · arXiv · doi:10.48550/arxiv.2506.09985 · Cited by 8
“A focal loss (Lin et al., 2017) is applied to each classifier independently and then summed before backpropagating through the shared attention blocks of the probe.”
Zhang, Y., Lai, J., Zhao, C., Wang, J., Yan, Y., Chen, M., Ji, L., Guo, J., Han, B., Shi, Y., et al. (2024) · Artificial Intelligence in Medicine · doi:10.1016/j.artmed.2024.102992 · Cited by 5
Gaussian Bounding Boxes and Probabilistic Intersection-over-Union for Object Detection
Llerena, J. M., Zeni, L. F., Kristen, L. N., & Jung, C. (2021) · arXiv · doi:10.48550/arxiv.2106.06072 · Cited by 5
“For example, Rotated-RetinaNet [33] added an angle regression to the standard RetinaNet [34], refinement steps were explored in [6] and [12], and Liao et al. [8] adapted HBBs to OBBs with offsets in the context of text detection.”
MethodCentofanti, E., Oyler-Yaniv, A., & Oyler-Yaniv, J. (2025) · Molecular Biology of the Cell · doi:10.1091/mbc.e24-10-0438 · Cited by 4
“Training was done using stochastic gradient descent (SGD) with Focal Loss (gamma = 2) (Lin et al. , 2017).”
Patil, A. N., Mohanty, S. N., & Khan, T. (2025) · Recent Advances in Computer Science and Communications · doi:10.2174/0126662558333174241009112642 · Cited by 3
Zhu, J., Guo, Q., Juefei-Xu, F., Huang, Y., Liu, Y., & Pu, G. (2022) · arXiv · doi:10.48550/arxiv.2201.06427 · Cited by 3
“RetinaNet [26], an efficient one-stage objects detecting method.”
Online Temporal Action Localization with Memory-Augmented Transformer
Song, Y., Kim, D., Cho, M., & Kwak, S. (2025) · Lecture Notes in Computer Science · doi:10.1007/978-3-031-72655-2_5 · Cited by 3
Shen, J., & Zhang, X. (2025) · Biomedical Signal Processing and Control · doi:10.1016/j.bspc.2024.107051 · Cited by 2
Relation-Aware Question Answering for Heterogeneous Knowledge Graphs
Du, H., Huang, Q., Li, C., Zhang, C., Li, Y., & Zhao, D. (2023) · Findings of the Association for Computational Linguistics: EMNLP 2023 · doi:10.18653/v1/2023.findings-emnlp.906 · Cited by 2
Díaz-Rodríguez, N., Lamas, A., Sanchez, J., Franchi, G., Donadello, I., Tabik, S., Filliat, D., Cruz, P., Montes, R., & Herrera, F. (2022) · Information Fusion · doi:10.1016/j.inffus.2021.09.022 · Cited by 2
Sturm, F., Trat, M., Sathiyababu, R., Allipilli, H., Menz, B., Hergenroether, E., & Siegel, M. (2025) · Machine Vision and Applications · doi:10.1007/s00138-024-01638-9 · Cited by 2
“To balance the imbalance between background and palm detection during training, the focal loss [22] is used [47 ].”
Han, Y.-H., Huang, T.-M., Hua, K.-L., & Chen, J.-C. (2024) · arXiv · doi:10.48550/arxiv.2404.05583 · Cited by 45
“The primary objective function comprises the focal loss [22] L F ( · ) derived from the three distinct classification heads for temporal ( L T ), spatial ( L S ), and spatio-temporal branches ( L ST ) respectively: where cat ( · ) represents the concatenation operation that merges the provided…”
BackgroundBerk, R. A., & Braverman, A. (2025) · arXiv · doi:10.48550/arxiv.2503.16118
“More recent work on the topic includes Waldman (2000), Christoffersen and Diebold (2009), Kuhn and Johnson (2013), Lin et al., 2017), and Rednick and colleagues (2021).”
Segar, N., & Vijayan, V. (2026) · Frontiers in Artificial Intelligence · doi:10.3389/frai.2026.1804943 · Cited by 5
“Although focal loss (Lin et al., 2017) can improve minority-class recall, our evaluation employs F1-score alongside accuracy and AUC-ROC, which already accounts for class imbalance.”
Critique-GRPO: Advancing LLM Reasoning with Natural Language and Numerical Feedback
Zhang, X., Zhang, Y., Sun, H., Feng, K., Lu, C., Yang, C., & Meng, H. (2025) · arXiv · doi:10.48550/arxiv.2506.03106 · Cited by 92
Anand, V., & Rodriguez, I. F. (2026) · 2026 IEEE 5th International Conference on AI in Cybersecurity (ICAIC) · doi:10.1109/icaic67076.2026.11395676
Metadata
- Authors
- Lin, T.-Y., Goyal, P., Girshick, R., He, K., & Dollar, P.
- Affiliations
- Meta (United States) (US)
- Venue
- 2017 IEEE International Conference on Computer Vision (ICCV)
- Publisher
- IEEE
- Published
- 2017-10
- Pages
- 2999-3007
- OpenAlex
- W2963351448
- Cited by
- 30,581
- References
- 40
- Citations by year
- 2026: 3829 · 2025: 4853 · 2024: 5165 · 2023: 4882 · 2022: 3999 · 2021: 3739 · 2020: 2424 · 2019: 1368 · 2018: 309 · 2017: 7
- FWCI
- 323.50
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- IEEE/CVF International Conference on Computer Vision (ICCV) (publishedVersion)
- Topics
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Visual Attention and Saliency Detection
- Physical Sciences › Computer Science › Artificial Intelligence › Domain Adaptation and Few-Shot Learning
- Keywords
- focal loss, dense object detection, class imbalance, foreground-background imbalance, one-stage object detectors, RetinaNet, cross-entropy loss, hard example mining, loss function design
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.