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

NAS-FPN: 탐색으로 찾은 객체 검출용 피라미드 구조

Golnaz Ghiasi, Tsung-Yi Lin, Ruoming Pang, Quoc V. Le · arXiv · 2019년 4월 16일

- **연구 문제** 사람이 설계한 FPN은 연결 구조가 최적이라는 보장이 없습니다. 가능한 cross-scale 연결은 층 수에 따라 빠르게 늘어나 일일이 살펴보기 어렵습니다.
- **연구 방법** NAS-FPN은 모든 cross-scale 연결을 담는 탐색 공간에서 controller RNN이 merging cell을 골라 피라미드 구조를 찾습니다.
- **주요 결과** AmoebaNet-D 백본과 결합한 NAS-FPN은 COCO에서 48.3 AP를 기록해 Mask R-CNN보다 높은 정확도를 보였습니다.

## 수작업 설계 FPN의 한계

객체 검출은 여러 크기와 위치에 흩어진 객체를 찾아야 하므로, 다중 스케일 특징 피라미드를 만드는 구조가 중요합니다. 이 논문이 기준으로 삼는 FPN은 백본의 인접한 두 층을 top-down 연결과 lateral 연결로 순차적으로 결합해 피라미드를 만듭니다. FPN은 단순하고 효과적이지만, 사람이 설계한 구조가 최적이라는 보장은 없습니다. 이후 PANet처럼 bottom-up 경로를 추가하거나 여러 cross-scale 연결을 제안한 연구가 이어졌지만, 가능한 연결의 공간은 층 수에 따라 빠르게 커집니다. 이 논문은 이 넓은 설계 공간을 Neural Architecture Search로 탐색하는 문제를 다룹니다.

## cross-scale 연결을 담는 탐색 공간

NAS-FPN은 모든 cross-scale 연결을 담는 search space를 설계하고, 그 안에서 반복 적용할 수 있는 atomic 구조를 찾습니다. 피라미드 네트워크는 여러 merging cell로 이루어지며, 각 cell은 두 입력 특징 층을 골라 이항 연산으로 결합해 새 출력 층을 만듭니다. 입력은 {C3, C4, C5, C6, C7}이고 출력은 {P3, P4, P5, P6, P7}입니다. 입출력의 스케일이 같으므로 피라미드 네트워크를 N번 쌓을 수 있습니다. 탐색 대상은 입력 층 선택, 두 번째 층 선택, 출력 해상도 선택, 이항 연산 선택의 네 단계로 나뉩니다.

## controller와 proxy task 기반 탐색

controller RNN은 merging cell의 네 가지 선택을 softmax 분류기로 결정합니다. 자식 구조는 proxy task에서 짧게 학습하고, 측정한 AP를 보상으로 사용해 PPO로 controller를 갱신합니다. proxy task는 RetinaNet을 50 epochs 대신 10 epochs로 학습하고, ResNet-10 백본과 512×512 입력을 사용합니다. 이 설정은 탐색 단계의 설정이며, 탐색으로 찾은 최고 AP 구조를 이후 실제 RetinaNet의 FPN 부분에 적용해 COCO에서 학습합니다. 따라서 탐색 설정과 최종 학습 설정은 구분해서 읽어야 합니다.

## 스택 구조와 백본에 따른 정확도와 계산량

NAS-FPN은 피라미드 네트워크를 쌓는 방식으로 용량을 조절합니다. 실험에서 vanilla FPN을 쌓는 것은 항상 성능을 높이지 않았지만, NAS-FPN은 쌓을수록 정확도가 뚜렷하게 올랐습니다. 탐색은 3개 pyramid network로 수행했지만 평가에서는 최대 7개까지 적용했습니다. MobilenetV2 백본과 640×640 입력에서 NAS-FPN은 36.6 AP와 160B FLOPs를 기록했고, AmoebaNet-D 백본으로 바꾸면 FLOPs는 390B로 늘고 AP는 약 5 AP 올랐습니다. 특징 차원을 바꾼 실험에서는 R-50 7 @ 256이 R-50 3 @ 384와 비슷한 AP를 더 적은 FLOPs로 냈습니다.

## 고정밀 설정의 COCO 결과

