Year: 2024
Type: dissertation
Abstract: When faced with a certain object detection task, transfer learning offers a way of saving resources, by utilizing a pretrained model as a starting point, instead of randomly initialized weights. This thesis investigates the significance of choosing a pretrained model trained on an object-class with visual characteristics similar to that of the certain target object detection task. Specifically, using YOLOv8 models, the task of detecting trucks in images were used to compare different pretrained models, trained to detect object-classes with visual characteristics of varying similarity to trucks, namely cars, which can be said to have a higher degree of visual similarity to trucks, as opposed to the other pretrained model used, trained to detect humans. Additionally, the pretrained models were compared to a control model with no pretraining and randomly initialized weights. Each pretrained model and control model were retrained to detect trucks, and after equal training time, their performance were compared on metrics such as mean average precision (mAP), box loss, recall, and precision. The results reveal that models pretrained on tasks with visual and structural similarities to the target detection task (e.g., cars for truck-detection) exhibit enhanced performance over those pretrained on dissimilar tasks (e.g., humans) or those with randomly initialized weights. The car-pretrained model notably achieved the highest mAP scores, substantiating the hypothesis that transfer learning is more effective when pretraining and target tasks are closely aligned. Furthermore, the study highlights a crucial balance between generalization and specialization in pretrained models, with specific pretrained features significantly boosting performance on related tasks. Through rigorous analysis, this research confirms that strategic model selection based on the nature of pretraining tasks can substantially improve detection accuracy and efficiency in practical applications. It also points to future research directions, including exploring layer-specific transferability and extending pretraining to diverse object classes to further enhance the robustness and versatility of object detection models.
Authors: Dahlstrand, Yuusuf, Eneroth, Peo
Institution: KTH Royal Institute of Technology
Language: English
Subfield: Computer Vision and Pattern Recognition
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7036666274
