{"notes":[{"id":"object-detection/retinanet","category":"object-detection","legacyPath":"object-detection/1708-retinanet","legacySlug":"1708-retinanet","legacyPaths":[],"title":"RetinaNet","subtitle":"Focal Loss is the Key","author":"Z. Yuan","paperDate":"2017-08-07","publishedOn":"2024-08-08","paperTitle":"Focal Loss for Dense Object Detection","paperUrl":"https://arxiv.org/abs/1708.02002","bibliography":{"title":"Focal Loss for Dense Object Detection","authors":["Tsung-Yi Lin","Priya Goyal","Ross Girshick","Kaiming He","Piotr Dollár"],"url":"https://arxiv.org/abs/1708.02002","pdfUrl":"https://arxiv.org/pdf/1708.02002","codeUrl":null,"preprint":{"id":"1708.02002","submittedOn":"2017-08-07","url":"https://arxiv.org/abs/1708.02002"},"publication":{"venue":"ICCV","year":2017,"kind":"conference","url":"https://openaccess.thecvf.com/content_iccv_2017/html/Lin_Focal_Loss_for_ICCV_2017_paper.html"},"citation":"@misc{objectdetectionretinanet2017,\n  title = {{Focal Loss for Dense Object Detection}},\n  author = {Tsung-Yi Lin and Priya Goyal and Ross Girshick and Kaiming He and Piotr Dollár},\n  year = {2017},\n  eprint = {1708.02002},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/1708.02002}\n}\n","citationPath":"/content/papers/citations/object-detection/retinanet.7782ba4afe61.bib"},"thumbnail":{"src":"/content/papers/assets/72e05351a2bee439214afa9c111f8ec8ca466561a1fbd6be2b98cbd43305ad47.jpg","width":1746,"height":492},"locale":"en","path":"/content/papers/en/object-detection/retinanet.5feba1136b30.md","headings":[{"id":"problem-definition","text":"Problem Definition","depth":2},{"id":"solution","text":"Solution","depth":2},{"id":"focal-loss","text":"Focal Loss","depth":3},{"id":"model-architecture","text":"Model Architecture","depth":3},{"id":"training-parameters","text":"Training Parameters","depth":3},{"id":"discussion","text":"Discussion","depth":2},{"id":"experimental-results-on-the-coco-dataset","text":"Experimental Results on the COCO Dataset","depth":3},{"id":"ablation-studies","text":"Ablation Studies","depth":3},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{"make-cross-entropy-respond-to-difficulty":"focal-loss","putting-retinanet-together":"model-architecture","experimental-results-and-discussion":"discussion","compare-losses-on-the-same-model-first":"ablation-studies","read-accuracy-together-with-its-conditions":"experimental-results-on-the-coco-dataset"},"guide":null,"relatedReading":[{"id":"object-detection/fcos","relation":"next","topic":"Dense detection and sample assignment"},{"id":"retail-product/sku-110k","relation":"comparison","topic":"Detecting densely packed retail products"},{"id":"text-recognition/safl","relation":"next","topic":"Focal Loss from detection to text recognition"}]},{"id":"object-detection/fcos","category":"object-detection","legacyPath":"object-detection/1904-fcos","legacySlug":"1904-fcos","legacyPaths":[],"title":"FCOS","subtitle":"A World Without Anchors","author":"Z. Yuan","paperDate":"2019-04-02","publishedOn":"2025-08-31","paperTitle":"FCOS: Fully Convolutional One-Stage Object Detection","paperUrl":"https://arxiv.org/abs/1904.01355","bibliography":{"title":"FCOS: Fully Convolutional One-Stage Object Detection","authors":["Zhi Tian","Chunhua Shen","Hao Chen","Tong He"],"url":"https://arxiv.org/abs/1904.01355","pdfUrl":"https://openaccess.thecvf.com/content_ICCV_2019/papers/Tian_FCOS_Fully_Convolutional_One-Stage_Object_Detection_ICCV_2019_paper.pdf","codeUrl":null,"preprint":{"id":"1904.01355","submittedOn":"2019-04-02","url":"https://arxiv.org/abs/1904.01355"},"publication":{"venue":"ICCV","year":2019,"kind":"conference","url":"https://openaccess.thecvf.com/content_ICCV_2019/html/Tian_FCOS_Fully_Convolutional_One-Stage_Object_Detection_ICCV_2019_paper.html"},"citation":"@misc{objectdetectionfcos2019,\n  title = {{FCOS: Fully Convolutional One-Stage Object Detection}},\n  author = {Zhi Tian and Chunhua Shen and Hao Chen and Tong He},\n  year = {2019},\n  eprint = {1904.01355},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/1904.01355}\n}\n","citationPath":"/content/papers/citations/object-detection/fcos.00e1b4c82339.bib"},"thumbnail":{"src":"/content/papers/assets/23edca5ceca50cfcadbf6fd9cb8e8720100daff3135c951a4554454e3b9c69e7.jpg","width":1508,"height":668},"locale":"en","path":"/content/papers/en/object-detection/fcos.098144f33a61.md","headings":[{"id":"problem-definition","text":"Problem Definition","depth":2},{"id":"solution","text":"Solution","depth":2},{"id":"discussion","text":"Discussion","depth":2},{"id":"multi-level-fpn-and-recall-upper-bound","text":"Multi-Level FPN and Recall Upper Bound","depth":3},{"id":"ambiguous-samples-caused-by-overlaps","text":"Ambiguous Samples Caused by Overlaps","depth":3},{"id":"the-necessity-and-effectiveness-of-center-ness","text":"The Necessity and Effectiveness of Center-ness","depth":3},{"id":"fair-comparison-with-anchor-based-methods","text":"Fair Comparison With Anchor-based Methods","depth":3},{"id":"overall-comparison-with-contemporary-sota","text":"Overall Comparison With Contemporary SOTA","depth":3},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{"one-location-four-distances":"solution","fpn-levels-reduce-overlap-ambiguity":"solution","center-ness-discounts-edge-predictions":"solution","experimental-results-and-discussion":"discussion","assignment-coverage-and-overlapping-positions":"multi-level-fpn-and-recall-upper-bound","center-ness-and-a-controlled-baseline":"the-necessity-and-effectiveness-of-center-ness","the-test-dev-leaderboard-uses-another-schedule":"overall-comparison-with-contemporary-sota"},"guide":null,"relatedReading":[{"id":"object-detection/retinanet","relation":"background","topic":"Dense detection and sample assignment"},{"id":"object-detection/atss","relation":"next","topic":"Dense detection and sample assignment"},{"id":"object-detection/gfl","relation":"comparison","topic":"Aligning classification and localization quality"}]},{"id":"retail-product/sku-110k","category":"retail-product","legacyPath":"retail-product/1904-sku-110k","legacySlug":"1904-sku-110k","legacyPaths":[],"title":"SKU-110K","subtitle":"Densely Packed Shelves","author":"Z. Yuan","paperDate":"2019-04-01","publishedOn":"2025-07-20","paperTitle":"Precise Detection in Densely Packed Scenes","paperUrl":"https://arxiv.org/abs/1904.00853","bibliography":{"title":"Precise Detection in Densely Packed Scenes","authors":["Eran Goldman","Roei Herzig","Aviv Eisenschtat","Oria Ratzon","Itsik Levi","Jacob Goldberger","Tal Hassner"],"url":"https://arxiv.org/abs/1904.00853","pdfUrl":"https://arxiv.org/pdf/1904.00853","codeUrl":null,"preprint":{"id":"1904.00853","submittedOn":"2019-04-01","url":"https://arxiv.org/abs/1904.00853"},"publication":{"venue":"CVPR","year":2019,"kind":"conference","url":"https://arxiv.org/abs/1904.00853"},"citation":"@misc{retailproductsku110k2019,\n  title = {{Precise Detection in Densely Packed Scenes}},\n  author = {Eran Goldman and Roei Herzig and Aviv Eisenschtat and Oria Ratzon and Itsik Levi and Jacob Goldberger and Tal Hassner},\n  year = {2019},\n  eprint = {1904.00853},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/1904.00853}\n}\n","citationPath":"/content/papers/citations/retail-product/sku-110k.42c961604a3a.bib"},"thumbnail":{"src":"/content/papers/assets/b799b1c658e22c95de2d7d7d365328e7a70cd69db602d827ef82dae2490eee5e.jpg","width":1680,"height":448},"locale":"en","path":"/content/papers/en/retail-product/sku-110k.b38f51bb9d79.md","headings":[{"id":"problem-definition","text":"Problem Definition","depth":2},{"id":"solution","text":"Solution","depth":2},{"id":"basic-architecture","text":"Basic Architecture","depth":3},{"id":"soft-iou","text":"Soft-IoU","depth":3},{"id":"em-merger","text":"EM-Merger","depth":3},{"id":"sku-110k-dataset-and-benchmark-construction","text":"SKU-110K Dataset and Benchmark Construction","depth":2},{"id":"dataset-statistics-and-splits","text":"Dataset Statistics and Splits","depth":3},{"id":"evaluation-metrics-and-criteria","text":"Evaluation Metrics and Criteria","depth":3},{"id":"discussion","text":"Discussion","depth":2},{"id":"inference-speed-analysis","text":"Inference Speed Analysis","depth":3},{"id":"detection-and-counting-experiments","text":"Detection and Counting Experiments","depth":3},{"id":"generalization-experiments-on-carpk-and-pucpr","text":"Generalization Experiments on CARPK and PUCPR+","depth":3},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{},"guide":null,"relatedReading":[{"id":"object-detection/retinanet","relation":"comparison","topic":"Detecting densely packed retail products"}]},{"id":"text-recognition/safl","category":"text-recognition","legacyPath":"text-recognition/2201-safl","legacySlug":"2201-safl","legacyPaths":[],"title":"SAFL","subtitle":"Focal Loss Can Help!","author":"Z. Yuan","paperDate":"2022-01-01","publishedOn":"2024-11-06","paperTitle":"SAFL: A Self-Attention Scene Text Recognizer with Focal Loss","paperUrl":"https://arxiv.org/abs/2201.00132","bibliography":{"title":"SAFL: A Self-Attention Scene Text Recognizer with Focal Loss","authors":["Bao Hieu Tran","Thanh Le-Cong","Huu Manh Nguyen","Duc Anh Le","Thanh Hung Nguyen","Phi Le Nguyen"],"url":"https://arxiv.org/abs/2201.00132","pdfUrl":"https://arxiv.org/pdf/2201.00132","codeUrl":null,"preprint":{"id":"2201.00132","submittedOn":"2022-01-01","url":"https://arxiv.org/abs/2201.00132"},"publication":{"venue":"ICMLA","year":2020,"kind":"conference","url":"https://doi.org/10.1109/ICMLA51294.2020.00223"},"citation":"@misc{textrecognitionsafl2022,\n  title = {{SAFL: A Self-Attention Scene Text Recognizer with Focal Loss}},\n  author = {Bao Hieu Tran and Thanh Le-Cong and Huu Manh Nguyen and Duc Anh Le and Thanh Hung Nguyen and Phi Le Nguyen},\n  year = {2022},\n  eprint = {2201.00132},\n  archivePrefix = {arXiv},\n  url = {https://arxiv.org/abs/2201.00132}\n}\n","citationPath":"/content/papers/citations/text-recognition/safl.ffb8d1295322.bib"},"thumbnail":{"src":"/content/papers/assets/8569c1a98ddccbd2efcd61736984fa56625057d777ef2bc05568618df21334f3.jpg","width":1470,"height":568},"locale":"en","path":"/content/papers/en/text-recognition/safl.66cada9be8ec.md","headings":[{"id":"problem-definition","text":"Problem Definition","depth":2},{"id":"solution","text":"Solution","depth":2},{"id":"model-architecture","text":"Model Architecture","depth":3},{"id":"why-focal-loss","text":"Why Focal Loss?","depth":3},{"id":"discussion","text":"Discussion","depth":2},{"id":"does-focal-loss-improve-performance","text":"Does Focal Loss Improve Performance?","depth":3},{"id":"conclusion","text":"Conclusion","depth":2}],"anchorAliases":{},"guide":null,"relatedReading":[{"id":"object-detection/retinanet","relation":"background","topic":"Focal Loss from detection to text recognition"}]}],"text":"Before this, the classic R-CNN methods dominated the object detection field. Although slow, they were highly accurate. Subsequent research aimed to address the speed issue with methods like SSD and YOLO.\n\nThese new methods were faster, all right, but they weren't accurate enough!\n\nCan we have speed and accuracy at the same time?\n\n## Problem Definition\n\nWhy is it inaccurate?\n\nThe authors of this paper believe the root cause is the **imbalance between positive and negative samples** during training.\n\nIn single-stage object detection, the model evaluates numerous candidate locations and boxes, most of them background. The many easy negatives can collectively dominate the training loss and gradients even though each contributes little useful learning signal.\n\nThis issue isn't new, and some researchers have proposed Hard Negative Mining, which involves selecting difficult negative samples that are often misclassified as positives to train the model. These are called \"hard negatives.\"\n\nThe authors take another route. Sampling hard negatives adds a selection step, while a loss that automatically reduces the weight of easy examples could address the imbalance directly.\n\nThey propose a new loss function called: **Focal Loss**.\n\n## Solution\n\n### Focal Loss\n\nCross-entropy loss (CE Loss) is a commonly used loss function for binary classification problems.\n\nIt is defined as follows:\n\n$$\nCE(p, y) =\n\\begin{cases}\n- \\log(p) & \\text{if } y = 1 \\\\\n- \\log(1 - p) & \\text{otherwise}\n\\end{cases}\n$$\n\nwhere $y \\in \\{ \\pm 1\\}$ denotes the true class label and $p \\in [0, 1]$ is the model's predicted probability for $y = 1$.\n\nFor simplicity, we define $p_t$ as follows:\n\n$$\np_t =\n\\begin{cases}\np & \\text{if } y = 1 \\\\\n1 - p & \\text{otherwise}\n\\end{cases}\n$$\n\nThus, cross-entropy loss can be rewritten as:\n\n$$\nCE(p, y) = CE(p_t) = - \\log(p_t)\n$$\n\nA notable characteristic of cross-entropy is that even well-classified examples with $p_t\\gg0.5$ still incur some loss. Across a vast number of easy negatives, those small losses add up and can obscure the harder examples.\n\nTo address the class imbalance issue, a common approach is to introduce a weighting factor $\\alpha \\in [0, 1]$, assigning weights $\\alpha$ and $1 - \\alpha$ to the positive and negative classes, respectively. In practice, $\\alpha$ can be set based on the inverse frequency of the classes or adjusted through cross-validation. Similar to the definition of $p_t$, we define $\\alpha_t$ and rewrite the $\\alpha$-balanced cross-entropy loss as:\n\n$$\nCE(p_t) = - \\alpha_t \\log(p_t)\n$$\n\nThis is the $\\alpha$-balanced cross-entropy baseline used in the paper. Here $\\alpha_t$ is $\\alpha$ for the positive class and $1-\\alpha$ for the negative class.\n\n---\n\nAlthough $\\alpha$ can balance the importance of positive and negative samples, it cannot distinguish between easy and difficult samples.\n\nTherefore, the authors propose reshaping the loss function to \"down-weight\" easy-to-classify samples, thereby focusing training on hard negatives.\n\nThis is done by adding a modulation factor $(1 - p_t)^\\gamma$ to the cross-entropy loss, where $\\gamma \\geq 0$ is a tunable parameter.\n\nThe authors define Focal Loss as:\n\n$$\nFL(p_t) = - (1 - p_t)^\\gamma \\log(p_t)\n$$\n\nWhen a sample is misclassified and $p_t$ is small, the modulation factor is close to 1, and the loss is unaffected. However, as $p_t \\to 1$, the modulation factor approaches 0, reducing the loss for correctly classified samples.\n\n\n> [!TIP]\n> \n> $p_t$ is the predicted probability of the **true class**. A higher $p_t$ means that particular example is easier to classify correctly; it is not always a foreground score.\n\n\nThe parameter $\\gamma$ smoothly adjusts the rate of down-weighting for easy samples. When $\\gamma = 0$, Focal Loss is equivalent to cross-entropy loss; as $\\gamma$ increases, the modulation factor's effect strengthens (the authors found $\\gamma = 2$ to work best).\n\nIn practice, the authors use an $\\alpha$-balanced variant of Focal Loss:\n\n$$\nFL(p_t) = - \\alpha_t (1 - p_t)^\\gamma \\log(p_t)\n$$\n\nThe authors found this form slightly more accurate than the non-$\\alpha$-balanced form.\n\nThe relationship between the classification score $p_t$ and the corresponding loss can be intuitively understood through the following chart:\n\n![focal_loss](/content/papers/assets/1ecd8611126a440b704e6670394b88ab097ed4d9afe510cc53555f3a07257f45.jpg)\n\nIn the chart, $\\gamma = 0$ represents standard cross-entropy loss, while $\\gamma = 2$ is the optimal value from the authors' experiments. The region from 0.6 to 1.0 corresponds to easy-to-classify samples, where the loss is effectively reduced after applying Focal Loss.\n\n### Model Architecture\n\n![retinanet](/content/papers/assets/72e05351a2bee439214afa9c111f8ec8ca466561a1fbd6be2b98cbd43305ad47.jpg)\n\nTo ensure the effect of Focal Loss is not overshadowed by model complexity, the authors designed a very simple model architecture called **RetinaNet**.\n\nRetinaNet is a single-stage object detection model, with key design features including:\n\n- A simple backbone, such as ResNet50.\n- A straightforward neck, such as the Feature Pyramid Network (FPN).\n- Five feature-pyramid levels, $P_3$ through $P_7$, with nine anchors at each location on each level. Separate subnetworks predict class scores and box offsets.\n\n  - The anchors use three aspect ratios—1:2, 1:1, and 2:1—and three sizes at each level, scaled by $2^0$, $2^{1/3}$, and $2^{2/3}$. That makes nine **anchors**, not nine aspect ratios. The following relative width:height examples show that scaling both dimensions leaves the ratio unchanged.\n\n    - **1:2 Aspect Ratio:**\n\n      - 1:2 $\\times 1 = 1:2$\n      - 1:2 $\\times 1.26 = 1.26:2.52$\n      - 1:2 $\\times 1.59 = 1.59:3.18$\n\n    - **1:1 Aspect Ratio:**\n\n      - 1:1 $\\times 1 = 1:1$\n      - 1:1 $\\times 1.26 = 1.26:1.26$\n      - 1:1 $\\times 1.59 = 1.59:1.59$\n\n    - **2:1 Aspect Ratio:**\n\n      - 2:1 $\\times 1 = 2:1$\n      - 2:1 $\\times 1.26 = 2.52:1.26$\n      - 2:1 $\\times 1.59 = 3.18:1.59$\n\n  - Each anchor receives a $K$-dimensional class target and a four-dimensional box-regression target. The classification subnet outputs an independent sigmoid score for each class; box regression is class agnostic.\n  - The RPN-style matching rule treats anchors with ground-truth IoU of at least $0.5$ as positives and those below $0.4$ as background. Anchors between the thresholds are ignored during training.\n  - Each anchor yields one predicted box.\n\n- The object detection part is divided into two subnetworks, one for class prediction and one for bounding box regression, both composed of fully convolutional network architectures.\n\n### Training Parameters\n\n1. At inference, RetinaNet first filters candidates by class score $0.05$, then takes at most the top **1,000 per FPN level** before decoding. After combining levels, non-maximum suppression (NMS) at threshold $0.5$ produces the final detections.\n2. The authors found $\\gamma=2$ to work best for Focal Loss. They choose $\\alpha$ together with $\\gamma$ in their experiments; at this setting, $\\alpha=0.25$ works best.\n3. RetinaNet uses ResNet-50-FPN, ResNet-101-FPN, and ResNeXt-101-FPN as backbone networks.\n4. RetinaNet uses SGD as the optimizer, with a learning rate of 0.01, reduced to 1/10 at 60k and 80k iterations. The momentum is 0.9, and weight decay is 0.0001.\n5. Classification uses Focal Loss across all anchors, normalized by the number of matched positive anchors; box regression uses Smooth L1. The two losses are summed. The final classification-layer bias is initialized with a foreground prior of $\\pi=0.01$ to stabilize early training.\n\n## Discussion\n\n### Experimental Results on the COCO Dataset\n\n![coco](/content/papers/assets/8f62a3a2b69e33697381b05f6d8467028084b43b3b3982085460dc65f608323a.jpg)\n\nThe ResNet-101-FPN RetinaNet row reaches **39.1 AP** on COCO test-dev, 2.3 points above the table's strongest Faster R-CNN with TDM (Inception-ResNet-v2-TDM, 36.8 AP). Their backbones and training conditions differ; the table compares final model results.\n\nSwitching to ResNeXt-101-FPN raises the table result by 1.7 AP to **40.8 AP**. Both RetinaNet rows use longer training and scale jitter than the basic ablation setup.\n\nThe 39.1-AP RetinaNet row also exceeds single-stage DSSD513 (33.2 AP) by **5.9 AP points**. The figure below uses another speed/accuracy setup: RetinaNet-101-500 has 34.4 AP at 90 ms versus DSSD513's 33.2 AP at 156 ms, while RetinaNet-101-800 reaches 37.8 AP but takes 198 ms.\n\n![speed](/content/papers/assets/2882e645acd2bb65cc3b85bd3be2b3018ab1101b83454b674dc246ec9ddf85ac.jpg)\n\n### Ablation Studies\n\n![ablation](/content/papers/assets/92ef0b94dbf1566652e6658095ad9b830f22ed97bfa2f74ee92e81125fd1eb8f.jpg)\n\nThe authors conducted ablation studies on several key elements of RetinaNet, showing the following results:\n\n1. **Balanced Cross Entropy**\n\n   In Table 1(a), the authors first try the $\\alpha$-balanced cross-entropy loss described above. Raising $\\alpha$ from 0.5 to 0.75 changes AP from **30.2 to 31.1**, a 0.9-point gain.\n\n2. **Focal Loss**\n\n   Table 1(b) shows how the focusing parameter $\\gamma$ changes the modulation term. At $\\gamma=0$, the loss reduces to cross-entropy; as $\\gamma$ grows, easy examples receive less weight. At $\\gamma=2$, Focal Loss reaches **34.0 AP**, 2.9 points above the best $\\alpha$-balanced CE row of **31.1 AP** in this ResNet-50 setup.\n\n   To ensure fair comparison, the authors found the optimal $\\alpha$ for each $\\gamma$. The chart shows that with increasing $\\gamma$, the chosen $\\alpha$ value is lower (since easy negatives are down-weighted, emphasizing positive samples less).\n\n3. **High-Density Two-Stage Systems May Be Unnecessary**\n\n   As shown in table (c), the authors used ResNet-50 and scanned the number of scale and aspect ratio anchors used at each spatial position and pyramid level in FPN. They considered scenarios from one square anchor per position to 12 anchors per position, spanning 4 sub-octave scales ($2^{k/4}$ for $k \\leq 3$) and 3 aspect ratios (0.5, 1, 2).\n\n   Even one square anchor achieves a surprising 30.3 AP. Three scales and three aspect ratios per position reach 34.0 AP, 3.7 points more; two scales and three aspect ratios actually reach **34.2 AP** in the table.\n\n   All other experiments in this work use this setup.\n\n   Finally, increasing density beyond six to nine anchors per location shows no further gain in this test. Two-stage systems can classify boxes at arbitrary locations, sizes, and aspect ratios via region pooling; this ablation only shows that RetinaNet's anchor density is near saturation within the tested range.\n\n4. **Online Hard Example Mining (OHEM)**\n\n   As shown in table (d), previous literature proposed improving two-stage detector training by constructing mini-batches containing high-loss samples. In OHEM, each sample is scored by its loss, then NMS is applied, and mini-batches are constructed with high-loss samples. NMS threshold and batch size are adjustable parameters. Like Focal Loss, OHEM emphasizes misclassified samples, but unlike FL, OHEM discards easy samples entirely.\n\n   In the same ResNet-101-FPN ablation setup, the best OHEM configuration (no forced 1:3 ratio, batch size 128, NMS 0.5) reaches **32.8 AP**. Focal Loss reaches **36.0 AP**, 3.2 points higher. The authors also tried other OHEM settings and variants without improving that result.\n\n\n> [!TIP]\n> \n> The authors also experimented with hinge loss on $p_t$ early on, setting the loss to 0 when $p_t$ exceeded a certain value.\n> \n> However, results were unstable and didn't yield meaningful outcomes.\n\n\n5. **Larger Backbone**\n\n   In Table 1(e), larger backbones can improve accuracy but slow inference. Increasing input scale, defined by the image's shorter side, has a similar effect. This part of Table 1 uses COCO **test-dev**, whereas the earlier ablations generally use **minival**, so their numbers should not be treated as one fixed-condition sweep. Improving the architecture further for faster inference lies beyond this paper's scope.\n\n## Conclusion\n\nRetinaNet effectively addresses class imbalance by introducing Focal Loss, allowing the model to focus on hard negatives and significantly improving detection accuracy. Experimental results show RetinaNet surpasses various existing one-stage and two-stage detection methods on the COCO dataset, demonstrating its practical potential.\n\nThe later [YOLOv3 report](https://arxiv.org/abs/1804.02767) also tried Focal Loss, but its own experiment reported a roughly two-point mAP decline. That is a result for a different detector and setup; whether the architecture explains the contrast remains uncertain.\n\nThere is still much work to be done in object detection research, and we look forward to future advancements.\n","imageSizes":{"/content/papers/assets/1ecd8611126a440b704e6670394b88ab097ed4d9afe510cc53555f3a07257f45.jpg":{"width":1040,"height":648},"/content/papers/assets/72e05351a2bee439214afa9c111f8ec8ca466561a1fbd6be2b98cbd43305ad47.jpg":{"width":1746,"height":492},"/content/papers/assets/8f62a3a2b69e33697381b05f6d8467028084b43b3b3982085460dc65f608323a.jpg":{"width":1272,"height":416},"/content/papers/assets/2882e645acd2bb65cc3b85bd3be2b3018ab1101b83454b674dc246ec9ddf85ac.jpg":{"width":1084,"height":672},"/content/papers/assets/92ef0b94dbf1566652e6658095ad9b830f22ed97bfa2f74ee92e81125fd1eb8f.jpg":{"width":1224,"height":724}}}
