# Restoring Negative Information in Few-Shot Object Detection

퓨샷 객체 탐지에서 부정 정보 복원

Yukuan Yang, Fangyun Wei, Miaojing Shi, Guoqi Li · arXiv · 2020년 10월 22일

- **연구 문제** 소수 샷 객체 탐지에서 부정 제안이 버려져 거짓 양성이 늘어나는 문제를 다룹니다.
- **연구 방법** RepMet에 부정 대표와 NP-임베딩을 추가하고, 추론에서는 클러스터링으로 어려운 부정 제안을 골라 긍정 대표와 함께 사용합니다.
- **주요 결과** ImageNet-LOC 1-shot에서 RepMet의 56.9보다 높은 68.5를 기록했고, PASCAL VOC 2007 두 번째 분할 1-shot에서는 41.6을 기록했습니다.

## 새 클래스 탐지에서 부정 제안이 버려지는 문제

소수 샷 객체 탐지는 기본 클래스에서 학습한 뒤, 새 클래스의 지원 이미지 몇 장만으로 새 객체를 찾아야 합니다. 기존 연구들은 소수 샷 분류 방식을 옮기기 쉽도록, 지원 이미지에서 정답 상자와 IoU가 큰 긍정 제안만 취하고 부분 객체나 복잡한 배경을 포함한 부정 제안은 버리는 경향이 있습니다. 이렇게 버려진 제안은 최종 탐지에서 거짓 양성으로 남기 쉽습니다. 저자들은 완전 지도 객체 탐지에서 어려운 부정 예제가 분류기의 견고성을 높이는 데 쓰인다는 점에 주목하고, 이 정보를 소수 샷 탐지의 임베딩 공간 학습에 복원하려고 합니다.

