A Driver Behavior Detection Model for Human-Machine Co-Driving Systems Based on an Improved Swin Transformer

Human-machine co-driving is an important stage in the development of automatic driving, and accurate recognition of driver behavior is the basis for realizing human-machine co-driving. However, traditional detection methods exhibit limitations in driver behavior detection, including low accuracy and...

Full description

Saved in:
Bibliographic Details
Main Authors: Junhua Cui, Yunxing Chen, Zhao Wu, Huawei Wu, Wanghao Wu
Format: Article
Language:English
Published: MDPI AG 2024-12-01
Series:World Electric Vehicle Journal
Subjects:
Online Access:https://www.mdpi.com/2032-6653/16/1/7
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1832587299007758336
author Junhua Cui
Yunxing Chen
Zhao Wu
Huawei Wu
Wanghao Wu
author_facet Junhua Cui
Yunxing Chen
Zhao Wu
Huawei Wu
Wanghao Wu
author_sort Junhua Cui
collection DOAJ
description Human-machine co-driving is an important stage in the development of automatic driving, and accurate recognition of driver behavior is the basis for realizing human-machine co-driving. However, traditional detection methods exhibit limitations in driver behavior detection, including low accuracy and slow processing efficiency. Aiming at these challenges, this paper proposes a driver behavior detection method that improves the Swin transformer model. First, the efficient channel attention (ECA) module is added after the self-attention mechanism of the Swin transformer model so that the channel features can be dynamically adjusted according to their importance, thus enhancing the model’s attention to the important channel features. Then, the image preprocessing of the public State Farm dataset and expansion of the original image dataset is carried out. Then, the parameters of the model are tuned. Finally, through the comparison test with other models, an ablation test is performed to verify the performance of the proposed model. The results show that the proposed model algorithm has a better performance in 10 classifications of driver behavior detection, with an accuracy of 99.42%, which is improved by 3.8% and 1.68% compared to Vgg16 and MobileNetV2, respectively. It can provide a theoretical reference for the development of an intelligent automobile human-machine co-driving system.
format Article
id doaj-art-847920aff88647ed8b16c6b8d7e76f9b
institution Kabale University
issn 2032-6653
language English
publishDate 2024-12-01
publisher MDPI AG
record_format Article
series World Electric Vehicle Journal
spelling doaj-art-847920aff88647ed8b16c6b8d7e76f9b2025-01-24T13:52:44ZengMDPI AGWorld Electric Vehicle Journal2032-66532024-12-01161710.3390/wevj16010007A Driver Behavior Detection Model for Human-Machine Co-Driving Systems Based on an Improved Swin TransformerJunhua Cui0Yunxing Chen1Zhao Wu2Huawei Wu3Wanghao Wu4Hubei Key Laboratory of Power System Design and Test for Electrical Vehicle, Hubei University of Arts and Science, Xiangyang 441053, ChinaHubei Key Laboratory of Power System Design and Test for Electrical Vehicle, Hubei University of Arts and Science, Xiangyang 441053, ChinaHubei Key Laboratory of Power System Design and Test for Electrical Vehicle, Hubei University of Arts and Science, Xiangyang 441053, ChinaHubei Key Laboratory of Power System Design and Test for Electrical Vehicle, Hubei University of Arts and Science, Xiangyang 441053, ChinaSchool of Automotive and Traffic Engineering, Hubei University of Arts and Science, Xiangyang 441053, ChinaHuman-machine co-driving is an important stage in the development of automatic driving, and accurate recognition of driver behavior is the basis for realizing human-machine co-driving. However, traditional detection methods exhibit limitations in driver behavior detection, including low accuracy and slow processing efficiency. Aiming at these challenges, this paper proposes a driver behavior detection method that improves the Swin transformer model. First, the efficient channel attention (ECA) module is added after the self-attention mechanism of the Swin transformer model so that the channel features can be dynamically adjusted according to their importance, thus enhancing the model’s attention to the important channel features. Then, the image preprocessing of the public State Farm dataset and expansion of the original image dataset is carried out. Then, the parameters of the model are tuned. Finally, through the comparison test with other models, an ablation test is performed to verify the performance of the proposed model. The results show that the proposed model algorithm has a better performance in 10 classifications of driver behavior detection, with an accuracy of 99.42%, which is improved by 3.8% and 1.68% compared to Vgg16 and MobileNetV2, respectively. It can provide a theoretical reference for the development of an intelligent automobile human-machine co-driving system.https://www.mdpi.com/2032-6653/16/1/7shared autonomydriver behavior detectiondeep learningSwin transformerattention mechanismnetwork training
spellingShingle Junhua Cui
Yunxing Chen
Zhao Wu
Huawei Wu
Wanghao Wu
A Driver Behavior Detection Model for Human-Machine Co-Driving Systems Based on an Improved Swin Transformer
World Electric Vehicle Journal
shared autonomy
driver behavior detection
deep learning
Swin transformer
attention mechanism
network training
title A Driver Behavior Detection Model for Human-Machine Co-Driving Systems Based on an Improved Swin Transformer
title_full A Driver Behavior Detection Model for Human-Machine Co-Driving Systems Based on an Improved Swin Transformer
title_fullStr A Driver Behavior Detection Model for Human-Machine Co-Driving Systems Based on an Improved Swin Transformer
title_full_unstemmed A Driver Behavior Detection Model for Human-Machine Co-Driving Systems Based on an Improved Swin Transformer
title_short A Driver Behavior Detection Model for Human-Machine Co-Driving Systems Based on an Improved Swin Transformer
title_sort driver behavior detection model for human machine co driving systems based on an improved swin transformer
topic shared autonomy
driver behavior detection
deep learning
Swin transformer
attention mechanism
network training
url https://www.mdpi.com/2032-6653/16/1/7
work_keys_str_mv AT junhuacui adriverbehaviordetectionmodelforhumanmachinecodrivingsystemsbasedonanimprovedswintransformer
AT yunxingchen adriverbehaviordetectionmodelforhumanmachinecodrivingsystemsbasedonanimprovedswintransformer
AT zhaowu adriverbehaviordetectionmodelforhumanmachinecodrivingsystemsbasedonanimprovedswintransformer
AT huaweiwu adriverbehaviordetectionmodelforhumanmachinecodrivingsystemsbasedonanimprovedswintransformer
AT wanghaowu adriverbehaviordetectionmodelforhumanmachinecodrivingsystemsbasedonanimprovedswintransformer
AT junhuacui driverbehaviordetectionmodelforhumanmachinecodrivingsystemsbasedonanimprovedswintransformer
AT yunxingchen driverbehaviordetectionmodelforhumanmachinecodrivingsystemsbasedonanimprovedswintransformer
AT zhaowu driverbehaviordetectionmodelforhumanmachinecodrivingsystemsbasedonanimprovedswintransformer
AT huaweiwu driverbehaviordetectionmodelforhumanmachinecodrivingsystemsbasedonanimprovedswintransformer
AT wanghaowu driverbehaviordetectionmodelforhumanmachinecodrivingsystemsbasedonanimprovedswintransformer