AllWeatherNet:Unified Image Enhancement for Autonomous Driving under Adverse Weather and Lowlight-conditions

Chenghao Qian, Mahdi Rezaei, Saeed Anwar, Wenjing Li, Tanveer Hussain, Mohsen Azarmi, Wei Wang · DOI

TL;DR

AllWeather-Net is a unified image enhancement framework designed to transform images captured in adverse conditions—such as fog, rain, snow, and nighttime—into clear, daytime-like scenes. By combining a hierarchical discrimination strategy with a novel illumination-aware attention mechanism, it significantly improves the reliability of autonomous driving perception systems, boosting semantic segmentation performance by up to 5.3% mIoU.

What Problem Does This Paper Address?

Autonomous driving systems live and die by the quality of their visual input. However, real-world environments are rarely perfect; fog, heavy rain, snow, and low-light conditions severely degrade visibility, introducing noise and distorting colors.

Current solutions are often "siloed," focusing on a single problem like de-raining or nighttime-to-daytime translation. When these specialized models encounter a different adverse condition, they often fail or introduce unwanted artifacts. For instance, low-light enhancement techniques might mistakenly overexpose already bright regions in a snowy scene. The authors tackle the challenge of creating a unified model that can handle multiple weather and lighting degradations simultaneously while preserving the fine-grained textures essential for downstream tasks like semantic segmentation.

Methods

The authors propose AllWeather-Net, which moves away from direct pixel-level translation in favor of an enhancement pipeline that generates a "mask" to be added back to the original image (residual learning). This approach, illustrated in the comparison below, helps the model stay grounded in the original scene's context and reduces artifacts.

Comparison of pixel-level translation and image enhancement process.

The architecture features two primary innovations:

  1. Scaled Illumination-aware Attention Mechanism (SIAM): Standard attention mechanisms often over-prioritize dark regions. SIAM uses a scaled approach to ensure that high-illumination areas—like those obscured by bright fog or snow—receive adequate focus, leading to more balanced enhancement across the entire frame.
  2. Hierarchical Discrimination Framework: Instead of a single "real vs. fake" check, the model uses three discriminators operating at different semantic levels: Scene (overall coherence), Object (mid-range details), and Texture (fine-grained quality).
  3. Ranked Adaptive Window Pairing (RAWP): To train the model effectively when perfectly aligned image pairs (e.g., the exact same street in fog vs. sunshine) are unavailable, the authors developed RAWP to find the best-matched patches between source and target images during training.

Datasets

The model was trained and evaluated using several prominent benchmarks:

  • ACDC (Adverse Conditions Dataset with Correspondences): 1,600 images evenly distributed across snow, rain, night, and fog.
  • Dark Zurich: 2,416 nighttime images used for training and validation.
  • Generalization Sets: To test how the model handles unseen data, the authors used the Foggy Zurich and Nighttime Driving datasets without any additional re-training.

Key Insights and Ideas

  • Residual Learning for Stability: By learning an enhancement mask rather than regenerating the image from scratch, the model significantly reduces the search space during training, leading to fewer "hallucinated" artifacts that plague standard GANs.
  • Illumination as a Universal Signal: The authors realized that illumination intensity is a stable, condition-invariant signal. By scaling how the model attends to this signal (SIAM), they created a tool that works just as well in a dark alley as it does in a blinding snowstorm.
  • Multi-Scale Realism: The hierarchical approach acknowledges that what makes a "scene" look real is different from what makes a "leaf" or a "car" look real. Discriminating at the texture level is what allows the model to recover the sharp edges needed for computer vision.

Key Results

AllWeather-Net outperformed various state-of-the-art methods (including CycleGAN, EnlightenGAN, and specialized weather removal tools) across both qualitative and quantitative metrics.

  • Semantic Segmentation: On the ACDC dataset, the method improved the Mean Intersection over Union (mIoU) of a pre-trained PSPNet by 5.3%. On the challenging Dark Zurich dataset, it achieved a 17.6% mIoU, nearly doubling the performance of some competitors.
  • Image Quality: The model achieved the lowest NIQE (Natural Image Quality Evaluator) scores, indicating the most natural-looking results.
  • Generalization: The model proved robust on unseen datasets, improving mIoU by 1.8% on Foggy Zurich and 3.9% on Nighttime Driving without any fine-tuning.
Overview of AllWeather-Net architecture.

Limitations and Future Work

While AllWeather-Net shows impressive results, the paper notes that finding perfectly matched pairs for training remains a hurdle in the field, which their RAWP strategy only partially mitigates. The authors suggest that future work could focus on further refining the balance between different weather conditions within a single latent space. Additionally, while the model enhances images for perception, the computational overhead for real-time deployment on vehicle edge hardware was not extensively detailed.

Summary updated

BibTeX
@inproceedings{qian2024allweathernet,
  author = {Chenghao Qian and Mahdi Rezaei and Saeed Anwar and Wenjing Li and Tanveer Hussain and Mohsen Azarmi and Wei Wang},
  title = {{AllWeatherNet:Unified Image Enhancement for Autonomous Driving under Adverse Weather and Lowlight-conditions}},
  booktitle = {ICPR},
  year = {2024},
  doi = {10.1007/978-3-031-78113-1\_11},
}
Figure