![Figure 1: Restoring negative information in few-shot object detection](https://refivu.com/papers/faae2551-d345-4f5a-be59-2e8774eba731/figures/figure-ffb07b4621b39a05e0bb394acad497c8.png?thumb=512)

**Figure 1** : Restoring negative information in few-shot object detection.

[원문](https://arxiv.org/abs/2010.11714v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yukuan Yang, Fangyun Wei, Miaojing Shi, Guoqi Li · Restoring Negative Information in Few-Shot Object Detection · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

## NP-RepMet의 긍정·부정 대표와 NP-임베딩

NP-RepMet은 RepMet을 기반으로 긍정 대표 Rp와 부정 대표 Rn을 별도의 FC 계층에서 학습합니다. 제안은 정답 상자와의 IoU가 0.7보다 크면 긍정, 0.2에서 0.3 사이이면 부정으로 나뉩니다. 각 제안은 두 벡터 En과 Ep로 임베딩되지만, 한 제안에 대해서는 자신의 범주에 해당하는 임베딩만 해당 대표를 학습하는 데 쓰입니다. 긍정 제안은 Ep를 긍정 대표에 가깝게, 부정 대표에 멀게 하는 삼중항 손실로 학습되며, 부정 제안은 이 관계가 뒤바뀝니다. 클래스 확률은 두 거리 min d(Ep,Rp)와 min d(En,Rn)을 사용하여 계산되며, β는 0.3으로 정해졌습니다. 이 확률은 긍정 제안일수록 커지도록 설계되어 있습니다.

![Figure 4: Distribution of positive and negative class representatives in NP-RepMet on PASCAL VOC 2007. (a) T-SNE visualization of positive class representative…](https://refivu.com/papers/faae2551-d345-4f5a-be59-2e8774eba731/figures/figure-900965355dcc2d774d745512836db2bd.png?thumb=512)

**Figure 4** : Distribution of positive and negative class representatives in NP-RepMet on PASCAL VOC 2007. (a) T-SNE visualization of positive class representatives. Different colors indicate different classes; (b) T-SNE visualization of negative class representatives and the selected hard negative proposals from the support images (3-shot) of a speciﬁc class bus.

[원문](https://arxiv.org/abs/2010.11714v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yukuan Yang, Fangyun Wei, Miaojing Shi, Guoqi Li · Restoring Negative Information in Few-Shot Object Detection · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 새 클래스 추론에서 부정 제안을 고르는 방식

추론 단계에서는 학습된 대표를 새 클래스 지원 이미지의 임베딩으로 대체합니다. 부정 제안은 수가 많으므로, 먼저 0.2와 0.3 사이의 IoU 조건으로 어려운 후보를 고른 뒤, 부정 임베딩 간 내적 유사도 행렬에 스펙트럴 클러스터링을 적용해 K개의 클러스터를 얻습니다. 이후 각 클러스터에서 다른 제안까지의 평균 거리가 최소인 중심 제안을 선택하는 방식이 Cluster-Min입니다. 후보 수가 수십 개 수준으로 줄어들었기 때문에 이 클러스터링은 작은 규모에서 빠르게 풀 수 있다고 원문은 설명합니다.

![Table 2: Results on ImageNet-LOC 1-shot setting. Left: ablation negative proposal selection at inference. Right: parameter variations of β (top) and IoU (botto…](https://refivu.com/papers/faae2551-d345-4f5a-be59-2e8774eba731/figures/figure-8e4c93385bf3b267dbd0aff75130de8c.png?thumb=512)

**Table 2** : Results on ImageNet-LOC 1-shot setting. Left: ablation negative proposal selection at inference. Right: parameter variations of β (top) and IoU (bottom) for hard negatives.

[원문](https://arxiv.org/abs/2010.11714v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yukuan Yang, Fangyun Wei, Miaojing Shi, Guoqi Li · Restoring Negative Information in Few-Shot Object Detection · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## ImageNet-LOC에서의 비교와 절제

ImageNet-LOC에서는 기본 클래스 100개와 새 클래스 214개를 사용하고, RepMet의 1, 5, 10-shot 설정을 따랐습니다. 1-shot에서 RepMet은 mAP 56.9, NP-RepMet은 68.5이며, 5-shot은 68.8과 75.0, 10-shot은 71.5와 76.3입니다. 기본 클래스 평가에서는 RepMet이 86.0, 90.2, 90.5이고 NP-RepMet은 93.7, 94.0, 95.3입니다. 절제 실험은 1-shot 설정에서만 수행되었으며, 단일 임베딩은 mAP 65.8, NP-임베딩은 68.5를 기록했습니다. Pos-inference는 RepMet 학습 모델에서 56.9, NP-RepMet 학습 모델에서 57.4였고, NP-inference는 NP-RepMet 학습 모델에서 68.5입니다.

Cluster-Min은 68.5, 무작위 선택 RD는 66.5, 클러스터 내 무작위 선택 Cluster-RD는 67.1입니다.

![Table 1: Results on ImageNet-LOC. Left: comparison with RepMet and baseline-FT in 1, 5 and 10-shot detection. Right: ablation study of NP-embedding (top) and N…](https://refivu.com/papers/faae2551-d345-4f5a-be59-2e8774eba731/figures/figure-b15f9882a7e8fdd6435120e43151c905.png?thumb=512)

**Table 1** : Results on ImageNet-LOC. Left: comparison with RepMet and baseline-FT in 1, 5 and 10-shot detection. Right: ablation study of NP-embedding (top) and NP-inference (bottom) in 1-shot detection.

[원문](https://arxiv.org/abs/2010.11714v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yukuan Yang, Fangyun Wei, Miaojing Shi, Guoqi Li · Restoring Negative Information in Few-Shot Object Detection · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

## PASCAL VOC 2007 결과와 적용 범위

PASCAL VOC 2007에서는 15개 클래스를 학습에, 나머지 5개를 새 클래스 평가에 사용했습니다. 원문은 두 번째 분할의 1-shot에서 NP-RepMet이 mAP 41.6을 기록했고, 이것이 이전 최고 결과 21.8보다 19.8% 높다고 보고합니다. 원문은 새 클래스의 지원 집합이 커지면 부정 정보 복원의 효과가 줄어든다고 설명합니다. 원문은 저자들의 재현 RepMet 결과와 다른 연구 결과가 서로 다른 지원 집합을 사용했을 수 있다는 점도 밝힙니다. 따라서 이 결과는 PASCAL VOC 2007의 제시된 분할과 shot 설정에서 얻은 것입니다.

![Table 3: Performance on PASCAL VOC 2007 novel classes](https://refivu.com/papers/faae2551-d345-4f5a-be59-2e8774eba731/figures/figure-47ae5109f1370387c92242880b7c7900.png?thumb=512)

**Table 3** : Performance on PASCAL VOC 2007 novel classes.

[원문](https://arxiv.org/abs/2010.11714v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yukuan Yang, Fangyun Wei, Miaojing Shi, Guoqi Li · Restoring Negative Information in Few-Shot Object Detection · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 절제 범위와 해석의 한계

절제 실험은 ImageNet-LOC의 1-shot 설정에서만 수행되었습니다. 따라서 여기서 얻은 구성 요소의 효과가 다른 shot 설정으로 직접 확장된다고 보기는 어렵습니다. 또한 Cluster-Min과 무작위 선택의 차이는 해당 설정의 평균 mAP로 제시되었으며, 다른 클러스터 수나 IoU 구간에서의 결과는 본문 표에 제시된 범위 안에서만 확인됩니다. 원문도 다른 지원 집합에 따라 결과가 달라질 수 있다고 밝히고 있습니다.

## 논문 정보

- **저자**: Yukuan Yang, Fangyun Wei, Miaojing Shi, Guoqi Li
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2020년 10월 22일
- **등록일**: 2026년 11월 5일
- **수정일**: 2020년 10월 26일
- **버전**: v2
- **arXiv**: 2010.11714
- **분류**: cs.CV · cs.AI
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

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

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

## 초록

Few-shot learning has recently emerged as a new challenge in the deep learning field: unlike conventional methods that train the deep neural networks (DNNs) with a large number of labeled data, it asks for the generalization of DNNs on new classes with few annotated samples. Recent advances in few-shot learning mainly focus on image classification while in this paper we focus on object detection. The initial explorations in few-shot object detection tend to simulate a classification scenario by using the positive proposals in images with respect to certain object class while discarding the negative proposals of that class. Negatives, especially hard negatives, however, are essential to the embedding space learning in few-shot object detection. In this paper, we restore the negative information in few-shot object detection by introducing a new negative- and positive-representative based metric learning framework and a new inference scheme with negative and positive representatives. We build our work on a recent few-shot pipeline RepMet with several new modules to encode negative information for both training and testing. Extensive experiments on ImageNet-LOC and PASCAL VOC show our method substantially improves the state-of-the-art few-shot object detection solutions. Our code is available at https://github.com/yang-yk/NP-RepMet.

## 원문 인용

Yukuan Yang, Fangyun Wei, Miaojing Shi, Guoqi Li (2020). Restoring Negative Information in Few-Shot Object Detection. arXiv:2010.11714v2. https://arxiv.org/abs/2010.11714v2

**BibTeX**

```
@misc{yang2020restoring,
  title = {{Restoring Negative Information in Few-Shot Object Detection}},
  author = {Yukuan Yang and Fangyun Wei and Miaojing Shi and Guoqi Li},
  year = {2020},
  eprint = {2010.11714},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.11714v2}
}
```

## 이 논문의 용어

- [PASCAL VOC 2007](https://refivu.com/terms/ff90fa43ba1c-pascal-voc-2007)
- [spectral clustering](https://refivu.com/terms/21fd8dbd5474-spectral-clustering)
- [Intersection over Union (IoU)](https://refivu.com/terms/fd2d9ae89f7a-intersection-over-union-iou)
- [Soft-NMS](https://refivu.com/terms/2394dbd2b1ba-soft-nms)
- [online hard example mining](https://refivu.com/terms/94a945a4433a-online-hard-example-mining)

## 다른 논문 해설

- [Edge-Cloud Collaborated Object Detection via Difficult-Case Discriminator](https://refivu.com/papers/6c563382-b07f-4499-b0d2-cae4199ee500-edge-cloud-collaborated-object-detection-via-difficult-case.md)
- [PROB: Probabilistic Objectness for Open World Object Detection](https://refivu.com/papers/7afdf10e-6825-4f0b-aa2f-4309d8ee5ff4-prob-probabilistic-objectness-for-open-world-object.md)
- [Towards a Better Understanding of the Computer Vision Research Community in Africa](https://refivu.com/papers/63248fc6-dd10-464a-9968-19eb1c0af529-towards-a-better-understanding-of-the-computer-vision.md)
- [FROD: Robust Object Detection for Free](https://refivu.com/papers/7a50c866-e6cc-4aad-b404-c4a126f131b9-frod-robust-object-detection-for-free.md)
- [Anomaly Detection on Resource-Constrained Devices with Reservoir Computing](https://refivu.com/papers/b909941d-e287-4f66-8b9f-18079af6059c-anomaly-detection-on-resource-constrained-devices-with.md)
- [Robustness Verification against Patch Attacks via Group-Lasso Semidefinite Relaxation](https://refivu.com/papers/ddda5624-092c-461b-b4de-5bf35fa7998b-robustness-verification-against-patch-attacks-via-group.md)
- [Honest Small Decision Models for Finance: Scale, Specialization Collapse, and Mixed-Corpus Remediation](https://refivu.com/papers/7a9a2694-dbb6-41dd-a5c8-2f7bfc5a8bbf-honest-small-decision-models-for-finance-scale.md)
- [LoRA-Patch: Defending Against Backdoored LoRA Adapters via Directional Steering](https://refivu.com/papers/a2a0bf8e-4307-4c12-921a-7ff99465ceb9-lora-patch-defending-against-backdoored-lora-adapters-via.md)
- [Language Models Can Benefit from Domain-Specific Inductive Biases](https://refivu.com/papers/ecf0e8f5-8763-4d53-8896-37d657f3527c-language-models-can-benefit-from-domain-specific-inductive.md)
- [PROSE: Preservation-Constrained Selective Editing for Guilty Bias in Legal Judgment Prediction](https://refivu.com/papers/3f4357a8-f4ba-4538-87bd-6b1b37f20d53-prose-preservation-constrained-selective-editing-for-guilty.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/faae2551-d345-4f5a-be59-2e8774eba731-restoring-negative-information-in-few-shot-object-detection)