AmoebaNet-D 백본과 NAS-FPN을 결합했을 때 단일 모델·단일 테스트 스케일에서 48.3 AP를 기록했습니다. 같은 논문의 Figure 9a 비교에서 NAS-FPN R-50 5 @256은 R-101 FPN 기준선과 비슷한 FLOPs에서 2.5 AP 높았습니다. 저자들은 이를 더 높은 용량의 백본을 쓰는 것보다 NAS-FPN을 쓰는 편이 효과적이라는 증거로 봅니다. 한편 Mask R-CNN과의 비교에서는 더 적은 추론 시간으로 비슷한 정확도를 보였다고 설명합니다. 이 비교는 논문의 Table 1과 Figure 9a에 담긴 조건에서 읽어야 합니다.

## 모바일 설정의 NAS-FPNLite

모바일용으로는 NAS-FPNLite를 소개합니다. 이 변형은 P3부터 P6까지 출력을 탐색하고, SSDLite 방식에 따라 convolution을 depth-wise separable convolution으로 바꿉니다. NAS-FPNLite는 MobilenetV2와 결합해 RetinaNet에서 평가했습니다. 특징 차원을 48 또는 64로 맞춰 FLOPs와 Pixel 1 CPU 실행 시간이 비슷해진 설정에서 NAS-FPNLite가 SSDLite와 FPNLite보다 높은 AP를 보였습니다. 이 비교는 모바일 설정에 한정되며 고정밀 설정의 결과로 확장되지 않습니다.

## DropBlock으로 확장한 모델의 정규화

NAS-FPN은 새 층을 많이 도입하므로 과적합을 막을 정규화가 필요합니다. 저자들은 DropBlock을 block size 3x3으로 NAS-FPN 층의 batch normalization 뒤에 적용했습니다. ResNet-50 백본과 1024×1024 입력에서 feature dimension 256과 384를 비교했을 때, DropBlock은 두 설정 모두에서 성능을 개선했고 특징 차원이 클수록 효과가 더 중요하게 나타났습니다. 기본 실험에서는 공정한 비교를 위해 DropBlock을 적용하지 않았습니다.

## 중간 출력으로 검출하는 anytime 설정

NAS-FPN은 피라미드 네트워크를 쌓는 구조라서 중간 출력에서도 검출 결과를 얻을 수 있습니다. 학습 때는 중간 피라미드 네트워크마다 분류기와 box 회귀 head를 붙이고 deep supervision으로 함께 학습합니다. 추론 때는 전체 네트워크를 끝까지 계산하지 않고 원하는 출력에서 멈출 수 있습니다. R-50 @ 384 NAS-FPN에서 deep supervision으로 학습하고 early exit으로 평가한 모델은 deep supervision 없이 학습한 모델과 비슷한 정확도를 보였습니다.

## 검증 범위의 제약

실험은 COCO에서 학습과 평가를 수행했고, 모바일 비교는 MobilenetV2와 SSDLite 기준에 한정됩니다. 탐색은 짧은 proxy task와 ResNet-10 백본으로 진행했으므로, 그 점수가 최종 RetinaNet 학습 결과와 완전히 같다고 보기는 어렵습니다. 또 anytime detection의 비교는 R-50 @ 384 설정에서만 제시됩니다. 이 논문에서 확인한 범위는 COCO 객체 검출과 여기서 제시한 백본 설정입니다.

## 논문 정보

- **저자**: Golnaz Ghiasi, Tsung-Yi Lin, Ruoming Pang, Quoc V. Le
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2019년 4월 16일
- **등록일**: 2026년 11월 12일
- **수정일**: 2019년 4월 16일
- **버전**: v1
- **arXiv**: 1904.07392
- **분류**: cs.CV · cs.LG
- **원문 이용 조건**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **제공 범위**: 논문 정보, 해설

