Deep Learning with Attention Mechanisms for Road Weather Detection

被引:11
|
作者
Samo, Madiha [1 ]
Mase, Jimiama Mosima Mafeni [1 ]
Figueredo, Grazziela [1 ]
机构
[1] Univ Nottingham, Sch Comp Sci, Nottingham NG7 2RD, England
关键词
computer vision; deep learning; image classification; loss functions; vision transformers; weather detection; autonomous vehicles; ARCHITECTURE;
D O I
10.3390/s23020798
中图分类号
O65 [分析化学];
学科分类号
070302 ; 081704 ;
摘要
There is great interest in automatically detecting road weather and understanding its impacts on the overall safety of the transport network. This can, for example, support road condition-based maintenance or even serve as detection systems that assist safe driving during adverse climate conditions. In computer vision, previous work has demonstrated the effectiveness of deep learning in predicting weather conditions from outdoor images. However, training deep learning models to accurately predict weather conditions using real-world road-facing images is difficult due to: (1) the simultaneous occurrence of multiple weather conditions; (2) imbalanced occurrence of weather conditions throughout the year; and (3) road idiosyncrasies, such as road layouts, illumination, and road objects, etc. In this paper, we explore the use of a focal loss function to force the learning process to focus on weather instances that are hard to learn with the objective of helping address data imbalances. In addition, we explore the attention mechanism for pixel-based dynamic weight adjustment to handle road idiosyncrasies using state-of-the-art vision transformer models. Experiments with a novel multi-label road weather dataset show that focal loss significantly increases the accuracy of computer vision approaches for imbalanced weather conditions. Furthermore, vision transformers outperform current state-of-the-art convolutional neural networks in predicting weather conditions with a validation accuracy of 92% and an F1-score of 81.22%, which is impressive considering the imbalanced nature of the dataset.
引用
收藏
页数:13
相关论文
共 50 条
  • [21] Examining Attention Mechanisms in Deep Learning Models for Sentiment Analysis
    Kardakis, Spyridon
    Perikos, Isidoros
    Grivokostopoulou, Foteini
    Hatzilygeroudis, Ioannis
    APPLIED SCIENCES-BASEL, 2021, 11 (09):
  • [22] Deep Learning Approaches for Vehicle and Pedestrian Detection in Adverse Weather
    Zaman, Mostafa
    Saha, Sujay
    Zohrabi, Nasibeh
    Abdelwahed, Sherif
    2023 IEEE TRANSPORTATION ELECTRIFICATION CONFERENCE & EXPO, ITEC, 2023,
  • [23] Attention Mechanisms for Physiological Signal Deep Learning: Which Attention Should We Take?
    Park, Seong-A
    Lee, Hyung-Chul
    Jung, Chul-Woo
    Yang, Hyun-Lim
    MEDICAL IMAGE COMPUTING AND COMPUTER ASSISTED INTERVENTION, MICCAI 2022, PT I, 2022, 13431 : 613 - 622
  • [24] RoadSegNet: a deep learning framework for autonomous urban road detection
    Pal K.
    Yadav P.
    Katal N.
    Journal of Engineering and Applied Science, 2022, 69 (01):
  • [25] Deep representation learning for road detection using Siamese network
    Liu, Huafeng
    Han, Xiaofeng
    Li, Xiangrui
    Yao, Yazhou
    Huang, Pu
    Tang, Zhenmin
    MULTIMEDIA TOOLS AND APPLICATIONS, 2019, 78 (17) : 24269 - 24283
  • [26] Road and railway detection in SAR images using deep learning
    Sen, Nigar
    Olgun, Orhun
    Ayhan, Oner
    IMAGE AND SIGNAL PROCESSING FOR REMOTE SENSING XXV, 2019, 11155
  • [27] Deep representation learning for road detection using Siamese network
    Huafeng Liu
    Xiaofeng Han
    Xiangrui Li
    Yazhou Yao
    Pu Huang
    Zhenmin Tang
    Multimedia Tools and Applications, 2019, 78 : 24269 - 24283
  • [28] Underground Mine Road Detection Using Deep Learning Technique
    Tong, Zhixue
    Zhang, Wenda
    Zhang, Xuefeng
    APPLIED SCIENCES-BASEL, 2023, 13 (07):
  • [29] A Novel Deep Learning Network with Deformable Convolution and Attention Mechanisms for Complex Scenes Ship Detection in SAR Images
    Chen, Peng
    Zhou, Hui
    Li, Ying
    Liu, Peng
    Liu, Bingxin
    REMOTE SENSING, 2023, 15 (10)
  • [30] Applications of Deep Learning to Road Sign Detection in DVR Images
    Kuo, Yong-Lin
    Lin, Shih-Hsun
    2019 IEEE INTERNATIONAL SYMPOSIUM ON MEASUREMENT AND CONTROL IN ROBOTICS (ISMCR): ROBOTICS FOR THE BENEFIT OF HUMANITY, 2019,