[Paper Review] A Framework of Transfer Learning in Object Detection for Embedded Systems
This paper presents a transfer learning framework for SqueezeDet, a lightweight CNN for real-time object detection in embedded systems. It accelerates training by 1.8× via GPU-optimized data pipelines, enables automatic hyperparameter tuning, and demonstrates that transfer learning from ImageNet boosts mAP by over 40% on small datasets—though co-adaptation sensitivity requires fine-tuning early layers.
Transfer learning is one of the subjects undergoing intense study in the area of machine learning. In object recognition and object detection there are known experiments for the transferability of parameters, but not for neural networks which are suitable for object detection in real time embedded applications, such as the SqueezeDet neural network. We use transfer learning to accelerate the training of SqueezeDet to a new group of classes. Also, experiments are conducted to study the transferability and co-adaptation phenomena introduced by the transfer learning process. To accelerate training, we propose a new implementation of the SqueezeDet training which provides a faster pipeline for data processing and achieves 1.8 times speedup compared to the initial implementation. Finally, we created a mechanism for automatic hyperparameter optimization using an empirical method.
Motivation & Objective
- Address the challenge of retraining lightweight object detectors like SqueezeDet for new object classes in real-time embedded applications.
- Overcome the high computational cost and slow training of vanilla SqueezeDet implementations on CPUs.
- Investigate transferability and co-adaptation in SqueezeDet when transferring knowledge from ImageNet, KITTI, and PASCAL VOC datasets.
- Develop an automated hyperparameter optimization method to improve retraining efficiency and performance.
- Create a reusable framework for rapid deployment and updating of object detection models in embedded systems with dynamic class requirements.
Proposed method
- Re-implemented the SqueezeDet training pipeline using GPU acceleration to reduce data processing bottlenecks and achieve 1.8× speedup over the original CPU-based version.
- Optimized the anchor matching algorithm by parallelizing memory-intensive operations for GPU execution, improving training throughput.
- Applied an empirical hyperparameter optimization strategy combining AdaLipo and a trust region algorithm to tune key hyperparameters (e.g., anchor per grid, NMS threshold, learning rate).
- Conducted transferability experiments by initializing SqueezeDet with ImageNet pre-trained weights and fine-tuning on KITTI and PASCAL VOC datasets.
- Used mAP (mean Average Precision) as the primary evaluation metric to assess transfer learning effectiveness and co-adaptation sensitivity.
- Measured GPU power consumption and training time to validate performance improvements and ensure computational efficiency.
Experimental results
Research questions
- RQ1To what extent does transfer learning from ImageNet improve mAP in SqueezeDet when retraining on small datasets like PASCAL VOC?
- RQ2How fragile are SqueezeDet’s layers to co-adaptation during transfer learning, particularly when transferring from KITTI to PASCAL VOC?
- RQ3Can automatic hyperparameter optimization significantly improve mAP in SqueezeDet retraining compared to random or fixed hyperparameter settings?
- RQ4What is the impact of data pipeline optimization on training speed and GPU utilization in embedded-friendly object detection models?
- RQ5Does transfer learning from ImageNet to KITTI and then to PASCAL VOC lead to catastrophic forgetting, and if so, why?
Key findings
- The re-implementation of SqueezeDet training achieved a 1.8× speedup by offloading data processing to the GPU and minimizing CPU-GPU data transfers.
- Transfer learning from ImageNet to PASCAL VOC increased mAP by over 40% compared to training from scratch, demonstrating strong positive transferability.
- Co-adaptation was found to be highly detrimental: transferring from KITTI to PASCAL VOC failed unless the first 7 layers of SqueezeDet were fine-tuned.
- Hyperparameter optimization using AdaLipo and trust region methods improved mAP from 1.3% (random) to 2.8%, though gains were modest, indicating that hyperparameter choice was not the main bottleneck.
- The greedy bipartite match anchor matching algorithm was slower than the original method due to a dense anchor grid, but produced more accurate results.
- Transfer learning from ImageNet to KITTI and then to PASCAL VOC failed due to catastrophic forgetting, highlighting the risk of sequential domain shifts in embedded systems.
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.