Abstract: Few-shot learning is a problem of high interest in the evolution of deep learning. In this work, we consider the problem of few-shot object detection (FSOD) in a real-world, class-imbalanced scenario. For our experiments, we utilize the India Driving Dataset (IDD), as it includes a class of less-occurring road objects in the image dataset and hence provides a setup suitable for few-shot learning. We evaluate both metric-learning and meta-learning based FSOD methods, in two experimental settings: (i) representative (same-domain) splits from IDD, that evaluates the ability of a model to learn in the context of road images, and (ii) object classes with less-occurring object samples, similar to the open-set setting in real-world. From our experiments, we demonstrate that the metric-learning method outperforms meta-learning on the novel classes by (i) 11.2 mAP points on the same domain, and (ii) 1.0 mAP point on the open-set. We also show that our extension of object classes in a real-world open dataset offers a rich ground for few-shot learning studies.
Introduction
Standard deep learning models for object detection are data-hungry, often requiring thousands of labeled examples per category. While they perform well on common objects like cars or pedestrians, they struggle with the "long tail" of the distribution—rare but critical objects like excavators, cranes, or street carts.
In the context of autonomous driving, this is a safety-critical gap. Most existing few-shot research uses curated, balanced datasets like MS-COCO. This paper tackles the messier reality of unstructured driving environments, where class imbalance is extreme and objects often share similar low-level visual features, making them difficult for models to differentiate with limited data.
Methodology
The authors evaluate two primary schools of thought in Few-Shot Learning:
- Feature Similarity-Based (Metric Learning): Specifically, they use the Two-stage Fine-tuning Architecture (TFA/FsDet). This method uses a standard Faster-RCNN but replaces the final classification layer with a cosine-similarity-based classifier. It focuses on learning a generalizable feature space during a "base" training stage and then fine-tunes only the final layers on rare classes.
- Auxiliary Network-Based (Meta-Learning): These methods (like Meta-RCNN and Add-Info) use an additional "meta-learner" network. This auxiliary network looks at a "support set" of examples to generate class-specific features or weights that help the main detector recognize new objects on the fly.
Experimental Setup and Datasets
The primary benchmark is the India Driving Dataset (IDD), chosen for its high class imbalance and unique road objects. The authors created two specific evaluation settings:
- IDD-10 (Same Domain): A split of 10 common categories (e.g., bus, truck, motorcycle) divided into 7 base classes and 3 novel classes.
- IDD-OS (Open-Set): This is a novel contribution where the authors manually expanded the generic
vehicle-fallbackclass in IDD into five specific rare categories: street-cart, tractor, water-tanker, excavator, and crane. This creates a true "real-world" few-shot challenge.
Results and Discussion
The most significant finding is that the metric-learning approach (TFA) outperformed meta-learning methods. The authors suggest that cosine similarity helps reduce intra-class variance and prevents the model from "forgetting" the base classes it already knows.
- Metric vs. Meta: On the IDD-10 novel classes, the metric-learning method (TFA) outperformed meta-learning by 11.2 mAP points.
- Open-Set Performance: In the more difficult IDD-OS (Open-Set) task, TFA achieved 37.0 mAP on novel classes, while the best meta-learning approach (Add-Info) trailed at 36.0 mAP.
- Base Class Stability: TFA showed much lower degradation on base classes (47.4 mAP) compared to meta-learning methods (which dropped as low as 27.9 mAP), proving it is more robust against "catastrophic forgetting."
However, even the best models suffer from high inter-class confusion (up to 40%). In driving scenes, objects like "trucks vs. cars" or "bicycles vs. motorcycles" share many low-level features (wheels, metallic textures, rectangular shapes). When you only have 10 examples, the model struggles to find the fine-grained features that distinguish them.
Conclusion
The performance gap between base and novel classes is much wider in driving datasets than in standard benchmarks like PASCAL VOC, highlighting that "real-world" few-shot learning is a significantly harder problem than currently suggested by academic benchmarks. Future work should focus on developing better ways to handle high visual similarity between categories and further reducing the performance gap between abundant and rare classes.
Summary updated