[Paper Review] Weather Classification: A new multi-class dataset, data augmentation approach and comprehensive evaluations of Convolutional Neural Networks
This paper introduces the RFS dataset, a new open-source multi-class weather image dataset for rain, snow, and fog, and proposes a novel superpixel-based data augmentation technique to improve Convolutional Neural Network (CNN) performance in weather classification. The method enhances model generalization across 10 CNN architectures, with ResNet-50 achieving the highest mAP of 80.70% using 100 superpixel masks, demonstrating that superpixel augmentation boosts accuracy while addressing class imbalance and domain shift.
Weather conditions often disrupt the proper functioning of transportation systems. Present systems either deploy an array of sensors or use an in-vehicle camera to predict weather conditions. These solutions have resulted in incremental cost and limited scope. To ensure smooth operation of all transportation services in all-weather conditions, a reliable detection system is necessary to classify weather in wild. The challenges involved in solving this problem is that weather conditions are diverse in nature and there is an absence of discriminate features among various weather conditions. The existing works to solve this problem have been scene specific and have targeted classification of two categories of weather. In this paper, we have created a new open source dataset consisting of images depicting three classes of weather i.e rain, snow and fog called RFS Dataset. A novel algorithm has also been proposed which has used super pixel delimiting masks as a form of data augmentation, leading to reasonable results with respect to ten Convolutional Neural Network architectures.
Motivation & Objective
- To address the lack of diverse, multi-class weather datasets for outdoor scene classification.
- To improve generalization and robustness of CNNs in weather classification using data augmentation.
- To explore the effectiveness of superpixel masks as a novel augmentation strategy for fine-grained weather recognition.
- To evaluate multiple state-of-the-art CNN architectures on a new benchmark dataset under varying augmentation conditions.
- To provide a reproducible, open-source dataset and method to reduce bias and improve fairness in weather classification models.
Proposed method
- The authors created the RFS dataset by collecting images from online sources, with 2000 images per class (rain, snow, fog), and incorporating existing benchmark images to reduce bias.
- A novel data augmentation technique was developed using superpixel masks—generated via SLIC algorithm—to create synthetic training samples by masking and augmenting regions of input images.
- The method applies superpixel masks at varying densities (25, 50, 75, 100 masks per image) to increase training diversity without altering the original image distribution.
- Ten pre-trained CNN architectures (including ResNet, VGG, CaffeNet, PlacesCNN) were fine-tuned on the RFS dataset with and without superpixel augmentation.
- Evaluation used mean Average Precision (mAP) across all classes, with per-class analysis to assess model robustness and generalization.
- The pipeline included image preprocessing, superpixel generation, data mixing via masking, and end-to-end training with cross-entropy loss.
Experimental results
Research questions
- RQ1Can superpixel-based data augmentation improve the performance of CNNs in multi-class weather classification?
- RQ2How does the number of superpixel masks affect model generalization and accuracy across different architectures?
- RQ3Does the proposed RFS dataset reduce bias and improve fairness compared to existing weather datasets?
- RQ4Which CNN architecture performs best under superpixel augmentation for weather classification?
- RQ5Can a hybrid dataset combining online and benchmark images improve model robustness and reduce domain shift?
Key findings
- ResNet-50 achieved the highest mAP of 80.70% when trained with 100 superpixel masks, outperforming all other architectures across all settings.
- The use of superpixel augmentation consistently improved mAP for 8 out of 10 models, with the most significant gains observed in ResNet-50 and ResNet-101.
- The PlacesCNN and CaffeNet models showed minimal or no improvement with augmentation, suggesting architectural limitations in leveraging the new data form.
- For the sunny category, VGG_CNN_M performed best, indicating that certain architectures may be better suited for specific weather types.
- The overall mAP across all models and settings ranged from 68% to 81%, confirming the effectiveness of the proposed augmentation and dataset.
- The results support the hypothesis that superpixel masking enhances feature learning by introducing controlled, semantically meaningful perturbations during training.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.