In the past decade, there has been a transformative revolution in computer vision cultivated by the adoption of deep learningkrizhevsky2012nips . Driven by the increasing availability of large annotated datasets and efficient training techniques, deep learning-based solutions have been progressively employed from image classification to action recognition. The majority of deep learning methods are designed to solve fully-supervised problems where large amount of data come with carefully assigned labels. In contrast, humans, even children can easily recognize a multitude of objects in images when told only once or few times, despite the fact that the image of objects may vary in different viewpoints, sizes and scales. This ability, however, is still a challenge for machine perception.
To enable machine perception with only few training samples, some studies start shifting towards the so-called few-shot learning problem: after learning on a set of base (seen) classes with abundant examples, new tasks are given with only few support images of novel (unseen) classes. Recent advances in few-shot learning mainly focus on image classification and recognition tasks snell2017nips ; vinyals2016nips ; hariharan2017iccv ; lifchitz2019cvpr ; li2019few ; peng2019few ; tokmakov2019learning . Nonetheless, few-shot learning can also be applied to more complex tasks, e.g. object detection kang2019iccv ; karlinsky2019cvpr ; yan2019iccv ; wang2019iccv ; fan2020cvpr , assuming bounding box annotations are available in few support images for new classes. Investigation further this line is very limited. Initial explorations resemble solutions in the few-shot classification snell2017nips ; vinyals2016nips , where prototype representations are learned karlinsky2019cvpr and weighted kang2019iccv ; yan2019iccv from the few labeled samples per class, and used to match the query sample of a specific class.
For the convenience of adapting few-shot classification methods, the common practice in few-shot object detection kang2019iccv ; karlinsky2019cvpr ; wang2019iccv ; yan2019iccv ; fan2020cvpr directly extracts positive proposals (green boxes in Figure. 1) of large Intersection over Union (IoU) with ground truth (yellow) from support images, while discards negative proposals (red) containing partial objects, ambiguous surrounds, or complex backgrounds in images. As a result, these negative proposals often end up as false positives in the final detection (see Figure. 3). In the meantime, negative proposals in fully-supervised object detection girshick2014cvpr ; girshick2015iccv ; wei2020point are carefully evaluated via their IoU with ground truth; hard negatives (e.g. <IoU<
) are particularly selected to train against with and improve the robustness of the classifier.
Building upon the above observation, the purpose of this study is to restore the negative information properly in few-shot object detection. Our essential idea is to make use of both positive and negative proposals in training images (Figure. 1
): an embedding space can be learnt upon them where distances correspond to a measure of object similarity to both positive and negative representatives. Once this space is learnt, few-shot object detection can be easily implemented using any standard techniques with our proposed embedding method as feature vectors. Without loss of generality, we build our work on top of an established pipeline, RepMetkarlinsky2019cvpr , where multiple positive representatives are learnt for each base class at training, and replaced by embedding vectors from positive proposals of support images for new classes at testing. In light of the importance of negative information in images, we propose to split the class representation in RepMet into two modules to learn negative and positive representatives separately; the embedding vector of a given proposal is also replaced with a new negative and positive embedding (NP-embedding). The optimization of the embedding space differs between negative and positive proposals: if a proposal is positive to a certain class, we want to push it close to those positive representatives of that class and away from those negative representatives of that class; if it is negative to a certain class, the optimization is the opposite. We introduce triplet losses based on the NP-embedding for this purpose. The class label prediction branch in RepMet is also adapted with the proposed NP-embedding.
At the inference stage with new classes, the learnt representatives are replaced with embedding vectors from both positive and negative proposals harvested in supported images. The number of negative proposals is much more than that of positive proposals. To select hard and diverse negatives, we first choose them with an IoU criterion (<IoU<) w.r.t ground truth; a clustering-based selection strategy is further introduced to guarantee the diversity of negative proposals.
To our knowledge, we are the first to present the idea of restoring negative information in few-shot object detection. The contribution of our work is three-fold:
We introduce a new negative- and positive-representative based metric learning framework (NP-RepMet) with negative information incorporated in different modules for better feature steering in the embedding space.
We propose a new inference scheme using both negative and positive representatives; for harvesting the hard and diverse negatives from the support set, a clustering-based hard negative selection strategy is also introduced.
2 Related Works
Few-shot learning. Few shot learning is not a new problem: its target is to recognize previously unseen classes with very few labeled samples li2006pami ; lake2013nips ; lake2015science ; santoro2016icml ; weston2014arxiv ; graves2014arxiv . The recent resurgence in interest of few-shot learning is through the so-called meta-learning bertinetto2016nips ; finn2017icml ; koch2015icmlw ; santoro2016icml ; vinyals2016nips , where meta-learning and meta-testing are performed in a similar manner; representative works in image classification include matching network vinyals2016nips and prototypical network snell2017nips . Apart from meta-learning, some other approaches make use of sample synthesis and augmentation in few-shot learning chen2018arxiv ; hariharan2017iccv ; schwartz2018nips ; wang2018cvpr .
Few-shot object detection. In contrast to classification, few-shot object detection is not largely explored. Karlinsky et al. karlinsky2019cvpr introduce an end-to-end representative-based metric learning approach (RepMet) for few-shot detection; Kang et al. kang2019iccv present a new model using a meta feature learner and a re-weighting module to fast adjust contributions of the basic features to the detection of new classes. Fan et al. fan2020cvpr extend the matching network by learning on image pairs based on the Faster R-CNN framework, which is equipped with multi-scale and shaped attentions. Some other works modelling the meta-knowledge based on Faster R-CNN can be found in wang2019iccv ; yan2019iccv . These approaches fall within the meta-learning regime. Whilst there exist many other works trying to solve the problem from the domain transfer/adaption perspective chen2018aaai ; wang2019cvpr . For instance, Chen et al. chen2018aaai
propose a low-shot transfer detector (LSTD) to leverage rich source-domain knowledge to construct a target-domain detector with few training examples. Transfer learning inchen2018aaai ; wang2019cvpr requires training on both source (base) and target (new) classes. Meta-learning instead can be more efficient in the sense its predication on new classes can be directly achieved via network inference. In this paper, we focus on the meta-learning.
Comparison to RepMet. Our work is built on RepMet karlinsky2019cvpr but substantially improves it with the restoration of negative information at both training and inference stages. It should be noted that negative information has been used in RepMet similar to the usage of negatives in few-shot image classification: class representatives from different classes are considered as negatives to each other; online hard example mining (OHEM) shrivastava2016cvpr is also adopted. These negatives are collected across images, we instead bootstrap the classifier with negatives both within and across images. Mining negatives within the same image of positives is rather standard for fully supervised object detection girshick2014cvpr ; girshick2015iccv ; ren2015nips ; he2015pami , as it provides a better feature steering in the embedding space. We believe this essential idea should also apply to the few-shot object detection.
RepMet. Some core modules of RepMet karlinsky2019cvpr are illustrated in Figure. 2 with light green background. It learns positive class representatives as weights of an FC layer of size , where and denote the -th class and -th representative. is the number of classes, is the total number of representatives per class, and denotes the dimensionality of each representative. In the training stage, a given foreground (positive, e.g. IoU0.7 in Figure. 2) proposal is embedded through the DML embedding module as a vector . The network computes distance from to representatives . The distances are optimized with 1) a cross entropy loss to predict the correct class label; 2) an embedding loss to enforce a margin between the distance of to the closest representative of the correct class and the closest representative of a wrong class.
Negative information restoration. We build our work on RepMet with negative and positive information, and name it NP-RepMet in Figure. 2. At training stage, apart from positive representatives (), negative representative () are also learnt with another FC layer of size . Given an object proposal from RPN, we modify the original DML embedding module from karlinsky2019cvpr to branch off two vectors ( and ) to learn and separately. is categorized as either positive or negative proposal according to its IoU with the ground truth. If is positive to class , only its positive embedding is used to learn ; if is negative to class , only
is used vice versa. Different embedding loss functions are proposed for the two scenarios. Bothand
are used to compute the class posterior probability ofin a form of a cross entropy loss to the ground truth label. When testing with new classes, the learnt () are replaced with the negative (positive) embedding vectors () of negative (positive) proposals from support images.
3.2 Negative- and Positive-Representative Based Metric Learning
The essential idea of this work is to restore negative information in the few-shot learning pipeline and learn the embedding space from both negative and positive information. Applying this idea to RepMet offers several new modules (Figure. 2):
Negative and positive representatives. Apart from positive representatives () in RepMet, another FC layer for negative representatives () are delivered. Two sets of representatives will therefore be learnt for each class. Both and are randomly initialized. They are learnt with different information.
Negative and positive proposals. Given proposals produced by RPN, we separate positive and negative proposals () according to their IoU w.r.t the ground truth . Concretely, we take those of IoU(, ) 0.7 as positives and those of 0.2 IoU(, ) 0.3 as negatives.
Negative and positive embedding (NP-embedding). Given an object proposal from a training image, instead of embedding it into a single vector, we embed it into two vectors ( and ) to learn and separately. This is achieved by branching off another convolutional layer after the second last layer of the DML embedding module in RepMet. This separated embedding allows faster and more optimal convergence of the learning on and .
With the availability of above modules, we define new triplet losses to learn and .
Triplet losses based on NP-embedding. We treat positive and negative proposals separately to learn the embedding space for and . Given a positive proposal of class , we have two distances for it: 1) the distance from its positive embedding vector to its closest positive representative of the same class; 2) the distance from its positive embedding vector to its closest negative representative of the same class. The former should be smaller than latter. We define a triplet loss accordingly:
where denotes the Euclidean distance, and
is the ReLu function;is inherited from RepMet: from a different class of is also taken as a useful negative if it has the closest distance to over the positive representatives of all the other classes (similar to the usage in a classification task). Following karlinsky2019cvpr , we ensure an margin in Equation (1). Positive proposals of other object classes (e.g. bicycle, aeroplane, etc.) are mostly easy negatives to the current class (e.g. car), as they have different appearances. In contrast, negative proposals from images of the current class (e.g. car) are harder as they could contain partial, occluded, or entire object of the class (Figure. 1). Adding these hard negatives into the model learning results in a more robust classifier.
Similarly, if is a negative proposal, terms of “positive" and “negative" in the above distances are swapped. Its loss function becomes,
Note that for a given proposal , either the positive or negative embedding is used for learning the representatives. In the next, we will present a new probability computing module where both and of are used for its label prediction.
Probability computing based on NP-embedding. The probability computing module is responsible for the label prediction of and is optimized with the cross entropy loss. In RepMet, this module computes the upper bound of the real class probability by taking the minimal Euclidean distance of , , over all the modes of for class . Considering the fact that ground truth will not be available at test time, the cross entropy loss in NP-RepMet should be optimized with both and . Following the same logic in karlinsky2019cvpr , we compute the minimum of and and define the class probability as:
Distances are mapped to a probability using a Gaussian function like in karlinsky2019cvpr . Parameter 0 is introduced to give a higher credit for the positive distance in (3). Each distance is computed with normalized feature vectors which results in a value , is thus added to make sure the distance subtraction to be non-negative. is empirically chosen as 0.3. If is a positive proposal for class , should be big; otherwise, it should be small.
The overall loss function is a combination of the class cross entropy loss and triplet losses.
3.3 Inference with Negative and Positive Representatives
Figure. 2 illustrates the inference work flow in red. At inference, new classes are given with a small support set of labeled data. We follow the same procedure with RepMet to extract positive proposals. As for negative proposals, there exists a substantial amount of them, we introduce a clustering-based selection strategy to find diverse and hard negatives.
Clustering-based hard negative selection. Similar to Sec. 3.2, for a given class and its support images, we keep those hard negatives whose IoU with ground truth is between 0.2 and 0.3 as potential candidates. Next, in order to select the most diverse ones from these candidates, we introduce a clustering-based method: given negative embedding vectors for hard negative proposals , we compute an affinity matrix with elements being the dot product (feature similarity) between and , where . Given
, we apply the spectral clusteringng2002nips onto it to obtain clusters. Proposals within each cluster are similar while across clusters are diverse. The most representative proposal from each cluster should be the centroid one that has the minimal average distance to others within the cluster. We select the centroid proposals as our hard negatives. Notice that after the filtering through the IoU constraint, the number of negative proposals has been substantially reduced to e.g. a few dozens. Spectral clustering can be quickly solved on such a small scale.
Given the negative and positive proposals selected from the support images, we embed them into the network to obtain vectors to replace the learnt negative and positive representatives, respectively. When a query image comes, we embed each of its proposal with NP-embedding in NP-RepMet and follow Equation (3) to infer its class probability.
We first evaluate our method on the benchmark established in karlinsky2019cvpr for a fair comparison with RepMet. Second, we evaluate our method in the same setup with kang2019iccv in the standard detection benchmark PASCAL VOC everingham2007pascal . For classes in the ImageNet-LOC benchmark, they are mostly animals and birds species. 100 classes are selected as base (seen) classes for training while 214 classes are considered as new (unseen) classes for testing. Following karlinsky2019cvpr , we adopt its -way shot few-shot detection setting. For benchmark PASCAL VOC 2007, 15 out of 20 VOC classes are selected for training, the rest 5 are for testing. We use same splits as in kang2019iccv ; wang2019iccv ; yan2019iccv and carry out shot detection.
4.2 Implementation Details and Evaluation Protocol
Training details. For ImageNet-LOC, we follow karlinsky2019cvpr to select 200 images from each base class for balanced training. For PASCAL VOC 2007, we follow kang2019iccv to use VOC 07 and 12 train/val sets for training. We use ResNet-101 he2016deep as backbone with DCN dai2017iccv , feature pyramid network (FPN) lin2017cvpr is employed as RPN to generate object proposals with six object scales. Top-
ROIs from the RPN are selected by OHEM. Backbone weights are pre-trained on COCO followingkarlinsky2019cvpr for ImageNet-LOC and pre-trained on ImageNet following kang2019iccv
for PASCAL VOC. Other modules, e.g. FPN, RPN, DML, NP-Representatives etc., are randomly initialized. Our network is trained with synchronized stochastic gradient descent (SGD) over 4 GPUs with mini-batch of 4 images (1 image per GPU). The total epoch number is 20 and the learning rate is initialized as 0.01 and then divided by 10 at epochs 4, 6 and 15. The weight decay and momentum parameters are set asand , respectively.
Testing details. We test the proposed method on new classes without performing any fine-tuning on both the ImageNet-LOC and PASCAL VOC benchmarks. We forward the images in support set to obtain the corresponding positive and negative representatives in the network and then forward the images in query set for detection. Testing on ImageNet-LOC is organized in episode of multiple new classes karlinsky2019cvpr while for PASCAL VOC we use the published snapshot of query and support samples from kang2019iccv for testing. NMS with threshold 0.7 is used to eliminate duplicated proposals generated by RPN. The top- proposals will be used for category and location prediction. Last, soft-NMS bodla2017soft with threshold 0.6 is applied on the output as post-processing to merge duplicated bounding boxes.
Evaluation protocol. We adopt the most commonly used mean average precision (mAP) to evaluate the performance of few-shot object detection. A correct detection should have more than 0.5 IoU with the ground truth. We report mAP on the test set of ImageNet-LOC karlinsky2019cvpr and VOC 2007 kang2019iccv ; wang2019iccv ; yan2019iccv .
4.3 Results on ImageNet-LOC
Comparison with RepMet and other baselines. We follow the same setup with RepMet to report NP-RepMet with 1-shot, 5-shot and 10-shot in Table 1-Left. The results for RepMet are 56.9, 68.8 and 71.5, respectively. By restoring negative information into RepMet, NP-RepMet significantly improves the results to 68.5, 75.0, and 76.3. In particular with the 1-shot scenario where the support for each class is very limited, our method provides an efficient way to mine useful negative formation within the support image, and we improve RepMet up to 11.6%! The margin of improvement gets smaller with 10-shot as the support set becomes more diverse.
There are also several baselines worth of comparison to NP-RepMet: for instance, we can train a standard object detector on base classes using the same FPN-DCN backbone and then fine-tune its classifier head on novel classes. This is denoted as ‘baseline-FT’ in karlinsky2019cvpr and Table 1: the reported results are 35.0, 51.0 and 59.7 in 1, 5 and 10-shot, respectively. More baseline implementations can be found in karlinsky2019cvpr , they perform much inferior to RepMet/NP-RepMet.
RepMet also reports results on the seen (base) classes, where they create episodes for the 100 seen classes and test them following the same 1, 5, and 10-shot. Since the episodes they use for seen classes are not published, we create our own episodes by randomly selecting 200 episodes for the 100 classes and report the results for both RepMet and NP-RepMet in Table 1. It can be seen that NP-RepMet maintains a good detection performance on base classes with mAP being 93.7, 94.0, and 95.3 in 1, 5, and 10-shot. Our results are higher than those of RepMet (86.0, 90.2 and 90.5).
Ablation study. All our ablation experiments are conducted on ImageNet-LOC in 1-shot. One basic module of our NP-RepMet is to add negative representatives ( in Figure. 2) into RepMet, other modules are built upon this one. Without this basis, NP-RepMet collapses to RepMet. Results between NP-RepMet and RepMet are shown in Table. 1 where NP-RepMet significantly improves the mAP up to 11.6%. Negative representative is the cornerstone of our NP-RepMet. On top of it, we further ablate the importance of other modules.
NP-embedding. An object proposal in NP-RepMet is embedded into two vectors ( and in Figure. 2) to learn the negative and positive representatives ( and ). We may use only one embedding vector to learn both and ; subbranches of and in Figure. 2 will be merged together as while the remaining part is still split according to the proposal IoU with ground truth. Results in Table 1-Right (top) show that using single embedding vector produces mAP 65.8 vs. 68.5 of using two embedding vectors (NP-embedding). The proposed NP-embedding allows faster and more optimal convergence of the negative and positive representative learning.
NP-representatives for inference. To justify the usage of negative and positive representatives at inference (NP-inference), we compare it with the experiment using only positive representatives for inference (Pos-inference). The model can be trained either in the NP-RepMet or RepMet mode and we show both results in Table 1-Right (bottom). In the former, the result of Pos-inference is 57.4, which is much lower than that (68.5) of NP-inference. In the latter, Pos-inference becomes a normal RepMet with mAP 56.9. While for NP-inference, negative and positive proposals from support images are selected following the proposed way in the paper, but their embedding function is the same as in RepMet; simply adding negative representatives at the inference stage, NP-inference gives +2.5% improvement for RepMet. Since the embedding function for negatives and positives is not separately learnt, the performance of this NP-inference is still much lower than that (68.5) of the normal NP-RepMet. This justifies the importance of learning negative and positive representatives with NP-embedding in the training stage.
Negative proposal selection at inference. The number of negative proposals in support images can be more than what we want. Instead of randomly selecting them, we introduced a clustering-based selection strategy to select the hard and diverse negatives. It applies spectral clustering to the affinity matrix of feature similarities among negative proposals, and then find the centroid proposal within each cluster that has the minimal distance to others. We denote it by Cluster-Min. To demonstrate the effectiveness of Cluster-Min, we compare it with random selection (RD) in Table 2 Left: Cluster-Min is 2% higher than RD. In addition, we also present another result by using spectral clustering yet randomly choosing a proposal within each cluster. This (Cluster-RD) gives an mAP of 67.1, 1.4% lower than Cluster-Min, which further justifies the usage of centroid proposal.
Parameter variations. Next, we study the parameter variations in NP-RepMet.
in probability computing module. The class posterior probability of a given object proposal is computed based on its distance to both positive and negative representatives (Eq.3). We vary the parameter in Equation (3) and report the results in Table 2-Right (top). It can be seen that the optimal performance (68.5) occurs when is 0.3. A smaller is preferable to give a bigger weight on the distance from the positive embedding vector to positive class representatives.
IoU for negative proposals. Referring to Sec. 3.2, negative representatives are specifically learnt from negative proposals whose IoU with ground truth bounding box is between 0.2 () and 0.3 (). We also present the results of different intervals (, ) in Table. 2-Right (bottom). This interval controls the difficulty of negative proposals: if the bounds are set too high (e.g. (0.3, 0.4)), it becomes too difficult for the network to distinguish negatives from positives, the performance drops clearly (e.g. 58.6). On the other hand, if the bounds are set too low (e.g. (0, 0.1)), there may not be enough hard negatives for the network to learn, the performance is also not optimal (e.g. 68.0). Our default setting of (0.2, 03) offers a moderate way to generate hard negatives.
In general, NP-RepMet is insensitive to neither IoU or . The performance drop for varying IoU or is not much within certain ranges; and it is always better than not using it (e.g. ). This suggests that it is helpful to mine negative information within the images of the same object class.
|Method/Shot||novel set 1||novel set 2||novel set 3|
|Meta R-CNN yan2019iccv||19.9||25.5||35.0||45.7||51.5||10.4||19.4||29.6||34.8||45.4||14.3||18.2||27.5||41.2||48.1|
4.4 Results on PASCAL VOC 2007
Following the training and testing details in Sec. 4.2, we conduct experiments on PASCAL VOC 2007 and compare our method with other SOTA kang2019iccv ; yan2019iccv ; wang2019iccv ; karlinsky2019cvpr 111We reproduce RepMet karlinsky2019cvpr on PASCAL VOC 2007 ourselves.. Results are in Table 3 on the three novel/base class splits. One can clearly see that ours outperforms the SOTA in almost every entry and the improvements are also consistent for different base/novel class splits and number of shots. The improved margin is particularly large when the labels are extremely scarce (1-3 shot). For instance on the second split, our NP-RepMet produces a very high mAP 41.6 in 1-shot which is 19.8% higher than the previous best result (21.8%). When the support set size for novel classes increases, the number of positive proposals in the set becomes more diverse, hence the effect of mining negative information reduces. Similar observation was also found on the ImageNet-LOC experiment (Table 1). This suggests our idea of restoring negative information as a vital technique for the real few-shot scenario. We also report the 3- and 10-shot results on the base classes of the first split. Results in Table 4 show that our NP-RepMet delivers a good detection performance on base classes as well.
Notice: 1) Our NP-RepMet produces lower mAP than yan2019iccv in 10-shot on the first and third base/novel class split. Yet, it appears that yan2019iccv uses different support sets for novel classes from kang2019iccv ; wang2019iccv and us. Different support sets would affect the performance: we observed better results of NP-RepMet when we varied the support set. 2) We let our NP-RepMet detect the base and novel classes simultaneously on PASCAL VOC. Yet, we did not find clear evidence among kang2019iccv ; yan2019iccv ; wang2019iccv that they all did the same thing (kang2019iccv ; yan2019iccv seem to be the same with us). We want to point out, if we let NP-RepMet detect novel classes only, without the interference of base classes, its results can be further improved; for instance, in Novel Set 1, we achieve mAP 39.3, 43.7, 45.9, 51.7, and 56.2 in 1, 2, 3, 5 and 10-shot, respectively.
Table 4 also shows the individual class AP (average precision) for both base and novel classes in the first base/novel split.
|Novel classes||Base classes|
Last, similar to kang2019iccv ; yan2019iccv , we use t-SNE maaten2008visualizing visualization to demonstrate the distribution of positive and negative class representatives in NP-RepMet. Figure 4(a) illustrates the positive representatives of a subset of classes on PASCAL VOC. The representatives of base classes are learnt in the model while the representatives of novel classes are obtained via the embedding vectors of positive proposals from support images. The results show that the representative vectors well depict each class by clustering together for the same class and repulsing those from the other classes. Figure 4(b) draws the embedded negative representatives of the subset of classes while focuses on the selected hard negatives from a specific class bus. Negative representatives of different classes are clearly distinguished from each other. Given a query, its hard negative proposals (e.g. partial object) for certain class (e.g. bus) can be easily filtered out by comparing to those negative representatives from the support set.
In the regime of few-shot learning, few-shot object detection has not been largely explored. Representative works tend to focus on the foreground (positive) area of images, such that matured few-shot classification techniques can be easily applied or adapted. In this paper, we propose to restore the negative information in the few-shot object detection: we show that hard negatives are essential for the metric learning in few-shot object detection. We build our work on top of a state-of-the-art pipeline, RepMet, where we introduce several new modules such as negative and positive representatives, NP-embedding, triplet losses based on NP-embedding, etc. A new inference scheme is also introduced given the learnt negative representatives in the pipeline. We conduct extensive experiments on two standard benchmarks, ImageNet-LOC and PASCAL VOC 2007. Results show that our method significantly improves the SOTA by simply restoring negative information into it.
Object detection is one of the most fundamental tasks in computer vision field, it serves as a key component for downstream algorithms and applications, including instance segmentation, human pose estimation and tracking. The majority of deep learning methods are designed to solve fully-supervised problems which drives the demand and progress of few-shot learning in object detection.
The proposed method is designed to solve few-shot detection problem, researchers focus on high-level recognition tasks may benefit from our work. There may be unpredictable failures, similar as most other detectors. Please do not use it for scenarios where failures will lead to serious consequences. The method is data driven, and thus the performance may be affected by the biases in the data. So please also be careful about the data collection process when using it.
This work was partially supported by the National Natural Science Foundation of China (NSFC) under Grant No. 61828602; the Grant from the Institute for Guo Qiang of Tsinghua University and Beijing Academy of Artificial Intelligence (BAAI); the Science and Technology Major Project of Guangzhou (202007030006); the open project of Zhejiang Laboratory.
-  Leonid Karlinsky, Joseph Shtok, Sivan Harary, Eli Schwartz, Amit Aides, Rogerio Feris, Raja Giryes, and Alex M Bronstein. Repmet: Representative-based metric learning for classification and few-shot object detection. In CVPR, 2019.
Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton.
Imagenet classification with deep convolutional neural networks.In NIPS, 2012.
-  Jake Snell, Kevin Swersky, and Richard Zemel. Prototypical networks for few-shot learning. In NIPS, 2017.
-  Oriol Vinyals, Charles Blundell, Timothy Lillicrap, Daan Wierstra, et al. Matching networks for one shot learning. In NIPS, 2016.
-  Bharath Hariharan and Ross Girshick. Low-shot visual recognition by shrinking and hallucinating features. In ICCV, 2017.
-  Yann Lifchitz, Yannis Avrithis, Sylvaine Picard, and Andrei Bursuc. Dense classification and implanting for few-shot learning. In CVPR, 2019.
-  Aoxue Li, Tiange Luo, Tao Xiang, Weiran Huang, and Liwei Wang. Few-shot learning with global class representations. In ICCV, 2019.
-  Zhimao Peng, Zechao Li, Junge Zhang, Yan Li, Guo-Jun Qi, and Jinhui Tang. Few-shot image recognition with knowledge transfer. In ICCV, 2019.
-  Pavel Tokmakov, Yu-Xiong Wang, and Martial Hebert. Learning compositional representations for few-shot recognition. In ICCV, 2019.
-  Bingyi Kang, Zhuang Liu, Xin Wang, Fisher Yu, Jiashi Feng, and Trevor Darrell. Few-shot object detection via feature reweighting. In ICCV, 2019.
-  Xiaopeng Yan, Ziliang Chen, Anni Xu, Xiaoxi Wang, Xiaodan Liang, and Liang Lin. Meta r-cnn: Towards general solver for instance-level low-shot learning. In ICCV, 2019.
-  Yu-Xiong Wang, Deva Ramanan, and Martial Hebert. Meta-learning to detect rare objects. In ICCV, 2019.
-  Qi Fan, Wei Zhuo, and Yu-Wing Tai. Few-shot object detection with attention-rpn and multi-relation detector. In CVPR, 2020.
-  Ross Girshick, Jeff Donahue, Trevor Darrell, and Jitendra Malik. Rich feature hierarchies for accurate object detection and semantic segmentation. In CVPR, 2014.
-  Ross Girshick. Fast r-cnn. In ICCV, 2015.
Fangyun Wei, Xiao Sun, Hongyang Li, Jingdong Wang, and Stephen Lin.
Point-set anchors for object detection, instance segmentation and pose estimation.ECCV, 2020.
-  Li Fei-Fei, Rob Fergus, and Pietro Perona. One-shot learning of object categories. IEEE Transactions on Pattern Analysis and Machine Intelligence, 28(4):594–611, 2006.
-  Brenden M Lake, Russ R Salakhutdinov, and Josh Tenenbaum. One-shot learning by inverting a compositional causal process. In NIPS, 2013.
-  Brenden M Lake, Ruslan Salakhutdinov, and Joshua B Tenenbaum. Human-level concept learning through probabilistic program induction. Science, 350(6266):1332–1338, 2015.
-  Adam Santoro, Sergey Bartunov, Matthew Botvinick, Daan Wierstra, and Timothy Lillicrap. Meta-learning with memory-augmented neural networks. In ICML, 2016.
-  Jason Weston, Sumit Chopra, and Antoine Bordes. Memory networks. arXiv preprint arXiv:1410.3916, 2014.
-  Alex Graves, Greg Wayne, and Ivo Danihelka. Neural turing machines. arXiv preprint arXiv:1410.5401, 2014.
-  Luca Bertinetto, João F Henriques, Jack Valmadre, Philip Torr, and Andrea Vedaldi. Learning feed-forward one-shot learners. In NIPS, 2016.
-  Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. In ICML, 2017.
-  Gregory Koch, Richard Zemel, and Ruslan Salakhutdinov. Siamese neural networks for one-shot image recognition. In ICML workshop, 2015.
-  Zitian Chen, Yanwei Fu, Yinda Zhang, Yu-Gang Jiang, Xiangyang Xue, and Leonid Sigal. Semantic feature augmentation in few-shot learning. arXiv preprint arXiv:1804.05298, 2018.
-  Eli Schwartz, Leonid Karlinsky, Joseph Shtok, Sivan Harary, Mattias Marder, Abhishek Kumar, Rogerio Feris, Raja Giryes, and Alex Bronstein. Delta-encoder: an effective sample synthesis method for few-shot object recognition. In NIPS, 2018.
-  Yu-Xiong Wang, Ross Girshick, Martial Hebert, and Bharath Hariharan. Low-shot learning from imaginary data. In CVPR, 2018.
-  Hao Chen, Yali Wang, Guoyou Wang, and Yu Qiao. Lstd: A low-shot transfer detector for object detection. In AAAI, 2018.
-  Tao Wang, Xiaopeng Zhang, Li Yuan, and Jiashi Feng. Few-shot adaptive faster r-cnn. In CVPR, 2019.
-  Abhinav Shrivastava, Abhinav Gupta, and Ross Girshick. Training region-based object detectors with online hard example mining. In CVPR, 2016.
-  Shaoqing Ren, Kaiming He, Ross Girshick, and Jian Sun. Faster r-cnn: Towards real-time object detection with region proposal networks. In NIPS, 2015.
-  Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Spatial pyramid pooling in deep convolutional networks for visual recognition. IEEE Transactions on Pattern Analysis and Machine Intelligence, 37(9):1904–1916, 2015.
Andrew Y Ng, Michael I Jordan, and Yair Weiss.
On spectral clustering: Analysis and an algorithm.In NIPS, 2002.
-  Mark Everingham, Luc Van Gool, Christopher KI Williams, John Winn, and Andrew Zisserman. The pascal visual object classes challenge 2007 (voc2007) results. 2007.
-  Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016.
-  Jifeng Dai, Haozhi Qi, Yuwen Xiong, Yi Li, Guodong Zhang, Han Hu, and Yichen Wei. Deformable convolutional networks. In ICCV, 2017.
-  Tsung-Yi Lin, Piotr Dollár, Ross Girshick, Kaiming He, Bharath Hariharan, and Serge Belongie. Feature pyramid networks for object detection. In CVPR, 2017.
-  Navaneeth Bodla, Bharat Singh, Rama Chellappa, and Larry S Davis. Soft-nms–improving object detection with one line of code. In ICCV, 2017.
Laurens van der Maaten and Geoffrey Hinton.
Visualizing data using t-sne.
Journal of machine learning research, 9(Nov):2579–2605, 2008.