Abstract
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.
Funder
Horizon Centre for Doctoral Training at the University of Nottingham
Microlise
Subject
Electrical and Electronic Engineering,Biochemistry,Instrumentation,Atomic and Molecular Physics, and Optics,Analytical Chemistry
Reference29 articles.
1. Mase, J.M., Pekaslan, D., Agrawal, U., Mesgarpour, M., Chapman, P., Torres, M.T., and Figueredo, G.P. (2022). Contextual Intelligent Decisions: Expert Moderation of Machine Outputs for Fair Assessment of Commercial Driving. arXiv.
2. Weather conditions, weather information and car crashes;Perrels;ISPRS Int. J. Geo Inf.,2015
3. Kang, L.W., Chou, K.L., and Fu, R.H. (2018, January 6–8). Deep Learning-based weather image recognition. Proceedings of the 2018 International Symposium on Computer, Consumer and Control (IS3C), Taichung, Taiwan.
4. Zhang, Z., and Ma, H. (2015, January 27–30). Multi-class weather classification on single images. Proceedings of the 2015 IEEE International Conference on Image Processing (ICIP), Quebec City, QC, Canada.
5. Imagenet classification with deep convolutional neural networks;Krizhevsky;Commun. ACM,2017
Cited by
6 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献