Deep Learning with Attention Mechanisms for Road Weather Detection.
autonomous vehicles
computer vision
deep learning
image classification
loss functions
vision transformers
weather detection
Journal
Sensors (Basel, Switzerland)
ISSN: 1424-8220
Titre abrégé: Sensors (Basel)
Pays: Switzerland
ID NLM: 101204366
Informations de publication
Date de publication:
10 Jan 2023
10 Jan 2023
Historique:
received:
09
12
2022
revised:
01
01
2023
accepted:
06
01
2023
entrez:
21
1
2023
pubmed:
22
1
2023
medline:
25
1
2023
Statut:
epublish
Résumé
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.
Identifiants
pubmed: 36679596
pii: s23020798
doi: 10.3390/s23020798
pmc: PMC9867451
pii:
doi:
Types de publication
Journal Article
Langues
eng
Sous-ensembles de citation
IM
Subventions
Organisme : UK Research and Innovation
ID : EP/L015463/1
Références
Sensors (Basel). 2020 Jan 28;20(3):
pubmed: 32012944
IEEE Trans Pattern Anal Mach Intell. 2022 Feb 18;PP:
pubmed: 35180075