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

NAS-FPN: Learning Scalable Feature Pyramid Architecture for Object Detection

Neural architecture search learns a feature pyramid that beats hand-designed ones

  • Problem Feature pyramids for object detection are hand-designed, and the number of possible cross-scale connections grows exponentially with depth, so hand search is impractical.
  • Method NAS-FPN searches a repeatable space of merging cells with a reinforcement learning controller. Each sampled pyramid is scored by its AP on a shortened proxy task.
  • Results NAS-FPN reaches 48.3 AP on COCO test-dev with an AmoebaNet-D backbone, DropBlock and 1280 x 1280 input, surpassing Mask R-CNN with less inference time.

Why cross-scale connections are hard to design by hand

FPN builds its pyramid by merging adjacent backbone layers through top-down and lateral connections, which makes it simple and effective. That design is not necessarily the best one, and later work added bottom-up paths and other cross-scale operations to improve on it.

Most manually designed cross-scale connections remain shallow compared with the backbone network. The number of ways to connect features from different scales grows exponentially with the number of layers, so searching this space by hand is impractical. The study therefore treats the pyramid itself as the object to search, using Neural Architecture Search over a space of repeatable parts.

A merging cell as the searched unit

The searched pyramid is an ordered list of merging cells, and each cell combines two feature layers into one new layer. The two inputs may come from different scales, and the output is produced at a resolution the controller selects. All feature layers inside one merging cell have the same number of filters.

The candidate pool starts with the backbone inputs C3 to C7, at strides of 8, 16, 32, 64 and 128 pixels. C6 and C7 are derived from C5 by max pooling with stride 2 and stride 4. Each new output joins the candidate pool, so later cells can select it as an input. Because the inputs and outputs of a pyramid network sit at the same five scales, the network can be repeated N times.

How the controller picks each cell

A controller RNN makes four predictions for each cell, and each prediction comes from its own softmax classifier. It first picks one candidate layer, then a second candidate, which cannot be the same layer again. Third, it chooses the output resolution, and fourth, it chooses the binary operation that combines the two picks.

The new layer is appended to the candidate list, so the next cell can build on it. Intermediate cells avoid stride 8 outputs in order to reduce computation. The last five merging cells produce P3 to P7, and the controller also predicts the order in which these output levels are generated. Any layer that feeds no output is summed into the output at the matching resolution.

Sum and global pooling as the binary choices

The search space offers two binary operations, sum and global pooling. Neither operation adds trainable parameters. Sum is a common way to combine features, and global pooling follows Pyramid Attention Networks with the convolution layers removed.

The merged layer then passes through a ReLU, a 3x3 convolution and batch normalization.

Scoring cells with a shortened proxy task

The controller learns by trial and error, using the accuracy of a sampled child model as its reward. Training every child to convergence is too slow, so each child is scored on a proxy task, which is the target training shortened. The reward is measured on 7392 images held out from COCO train2017.

The controller is an RNN trained with Proximal Policy Optimization (PPO), and a pool of 100 TPUs trains the sampled children. The controller produced better architectures as training went on. The number of unique architectures levels off after about 8000 steps. The architecture with the highest AP among all sampled ones is taken as the final design.

Early in the search the controller connects high-resolution inputs to outputs, which matters for detecting small objects. As the controller converges, its architectures add both top-down and bottom-up paths and reuse layers that were generated earlier.

Stacking the pyramid and exiting early

In the notation R-50, 5 @ 256, the backbone is ResNet-50, the pyramid is repeated 5 times and the feature dimension is 256. Stacking the vanilla FPN does not reliably improve accuracy, whereas stacking NAS-FPN does. The search used 3 repeats, yet accuracy kept rising with up to 7 repeats.

Deep supervision attaches classifier and box regression heads to each intermediate pyramid network. At inference, the model can stop at any pyramid network and return detections, which suits cases where latency or compute is limited. The authors point to Appendix A as the evidence for anytime detection with NAS-FPN, and that appendix is not part of the body.

Accuracy with different backbones

The pyramid searched with ResNet-10 is used with MobileNetV2, ResNet and AmoebaNet-D backbones. With MobileNetV2 at 640 x 640, NAS-FPN reaches 36.6 AP at 160B FLOPs. Switching to the AmoebaNet-D backbone raises the FLOPs to 390B and adds about 5 AP.

