arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2311.05970cs.CVcs.RO
收藏

量化蒸馏:优化资源受限环境下的驾驶员活动识别模型

Quantized Distillation: Optimizing Driver Activity Recognition Models for Resource-Constrained Environments

Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院);University of Stuttgart(斯图加特大学)

Calvin Tanama, Kunyu Peng, Zdravko Marinov, Rainer Stiefelhagen, Alina Roitberg

AI总结:

提出量化蒸馏框架,结合知识蒸馏与模型量化优化3D MobileNet,在保持准确性的同时实现驾驶员活动识别模型规模缩小3倍、推理速度提升1.4倍。

摘要:

基于深度学习模型因其显著的准确性而处于大多数驾驶员观察基准的前沿,但也伴随着高昂的计算成本。这在现实驾驶场景中资源往往有限的情况下颇具挑战性。本文介绍了一种用于资源高效驾驶员活动识别的轻量级框架。该框架通过引入知识蒸馏和模型量化来增强3D MobileNet——一种为视频分类速度优化的神经架构,以平衡模型准确性和计算效率。知识蒸馏通过利用来自更大教师模型(I3D)的软标签,而非仅依赖原始真实数据,有助于在减小模型规模的同时保持准确性。模型量化通过使用较低精度的整数表示模型权重和激活值,显著降低了内存和计算需求。在自动驾驶过程中车内监控的公开数据集上进行的大量测试表明,与已优化的架构相比,该新框架实现了模型规模缩小三倍、推理时间提升1.4倍的效果。本研究的代码可在https://github.com/calvintanama/qd-driver-activity-reco获取。

英文摘要:

Deep learning-based models are at the forefront of most driver observation benchmarks due to their remarkable accuracies but are also associated with high computational costs. This is challenging, as resources are often limited in real-world driving scenarios. This paper introduces a lightweight framework for resource-efficient driver activity recognition. The framework enhances 3D MobileNet, a neural architecture optimized for speed in video classification, by incorporating knowledge distillation and model quantization to balance model accuracy and computational efficiency. Knowledge distillation helps maintain accuracy while reducing the model size by leveraging soft labels from a larger teacher model (I3D), instead of relying solely on original ground truth data. Model quantization significantly lowers memory and computation demands by using lower precision integers for model weights and activations. Extensive testing on a public dataset for in-vehicle monitoring during autonomous driving demonstrates that this new framework achieves a threefold reduction in model size and a 1.4-fold improvement in inference time, compared to an already optimized architecture. The code for this study is available at https://github.com/calvintanama/qd-driver-activity-reco.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