Beyond Max-Margin: Class Margin Equilibrium for Few-shot Object Detection
Preprint
Abstract
Few-shot object detection has made substantial progressby representing novel class objects using the feature representation learned upon a set of base class objects. However,an implicit contradiction between novel class classification and representation is unfortunately ignored. On the one hand, to achieve accurate novel class classification, the distributions of either two base classes must be far away fromeach other (max-margin). On the other hand, to precisely represent novel classes, the distributions of base classes should be close to each other to reduce the intra-class distance of novel classes (min-margin). In this paper, we propose a class margin equilibrium (CME) approach, with the aim to optimize both feature space partition and novel class reconstruction in a systematic way. CME first converts the few-shot detection problem to the few-shot classification problem by using a fully connected layer to decouple localization features. CME then reserves adequate margin space for novel classes by introducing simple-yet-effective class margin loss during feature learning. Finally, CME pursues margin equilibrium by disturbing the features of novel class instances in an adversarial min-max fashion. Experiments on Pascal VOC and MS-COCO datasets show that CME significantly improves upon two baseline detectors (up to $3\sim 5\%$ in average), achieving state-of-the-art performance. Code is available at https://github.com/Bohao-Lee/CME .
Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- Harmonic Feature Activation for Few-Shot Semantic SegmentationIEEE Transactions on Image Processing, 2021
- AMN: Attention Metric Network for One-Shot Remote Sensing Image Scene ClassificationRemote Sensing, 2020
- Few-Shot Object Detection and Viewpoint Estimation for Objects in the Wild2020
- Prototype Mixture Models for Few-Shot Semantic Segmentation2020
- Negative Margin Matters: Understanding Margin in Few-Shot Classification2020
- Multi-scale Positive Sample Refinement for Few-Shot Object Detection2020
- DeepEMD: Few-Shot Image Classification With Differentiable Earth Mover’s Distance and Structured Classifiers2020
- Meta R-CNN: Towards General Solver for Instance-Level Low-Shot Learning2019
- Learning to Learn: Model Regression Networks for Easy Small Sample Learning2016
- Faster R-CNN: Towards Real-Time Object Detection with Region Proposal NetworksIEEE Transactions on Pattern Analysis and Machine Intelligence, 2016