Nanyang Technological University
Optimizing lightweight object detection via knowledge distillation
Abstract
dc:description.abstractThe latest technology developments in both hardware and software made the application of target detection in various images in daily life increasingly widespread in the last period. Correspondingly, there is a demand for deploying models on various devices. Some of these devices may have certain limitations on the size of the model due to certain requirements. However, high-performance models generally consume a large amount of memory, which leads to a dilemma. Through the knowledge distillation technique, we can transfer the knowledge of the large model to the small model, making the model lightweight while maintaining high performance, thus effectively solving the problem. This dissertation investigates the use of knowledge distillation to improve the performance of lightweight object detection models. A teacher–student distillation framework is designed based on the YOLOv5 architecture, where a compact student model learns from a larger and more accurate teacher model. The proposed approach combines output-level distillation at the detection head with attention-based feature distillation at the neck, allowing the student to benefit from both prediction-level guidance and multi-scale feature representations. Importantly, this distillation strategy does not introduce additional computational cost during inference. Our experimental results demonstrate the substantial effectiveness of the distillation approach. The distilled model achieves a {mAP\_0.5} of {0.77474} and {mAP\_0.5:0.95} of {0.49598} upon convergence, outperforming the baseline model by {5.16\%} and {6.72\%}, respectively. The analysis of the training dynamics indicates that the streamlined model converges to lower bounding box and classification loss values, which suggests that knowledge has been successfully transferred from the teacher model. This work validates that knowledge distillation is a practical solution that can be used to develop high-performance and efficient object detectors suitable for resource-constrained environments.
Degree
thesis:*- College dc:contributor.school
- School of Electrical and Electronic Engineering
- Grantor dc:publisher
- Nanyang Technological University
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Lu, Birui
- Advisor dc:contributor.supervisor
-
- Poenar Daniel Puiu
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10356/212643