Top-Related Meta-Learning Method for Few-Shot Detection

Qian Li, Nan Guo, Duo Wang, Xiaochun Ye, Dongrui Fan, Zhimin TangarXiv 2020

Introduction

Deep learning has revolutionized object detection, yet these models typically require vast amounts of labeled data to perform effectively. In "few-shot" scenarios, where only a handful of examples are available, standard neural networks often suffer from overfitting or a significant bias toward "base" classes encountered during initial training. A primary driver of this performance degradation is semantic confusion; models struggle to distinguish between visually or semantically similar categories, such as birds and airplanes, or fail to exploit commonalities between related animals like cows and horses. This paper proposes a two-pronged strategy to mitigate these issues by focusing on semantic relationships between categories without relying on expensive auxiliary datasets.

Proposed Methodology

The researchers developed a meta-learning framework using YOLOv2 as the backbone, introducing two core innovations: the Top-C Classification Loss (TCL-C) and a Category-Based Grouping Mechanism.

Top-C Classification Loss (TCL-C)

Standard classification losses treat all incorrect predictions equally. In contrast, TCL-C focuses on the ground-truth label and the $C-1$ most likely false predictions (the "near misses"). By specifically constraining these top-related predictions, the model is forced to learn the subtle semantic features required to distinguish between highly similar objects, which is critical when training data is scarce.

Category-Based Grouping Mechanism

To further refine the feature space, the authors manually grouped 20 categories from the Pascal VOC dataset into six disjoint groups based on visual appearance (e.g., shape, limbs) and environment. For instance, "aero" and "bird" form one group, while various four-legged farm animals form another. A novel meta-loss ($L_{re-meta}$) was introduced to ensure that feature vectors within a group are more compact while increasing the distance between different groups in the feature space.

The proposed meta-learning architecture featuring the category-based grouping and shared classifier components.

Experimental Setup

The method was evaluated on the Pascal VOC dataset. The setup involved treating 15 categories as "base" classes with abundant data and 5 categories as "novel" few-shot classes. Performance was measured across 1, 2, 3, and 5-shot scenarios. The proposed approach was compared against several standard loss functions, including Cross-Entropy, Focal Loss, and BCEwithLogits.

Key Results and Discussion

The proposed method demonstrated a significant performance boost over competitive baselines. On the Pascal VOC novel set, the approach improved detection Average Precision (AP) by nearly 4% compared to the baseline.

Normalized AP curves showing the superior performance of the proposed method ('Ours') compared to standard loss functions like BCE and Focal Loss.

As shown in the performance curves, the model consistently outperformed standard Focal and Cross-Entropy losses across various training epochs. Specifically, for 1, 2, and 3-shot detection, the model achieved APs of approximately 20%, 25%, and 30%, respectively. Qualitative analysis of bounding boxes further indicated a reduction in "strong bias" errors, where the model previously misclassified novel objects as base classes or ignored them entirely.

Conclusion and Future Work

By leveraging semantic relationships through specialized loss functions and category grouping, this method provides a more efficient way for models to "understand" object relationships in data-constrained environments. While the current manual grouping relies on human priors, future research will explore unsupervised or dynamic clustering to automate the grouping process based on feature similarity. Additionally, the authors plan to investigate dynamic adjustments for the "Top-C" thresholds to further optimize classification accuracy across diverse categories.

Summary updated

Abstract

Many meta-learning methods are proposed for few-shot detection. However, previous most methods have two main problems, poor detection APs, and strong bias because of imbalance and insufficient datasets. Previous works mainly alleviate these issues by additional datasets, multi-relation attention mechanisms and sub-modules. However, they require more cost. In this work, for meta-learning, we find that the main challenges focus on related or irrelevant semantic features between categories. Therefore, based on semantic features, we propose a Top-C classification loss (i.e., TCL-C) for classification task and a category-based grouping mechanism for category-based meta-features obtained by the meta-model. The TCL-C exploits the true-label prediction and the most likely C-1 false classification predictions to improve detection performance on few-shot classes. According to similar appearance (i.e., visual appearance, shape, and limbs etc.) and environment in which objects often appear, the category-based grouping mechanism splits categories into disjoint groups to make similar semantic features more compact between categories within a group and obtain more significant difference between groups, alleviating the strong bias problem and further improving detection APs. The whole training consists of the base model and the fine-tuning phases. According to grouping mechanism, we group the meta-features vectors obtained by meta-model, so that the distribution difference between groups is obvious, and the one within each group is less. Extensive experiments on Pascal VOC dataset demonstrate that ours which combines the TCL-C with category-based grouping significantly outperforms previous state-of-the-art methods for few-shot detection. Compared with previous competitive baseline, ours improves detection APs by almost 4% for few-shot detection.
BibTeX
@misc{li2020top,
  author = {Qian Li and Nan Guo and Duo Wang and Xiaochun Ye and Dongrui Fan and Zhimin Tang},
  title = {{Top-Related Meta-Learning Method for Few-Shot Detection}},
  year = {2020},
  eprint = {2007.06837},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2007.06837},
}
Figure