Abstract
The generalization power of the pre-trained model is the key for few-shot deep learning. Dropout is a regularization technique used in traditional deep learning methods. In this paper, we explore the power of dropout on few-shot learning and provide some insights about how to use it. Extensive experiments on the few-shot object detection and few-shot image classification datasets, i.e., Pascal VOC, MS COCO, CUB, and mini-ImageNet, validate the effectiveness of our method.
Introduction
Deep Neural Networks are notoriously data-hungry. In Few-Shot Learning (FSL), the goal is to teach a model to recognize new objects using only a handful of labeled examples. The standard pipeline involves two steps:
- Pre-training: Learning general features (transferable knowledge) from a large "base" dataset.
- Fine-tuning: Adapting a small part of the model (task-specific knowledge) to new "novel" classes.
The core challenge is overfitting to the base classes. If the pre-trained features are too specialized to the training data, they won't be flexible enough to adapt to new, unseen categories. The authors argue that we need a way to make the "transferable knowledge" more robust and generalizable before the fine-tuning even begins.
Methodology: w-dropout
The authors introduce w-dropout. Unlike standard applications where dropout might be used during the final task adaptation, w-dropout is applied to the backbone parameters ($w$) during the pre-training stage.
Key technical details include:
- Targeting Transferable Knowledge: The FSL objective is reformulated to explicitly apply a dropout operator to the backbone weights while learning task-specific parameters.
- DropBlock vs. Standard Dropout: Research indicates that DropBlock (dropping contiguous regions of a feature map) is more effective than vanilla dropout for this purpose.
- Strategic Placement: Ablation studies determined that applying w-dropout to the later layers of the backbone (e.g., Group 4 of a ResNet) yields the best generalization performance.
Experimental Results
The authors integrated w-dropout into several state-of-the-art baselines, including Meta R-CNN, TFA, and FSCE, across major computer vision benchmarks.
Few-shot Object Detection
On the Pascal VOC dataset, the impact of w-dropout was significant. For instance, Meta R-CNN with w-dropout (denoted as Meta R-CNN) improved from 14.7 mAP to 24.7 mAP* in the 1-shot scenario for split 1, representing a massive 10% absolute improvement.
On the more complex MS COCO dataset, TFA* saw gains of approximately 1% across various metrics. While less dramatic than VOC, these improvements are significant given the benchmark's difficulty and diversity.
Few-shot Image Classification
Evaluated on CUB and mini-ImageNet, the method showed similar trends. Using a ResNet-10 backbone on CUB for fine-grained classification, the "Baseline++" reached 69.05% accuracy*, compared to the original 63.27% in the 1-shot case.
Discussion and Insights
- Timing is Everything: The most surprising finding is that applying dropout during fine-tuning (the common intuition) can actually hurt performance. However, applying it during pre-training (w-dropout) consistently improves the model's ability to handle novel classes.
- Robust Representations: By "corrupting" features during pre-training with dropout, the model is forced to learn more redundant and robust representations. This makes the resulting feature extractor less rigid and more "transferable" to new domains.
- Impact Scales with Scarcity: The benefits of w-dropout are most pronounced in the "1-shot" scenario. As the number of available samples increases, the gap between the baseline and w-dropout narrows, suggesting that w-dropout effectively compensates for the lack of data.
- Base Class Stability: Importantly, experimental data shows that improving novel class accuracy does not come at the expense of performance on the original base classes.
Conclusion
This research reveals that the strategic application of dropout to the backbone during pre-training is a powerful tool for Few-Shot Learning. By focusing on the robustness of transferable knowledge, models can achieve substantial gains in generalization with minimal additional data.
Summary updated