Optimization of the YOLOv8-Nano Deep Learning Model Through Knowledge Distillation for Driver Drowsiness Detection on Android Devices
Driver drowsiness is a major concern in transportation safety and requires an automated detection system capable of operating efficiently on mobile devices. This study aims to optimize the deep learning model YOLOv8-Nano for driver drowsiness detection through Knowledge Distillation while maintaining its lightweight characteristics for Android deployment. The dataset consists of 3,090 images representing six classes, namely eye_closed, eye_open, yawn, no_yawn, head_dropped, and head_straight. A YOLOv8-Large model was trained as the teacher model for 100 epochs using the default random seed, while YOLOv8-Nano was evaluated through four experimental configurations: E0 as the baseline, E1 with logit distillation, E2 with logit and bounding box distillation, and E3 with logit, bounding box, and feature distillation. Each configuration was trained for 30 epochs using random seeds 42, 43, and 44, and the results were summarized using mean and standard deviation. The results show that E3 achieved the highest performance, with a Precision of 0.9260 ± 0.0066, Recall of 0.9018 ± 0.0050, F1-score of 0.9137 ± 0.0036, [email protected] of 0.9323 ± 0.0015, and [email protected]:0.95 of 0.6368 ± 0.0030. Compared with the E0 baseline, E3 improved [email protected] from 0.3845 ± 0.0360 to 0.9323 ± 0.0015. The optimized model maintains 3.2 million parameters, 8.7 GFLOPs, and a model size of 6.2 MB, with an inference time of 182–343 ms and an observed frame rate of 2.91–5.82 FPS on the target Android device. Functional testing using the Black Box method achieved a Pass result for all tested functions. These results indicate that Knowledge Distillation, particularly the combination of logit, bounding box, and feature distillation in E3, can improve the detection performance of YOLOv8-Nano while preserving its lightweight characteristics for Android deployment
Authors
- Feri Alpiyasin
- Muhamad Fauzan
Institutions
- Sekolah Tinggi Manajemen Informatika dan Komputer Mardira Indonesia (ID)
- Telkom University (ID)
Publication Details
- Journal
- Majalah Bisnis & IPTEK
- Published
- 2026-11-27
- DOI
- https://doi.org/10.55208/bistek.v19.i2.06
- Primary Topic
- Advanced Neural Network Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00