[논문 원문 ↗](https://arxiv.org/abs/1904.07392v1) · [원문 PDF ↗](https://arxiv.org/pdf/1904.07392v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 원문 인용

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}
}
```

## 이 논문의 용어

- [강화학습](https://refivu.com/terms/9d55ef3a06b9-reinforcement-learning)
- [COCO](https://refivu.com/terms/41f3215c4f4a-coco)
- [Proximal Policy Optimization](https://refivu.com/terms/59b59e5d0f9d-proximal-policy-optimization)
- [ResNet-50](https://refivu.com/terms/eb2323a60a89-resnet-50)
- [FLOPs](https://refivu.com/terms/14c405888d5b-flops)
- [focal loss](https://refivu.com/terms/55a77da0ac9c-focal-loss)
- [Mask R-CNN](https://refivu.com/terms/6da881f24c0c-mask-r-cnn)
- [Object detection](https://refivu.com/terms/113bfdb14049-object-detection)
- [RetinaNet](https://refivu.com/terms/7a1197d7203b-retinanet)
- [Feature Pyramid Network](https://refivu.com/terms/f5b902e34e57-feature-pyramid-network)
- [average precision (AP)](https://refivu.com/terms/5ded7cefa324-average-precision-ap)
- [deep supervision](https://refivu.com/terms/5fe4f2985157-deep-supervision)
- [Neural architecture search](https://refivu.com/terms/d4ae6f1efac1-neural-architecture-search)
- [MobileNetv2](https://refivu.com/terms/6438731bd168-mobilenetv2)
- [DropBlock](https://refivu.com/terms/8bf96bbc3f3f-dropblock)
- [controller RNN](https://refivu.com/terms/49c102682003-controller-rnn)
- [depth-wise separable convolution](https://refivu.com/terms/1adc3bd75831-depth-wise-separable-convolution)
- [Global Pooling](https://refivu.com/terms/f452f243486d-global-pooling)
- [NAS-FPN](https://refivu.com/terms/d323c2076ac0-nas-fpn)
- [proxy task](https://refivu.com/terms/e578214cd5d0-proxy-task)
- [ResNet-10](https://refivu.com/terms/966cd9fb365d-resnet-10)

## 다른 논문 해설

- [Understanding Convolution for Semantic Segmentation](https://refivu.com/papers/c32b12c2-d4e5-4e10-b7c6-b643713776fc-understanding-convolution-for-semantic-segmentation.md)
- [U-Net and its variants for medical image segmentation: theory and applications](https://refivu.com/papers/5abacf20-aec6-4167-a412-5f86ce7796b6-u-net-and-its-variants-for-medical-image.md)
- [Unsupervised Image-to-Image Translation Networks](https://refivu.com/papers/23eee1aa-7651-4535-93bf-d37262ee5dff-unsupervised-image-to-image-translation-networks.md)
- [Methods of Hierarchical Clustering](https://refivu.com/papers/b67289cf-e579-4f78-a7ff-bdea1acaa376-methods-of-hierarchical-clustering.md)
- [TSM: Temporal Shift Module for Efficient Video Understanding](https://refivu.com/papers/e7e3764b-d00b-4555-9a23-62f113a3fdfe-tsm-temporal-shift-module-for-efficient-video-understanding.md)
- [Learning Deep CNN Denoiser Prior for Image Restoration](https://refivu.com/papers/e6af5c0e-57ae-4b96-acf1-3a40058beb53-learning-deep-cnn-denoiser-prior-for-image-restoration.md)
- [Learning Bayesian Networks with the bnlearn R Package](https://refivu.com/papers/bdeeb8df-cd3a-419f-af61-f58819af852d-learning-bayesian-networks-with-the-bnlearn-r-package.md)
- [A Survey on In-context Learning](https://refivu.com/papers/e3dcb216-0b54-4a23-8e0d-f077c493f505-a-survey-on-in-context-learning.md)
- [Probabilistic Latent Semantic Analysis](https://refivu.com/papers/2bb41f8f-b6cc-410c-9347-fd84aed3b2b4-probabilistic-latent-semantic-analysis.md)
- [Why Does Unsupervised Pre-training Help Deep Learning?](https://refivu.com/papers/3f55f5cd-2a12-4ee1-a077-99e6003156f6-why-does-unsupervised-pre-training-help-deep-learning.md)
- [Deep Learning for Sentiment Analysis : A Survey](https://refivu.com/papers/423bc94d-8ef5-42e2-a68f-87cb54c7636d-deep-learning-for-sentiment-analysis-a-survey.md)
- [InternVL3: Exploring Advanced Training and Test-Time Recipes for Open-Source Multimodal Models](https://refivu.com/papers/93e60b18-9322-49b4-85e3-af682c647d05-internvl3-exploring-advanced-training-and-test-time-recipes.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/52a19738-611e-4c4e-b54f-2e9b88114304-nas-fpn-learning-scalable-feature-pyramid-architecture-for)
