[Paper Review] Factors in Finetuning Deep Model for object detection
This paper proposes a cascaded hierarchical feature learning approach to improve fine-tuning of deep models for object detection under long-tailed class distributions. By clustering object classes into visually similar groups and progressively fine-tuning models at increasing levels of specificity, the method achieves a 4.7% absolute mAP gain on ImageNet without significantly increasing inference cost.
Finetuning from a pretrained deep model is found to yield state-of-the-art performance for many vision tasks. This paper investigates many factors that influence the performance in finetuning for object detection. There is a long-tailed distribution of sample numbers for classes in object detection. Our analysis and empirical results show that classes with more samples have higher impact on the feature learning. And it is better to make the sample number more uniform across classes. Generic object detection can be considered as multiple equally important tasks. Detection of each class is a task. These classes/tasks have their individuality in discriminative visual appearance representation. Taking this individuality into account, we cluster objects into visually similar class groups and learn deep representations for these groups separately. A hierarchical feature learning scheme is proposed. In this scheme, the knowledge from the group with large number of classes is transferred for learning features in its sub-groups. Finetuned on the GoogLeNet model, experimental results show 4.7% absolute mAP improvement of our approach on the ImageNet object detection dataset without increasing much computational cost at the testing stage.
Motivation & Objective
- Address the challenge of long-tailed class distribution in object detection, where rare classes are underrepresented and poorly learned.
- Investigate how sample imbalance across object classes affects feature learning during fine-tuning of deep models.
- Improve detection performance for rare classes by learning specialized features for visually similar class groups instead of a single shared representation.
- Develop a cascaded hierarchical fine-tuning strategy that transfers knowledge from broader to more specific class groups, enhancing feature discriminability.
- Achieve significant mAP improvement with minimal computational overhead at inference time.
Proposed method
- Cluster object classes into visually similar groups based on discriminative visual appearance, such as mammals or vehicles.
- Implement a cascaded hierarchical fine-tuning scheme where models are trained progressively: from 200 classes (level 1), to 4 groups (level 2), 7 groups (level 3), and 18 groups (level 4).
- Fine-tune higher-level models (e.g., level 3 or 4) using the parameters from lower-level models (e.g., level 1 or 2), enabling knowledge transfer from general to specific classes.
- Apply bounding box rejection at each level to reduce the number of candidate regions, maintaining low inference cost—only 5.6 boxes per image on average per model at level 4.
- Use GoogLeNet as the backbone and fine-tune on the ImageNet detection dataset, with evaluation on ILSVRC14 validation set.
- Optimize the training strategy by ensuring sequential fine-tuning from coarser to finer levels, avoiding direct fine-tuning from the ImageNet-pretrained model on small groups.
Experimental results
Research questions
- RQ1How does long-tailed class distribution affect feature learning during fine-tuning for object detection?
- RQ2Does learning a shared feature representation for all classes compromise performance on rare, long-tail classes?
- RQ3Can grouping visually similar classes and learning features hierarchically improve detection accuracy, especially for rare classes?
- RQ4What is the optimal fine-tuning strategy—direct fine-tuning on small groups or progressive fine-tuning through intermediate levels?
- RQ5Does the hierarchical cascade reduce computational cost while improving mAP compared to standard fine-tuning?
Key findings
- A 4.7% absolute mAP improvement is achieved on the ImageNet object detection dataset using the proposed hierarchical fine-tuning approach compared to standard fine-tuning.
- mAP increases from 40.3% (level 1) to 45% (level 4), demonstrating consistent improvement with increasing hierarchy depth.
- Finetuning from a model pre-trained on 200 classes (level 1) yields better performance than directly fine-tuning on smaller groups (e.g., 4 groups at level 2), showing the benefit of knowledge transfer.
- The average number of candidate boxes per image evaluated per model drops to 5.6 at level 4, with only around 100 boxes per image used overall, indicating low inference cost.
- The method achieves a 1.2% mAP gain on PASCAL VOC 2007 when object classes are clustered into 4 groups.
- The cascaded strategy of fine-tuning from broader to finer groups outperforms abrupt jumps from 200 classes to smaller groups, confirming the importance of gradual specialization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.