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 条
  • [1] Road Target Detection in Different Weather Conditions Based on Deep Learning
    Yang, Zhendong
    Zhao, Yibing
    Li, Bin
    Guo, Lie
    IEEJ Transactions on Electrical and Electronic Engineering, 19 (11): : 1817 - 1827
  • [2] Road Target Detection in Different Weather Conditions Based on Deep Learning
    Yang, Zhendong
    Zhao, Yibing
    Li, Bin
    Guo, Lie
    IEEJ TRANSACTIONS ON ELECTRICAL AND ELECTRONIC ENGINEERING, 2024, 19 (11) : 1817 - 1827
  • [3] Skin Cancer Detection Using Transfer Learning and Deep Attention Mechanisms
    Alotaibi, Areej
    Alsaeed, Duaa
    DIAGNOSTICS, 2025, 15 (01)
  • [4] A General Survey on Attention Mechanisms in Deep Learning
    Brauwers, Gianni
    Frasincar, Flavius
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2023, 35 (04) : 3279 - 3298
  • [5] Harnessing edge-enhanced attention mechanisms for supernova detection in deep learning frameworks
    Yin, K.
    Jia, J.
    Li, F.
    Gao, X.
    Sun, T.
    ASTRONOMY AND COMPUTING, 2024, 46
  • [6] A New Road Damage Detection Baseline with Attention Learning
    Zhang, Hongwei
    Wu, Zhaohui
    Qiu, Yuxuan
    Zhai, Xiangcheng
    Wang, Zichen
    Xu, Peng
    Liu, Zhenzheng
    Li, Xiantong
    Jiang, Na
    APPLIED SCIENCES-BASEL, 2022, 12 (15):
  • [7] Road Detection Research Based on Deep Learning
    Gu, Shiyu
    Li, Yufeng
    2ND INTERNATIONAL CONFERENCE ON GREEN ENERGY AND SUSTAINABLE DEVELOPMENT (GESD 2019), 2019, 2122
  • [8] Deep Learning Approaches on Pedestrian Detection in Hazy Weather
    Li, Guofa
    Yang, Yifan
    Qu, Xingda
    IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, 2020, 67 (10) : 8889 - 8899
  • [9] Enhanced Colorectal Cancer Detection and Localization using Self-Attention Mechanisms in Deep Learning
    Gurumoorthi, T.
    Logesh, P.
    Ismail, N. Mohamed
    Malathi, K.
    2ND INTERNATIONAL CONFERENCE ON SUSTAINABLE COMPUTING AND SMART SYSTEMS, ICSCSS 2024, 2024, : 1589 - 1594
  • [10] Targeted Attention Attack on Deep Learning Models in Road Sign Recognition
    Yang, Xinghao
    Liu, Weifeng
    Zhang, Shengli
    Liu, Wei
    Tao, Dacheng
    IEEE INTERNET OF THINGS JOURNAL, 2021, 8 (06) : 4980 - 4990