Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Bridging the Gap Between Anchor-based and Anchor-free Detection via Adaptive Training Sample Selection

Adaptive sample selection closes the gap between anchor-based and anchor-free detectors

  • Problem Anchor-based and anchor-free detectors differ in several ways, so the accuracy gap between RetinaNet and FCOS was unclear. The main difference is how positive and negative training samples are defined.
  • Method ATSS selects positive and negative samples per object. For each ground-truth box, it takes the nearest anchors on each pyramid level and sets an IoU threshold from their mean plus standard deviation.
  • Results Replacing RetinaNet's IoU-based selection with ATSS raised AP on the minival split from 37.0 to 39.3.

Why the anchor-based and anchor-free gap needs a controlled test

Anchor-free FCOS reached a clearly higher AP than the anchor-based RetinaNet, yet the two detectors differ in three places at once: the number of anchors per location, the rule that labels positives and negatives, and the point from which the box is regressed. RetinaNet in this study uses one square anchor per location, which makes its anchor layout close to FCOS's single anchor point, so the remaining differences are the ones worth isolating.

Because the two detectors also differ in several implementation details, the observed gap alone cannot show which difference is responsible.

Removing implementation inconsistencies first

The experiments train on the trainval35k split of MS COCO, which has 115K training images, and evaluate on the 5K-image minival split. The backbone is ResNet-50 with a 5-level feature pyramid, trained with SGD for 90K iterations and a learning rate that decays at iteration 60K and 80K. Starting from RetinaNet (#A=1) at 32.5 AP and FCOS at 37.1 AP, the authors add the improvements that FCOS had gained since its original report: moving centerness to the regression branch, using the GIoU loss, normalizing regression targets by stride, adding GroupNorm in the heads, limiting positives to the ground-truth box, and adding a trainable scalar for each level.

Each of these changes can be applied to an anchor-based detector as well, so the authors treat them as implementation details rather than causes of the gap.

Positive sample definition versus regression starting point

Two differences remain after the implementation details are matched. RetinaNet labels positives with IoU thresholds, keeping the best anchor of each object and anchors above a positive IoU threshold. FCOS first keeps anchor points inside the ground-truth box as candidates and then keeps those whose scale falls in the range assigned to their pyramid level.

The two selection rules differ in how they combine spatial and scale constraints: FCOS applies them in sequence, while RetinaNet's IoU rule applies them in one step. Swapping the rules while keeping each detector's regression start isolates the effect of the sample definition. Using the spatial and scale constraint rule instead of IoU lifts RetinaNet (#A=1) from 37.0 to 37.8, while FCOS with IoU drops from 37.8 to 36.9.

The regression start is the other difference. RetinaNet regresses four offsets from an anchor box, whereas FCOS regresses four distances from an anchor point. When both detectors share the same positive and negative samples, the starting point makes little difference: 37.0 against 36.9 for the IoU rule and 37.8 against 37.8 for the spatial and scale rule.

The authors conclude that the sample definition is the essential difference between one-stage anchor-based detectors and center-based anchor-free detectors, and that the regression starting point is not.

How ATSS picks positives per object

The IoU threshold of RetinaNet and the scale ranges of FCOS are sensitive hyperparameters, and a fixed rule can miss objects that do not fit it. ATSS instead sets the threshold for each ground-truth box from that box's own candidates, so the rule adapts to the object. For each ground-truth box g, ATSS takes the k anchors whose centers are closest to the center of g on each pyramid level, using L2 distance.

With L pyramid levels this gives k×L candidates.

It computes the IoU between each candidate and g, then takes the mean m_g and the standard deviation v_g of these IoUs. The IoU threshold for g is \( t_g = m_g + v_g \), and a candidate becomes positive only if its IoU is at least t_g and its center lies inside g. If an anchor is matched to more than one ground-truth box, it is assigned to the box with the highest IoU, and all anchors that are not positive become negatives.

The mean reflects how well the preset anchors suit the object: a high mean means many high-quality candidates, which justifies a high threshold. The standard deviation reflects how concentrated the suitable pyramid levels are. A high value means one level fits the object well, so adding it to the mean selects positives from that level only.

A low value means several levels fit, and the threshold stays low enough to take positives from all of them. The authors also argue that restricting positives to centers inside the box avoids anchors whose predictions would rely on features outside the object.

The authors report that each object ends up with about 0.2×k×L positives regardless of its scale, aspect ratio, or location, whereas RetinaNet and FCOS tend to give larger objects many more positives. Apart from k, the method has no other tuned hyperparameter, and the authors describe the rule as almost hyperparameter-free.

Testing ATSS on RetinaNet and FCOS

In RetinaNet (#A=1), replacing IoU selection with ATSS raises AP from 37.0 to 39.3 on the minival split. The gains are 2.3 points of AP, 2.4 of AP50, 2.9 of AP75, 2.9 of APS, 2.1 of APM and 2.7 of APL. ATSS adds no inference or training overhead, so the authors count these gains as cost-free.

For FCOS, the authors test two versions. The lite version, called center sampling, changes only how candidates are selected, using the top-k rule, and reaches 38.6 AP against 37.8 for the baseline. The full version applies ATSS so that the anchor box has the 8S scale and positives are chosen by the ATSS rule. It reaches 39.2 AP. Both FCOS versions choose the same candidates in the spatial dimension, so the comparison isolates how final positives are picked along the scale dimension.

The full version is better on every reported metric, which the authors read as evidence that the adaptive scale choice beats the fixed one.

Sensitivity to k and anchor settings

The authors trained with k in [3, 5, 7, 9, 11, 13, 15, 17, 19] and found AP between 39.0 and 39.3 for k from 7 to 17. At k=3, AP falls to 38.0, which the authors attribute to too few candidates for stable statistics. At k=19, AP is 38.9, which they attribute to too many low-quality candidates.

The default anchor is a square anchor at 8S. With the aspect ratio fixed at 1:1, scales from 5 to 9 give AP between 38.9 and 39.3. The authors conclude that the method is robust to these anchor settings.

Whether multiple anchors per location still help

With the original RetinaNet setting of 9 anchors per location (3 scales times 3 aspect ratios), RetinaNet (#A=9) reaches 36.3 AP, and the universal improvements raise it to 38.4. Under the IoU rule, then, more anchors per location help: 38.4 for RetinaNet (#A=9) against 37.0 for RetinaNet (#A=1).

With ATSS added, RetinaNet (#A=9) gains 0.8 AP, 1.4 AP50 and 1.1 AP75, and reaches the level of RetinaNet (#A=1). Reducing the anchors from 3 scales and 3 aspect ratios to 1 and 1 leaves the result nearly unchanged: 39.2 with 3 scales and 3 ratios, 39.3 with 3 scales and 1 ratio, 39.2 with 1 scale and 3 ratios, and 39.3 with 1 scale and 1 ratio.

The authors argue that tiling multiple anchors is a useless operation under ATSS, and that its real role still needs study.

Test-dev comparison with published detectors

With ResNet-101, ATSS reaches 43.6 AP, which the authors report as higher than Cascade R-CNN at 42.8, C-Mask RCNN at 42.0, RetinaNet at 39.1 and RefineDet at 36.4, all with the same backbone. With ResNeXt-32x8d-101 and ResNeXt-64x4d-101, ATSS reaches 45.1 and 45.6 AP.

Adding deformable convolutions to the ResNet and ResNeXt backbones and to the last layer of the detector towers raises AP to 46.3 for ResNet-101, and to 47.7 for both ResNeXt variants. The 47.7 result is a single model at single scale, and the authors note that it is higher than the previous detectors they list. Multi-scale testing lifts the best models to 50.6 with ResNeXt-32x8d-101-DCN and 50.7 with ResNeXt-64x4d-101-DCN.

The table combines the authors' runs with numbers published for other detectors, which use their own backbones and settings, so these entries are not one controlled experiment.

Limitations

The lite version, center sampling, keeps the scale ranges of FCOS as hyperparameters, so it is not fully free of tuning. ATSS keeps k as its one hyperparameter. Its effect is small across 7 to 17, but at k=3 AP drops to 38.0. The experiments use only MS COCO, and the multiple-anchor conclusion rests on RetinaNet with the settings reported here; the authors state that the role of multiple anchors still needs further study.

The 50.7 AP result uses multi-scale testing and deformable convolutions, so it is not a single-scale, single-model number.

Paper info

Authors
Zhang, Shifeng, Chi, Cheng, Yao, Yongqiang, Lei, Zhen, Li, Stan Z.
Venue
arXiv · Preprint
First published
2019-12-5
Added
2026-11-12
Updated
2020-6-20
Version
v4
arXiv
1912.02424
Category
cs.CV
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Zhang, Shifeng, Chi, Cheng, Yao, Yongqiang, Lei, Zhen, Li, Stan Z. (2019). Bridging the Gap Between Anchor-based and Anchor-free Detection via Adaptive Training Sample Selection. arXiv:1912.02424v4. https://arxiv.org/abs/1912.02424v4

BibTeX
@misc{shifeng2019bridging,
  title = {{Bridging the Gap Between Anchor-based and Anchor-free Detection via Adaptive Training Sample Selection}},
  author = {Zhang, Shifeng and Chi, Cheng and Yao, Yongqiang and Lei, Zhen and Li, Stan Z.},
  year = {2019},
  eprint = {1912.02424},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1912.02424v4}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up