Heuristic Style Transfer for Real-Time, Efficient Weather Attribute Detection
Hamed Ouattara, Pierre Duthon, Pascal Houssam Salmane, Fr\'ed\'eric Bernardin, Omar Ait Aider

TL;DR
This paper introduces lightweight, style-inspired neural architectures for real-time weather condition detection from images, achieving high accuracy and generalization with efficient models suitable for embedded systems.
Contribution
It proposes novel style-based architectures, automates Gram-matrix computation, and releases a large annotated weather dataset for improved weather attribute detection.
Findings
Models achieve over 96% F1 on internal test set.
Zero-shot evaluation yields over 78% F1 on external datasets.
PMG architecture runs in real time with fewer than 5 million parameters.
Abstract
We present lightweight and efficient architectures to detect weather conditions from RGB images, predicting the weather type (sunny, rain, snow, fog) and 11 complementary attributes such as intensity, visibility, and ground condition, for a total of 53 classes across the tasks. This work examines to what extent weather conditions manifest as variations in visual style. We investigate style-inspired techniques, including Gram matrices, a truncated ResNet-50 targeting lower and intermediate layers, and PatchGAN-style architectures, within a multi-task framework with attention mechanisms. Two families are introduced: RTM (ResNet50-Truncated-MultiTasks) and PMG (PatchGAN-MultiTasks-Gram), together with their variants. Our contributions include automation of Gram-matrix computation, integration of PatchGAN into supervised multi-task learning, and local style capture through local Gram for…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