In Table 1, FPN R-50 @256 at 640 x 640 reaches 37.0 test-dev AP at 37.5 ms on P100. NAS-FPN R-50 (7 @ 256) at the same input size reaches 39.9 AP at 56.1 ms on P100. The AmoebaNet-D version at 1280 x 1280 reaches 48.0 AP without DropBlock and 48.3 AP with it, at 278.9 ms on P100. Mask R-CNN X-152-32x8d is listed at 45.2 AP and 325 ms on P100, with a 1280 x 800 input.

The authors say NAS-FPN surpasses the Mask R-CNN accuracy while needing less inference time. The Mask R-CNN row uses a different input size and carries its own citation in the table, so it is not a controlled run against NAS-FPN at 1280 x 1280.

Capacity from stacking, backbone and width

Figure 8 varies the number of stacked pyramid networks, the backbone and the feature dimension, with all models trained and tested at 640x640. R-50 with 7 @ 256 has much lower FLOPs than R-50 with 3 @ 384 and reaches similar AP. Raising the feature dimension improves detection, but the authors judge it a less efficient route and say it requires a regularization technique.

NAS-FPN R-50 with 5 @ 256 has FLOPs comparable to the R-101 FPN baseline and gains 2.5 AP. The authors read this as NAS-FPN being a more effective use of compute than replacing the backbone with a larger one.

Mobile detection with NAS-FPNLite

NAS-FPNLite searches a pyramid with outputs from P3 to P6, replaces convolutions with depth-wise separable convolutions, and uses a 15-cell architecture. FPNLite is the matching baseline that keeps the FPN structure and replaces its convolutions with depth-wise separable ones. Feature dimension is set to 48 or 64 so that FLOPs and CPU runtime on Pixel 1 are similar to the baselines.

Inputs are 320 x 320 and latency is measured on the Pixel 1 CPU. NAS-FPNLite with MobileNetV2 (3 @ 48) reaches 24.2 AP at 210 ms, and with MobileNetV2 (7 @ 64) it reaches 25.7 AP at 285 ms. MnasNet-92 with SSDLite is listed at 22.9 AP and 227 ms, and MobileNetV2 with SSDLite at 22.1 AP and 200 ms. The 2 AP gain over SSDLite is stated at the same inference time, but the table lists 210 ms for NAS-FPNLite (3 @ 48) and 200 ms for MobileNetV2 with SSDLite.

The text describes training only NAS-FPNLite and FPNLite, while the table gives the SSDLite rows a prior-work citation.

DropBlock for wider pyramids

The added layers call for regularization, so DropBlock with 3x3 blocks is applied after batch normalization in the NAS-FPN layers. Figure 10 trains ResNet-50 at 1024 x 1024 with feature dimension 256 or 384, with and without DropBlock. DropBlock improves more for the architecture that introduces more new filters.

At 1280 x 1280, R-50 (7 @ 384) rises from 45.4 to 46.6 AP with DropBlock. DropBlock runs use a longer schedule of 150 epochs, with decays at epoch 120 and 140. Earlier experiments leave DropBlock off by default for a fair comparison with existing work.

Limitations

Only a reinforcement learning controller was tried, because the authors judged evolution and RL controllers to perform similarly.

Wider pyramids are less efficient and need regularization. Most experiments train on COCO train2017 and evaluate on val2017, and only Table 1 reports test-dev. The mobile comparison uses 320 x 320 inputs on a Pixel 1 CPU, while the high-accuracy comparison uses a P100 GPU. Anytime detection is supported only through the appendix that the main text refers to.

Paper info

Authors
Golnaz Ghiasi, Tsung-Yi Lin, Ruoming Pang, Quoc V. Le
Venue
arXiv · Preprint
First published
2019-4-16
Added
2026-11-12
Updated
2019-4-16
Version
v1
arXiv
1904.07392
Category
cs.CV · cs.LG
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

Golnaz Ghiasi, Tsung-Yi Lin, Ruoming Pang, Quoc V. Le (2019). NAS-FPN: Learning Scalable Feature Pyramid Architecture for Object Detection. arXiv:1904.07392v1. https://arxiv.org/abs/1904.07392v1

BibTeX
@misc{ghiasi2019learning,
  title = {{NAS-FPN: Learning Scalable Feature Pyramid Architecture for Object Detection}},
  author = {Golnaz Ghiasi and Tsung-Yi Lin and Ruoming Pang and Quoc V. Le},
  year = {2019},
  eprint = {1904.07392},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1904.07392v1}
}

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