NightHaze: Nighttime Image Dehazing via Self-Prior Learning

Beibei Lin, Yeying Jin, Wending Yan, Wei Ye, Yuan Yuan, Robby T. Tan · DOI

TL;DR

This paper introduces NightHaze, a novel method for nighttime image dehazing that leverages a "self-prior learning" approach inspired by Masked Autoencoders (MAE). By applying severe, nighttime-specific augmentations (light effects and noise) to clear images, the model learns robust priors for restoring hazy night scenes. A subsequent self-refinement module further improves results by addressing over-suppression artifacts.

What Problem Does This Paper Address?

Nighttime image dehazing is a significantly challenging task due to the combination of haze with other degradations like low light, noise, glow, and uneven illumination. Existing methods often struggle with real-world nighttime haze images because they rely on synthetic data or less aggressive augmentations, leading to a domain gap and inferior performance. The absence of paired real data further complicates supervised learning. This paper aims to bridge this gap by developing a method that learns robust priors from clear images, making it resilient to complex nighttime degradations.

Methods

The core of NightHaze is its self-prior learning strategy, inspired by MAE's success with severe augmentation. Instead of masking image patches like MAE, NightHaze applies two key nighttime-specific augmentations to clear images:

  • Light Effects: Clear images are blended with manually captured "light maps" derived from real haze images. These light maps are enhanced with Gaussian kernels to simulate glow effects, creating uneven and potentially oversaturated illumination.
  • Noise: Gaussian noise is added to the blended images. The "severity" of the augmentation is controlled by increasing noise levels to approach the intensity of the blended light effects.

This process forces the network to learn to restore clear backgrounds from heavily degraded inputs. To address artifacts like over-suppression that can arise from this aggressive training, a self-refinement module is introduced. This module uses a semi-supervised teacher-student framework, but crucially, it employs non-reference image quality assessment (NF-IQA) scores to filter knowledge transfer, ensuring only high-quality information is passed from the teacher to the student.

Datasets

  • Training: The method is trained on clear nighttime images that are then augmented.
  • Evaluation: The primary evaluation dataset is RealNightHaze, a newly collected benchmark of 440 real-world nighttime haze images. This dataset is used to evaluate performance against existing methods, as paired ground truth is unavailable.

Key Insights and Ideas

  • Severe Augmentation is Key for Nighttime Priors: Just as MAE benefits from severe masking, NightHaze demonstrates that severe, nighttime-specific augmentations (light effects and noise) are crucial for learning robust priors that can handle real-world haze.
  • Nighttime Degradations as Augmentations: Directly leveraging the challenging aspects of nighttime images (glow, noise) as augmentation targets is more effective than generic masking or less aggressive synthetic haze.
  • NF-IQA for Guided Refinement: Using non-reference image quality metrics to guide the teacher-student refinement process is a novel way to prevent the propagation of errors and ensure high-quality knowledge transfer, especially when dealing with real-world, unannotated data.
  • Domain Gap Mitigation: By learning from augmented clear images, the model implicitly learns to bridge the domain gap between synthetic and real-world nighttime haze.

Key Results

  • State-of-the-Art Performance: NightHaze achieves significant improvements over existing nighttime image dehazing methods.
  • Quantitative Gains: The paper reports substantial margins: 15.5% improvement for MUSIQ and 23.5% for ClipIQA on the RealNightHaze dataset. Specific scores include 52.87 for MUSIQ and 76.88 for ClipIQA.
  • Qualitative Improvements: The method effectively suppresses glow, reveals detailed textures in low-light regions, and produces visually superior results compared to other state-of-the-art methods, as shown in qualitative examples.
  • Ablation Study: The results show a clear benefit from increasing the severity of augmentation, with 100% severe augmentation yielding the best performance. The self-refinement module also demonstrably reduces artifacts like over-suppression.

Limitations and Future Work

  • Over-suppression Artifacts: While the self-refinement module helps, the paper acknowledges that some artifacts, particularly over-suppression, can still occur.
  • Future Work: The authors suggest that their MAE-like self-prior learning framework can be extended to other image enhancement tasks beyond nighttime dehazing. The self-refinement module's ability to leverage NF-IQA for guided learning also opens avenues for further research in semi-supervised learning.

Summary updated

Abstract

Masked autoencoder (MAE) shows that severe augmentation during training produces robust representations for high-level tasks. This paper brings the MAE-like framework to nighttime image enhancement, demonstrating that severe augmentation during training produces strong network priors that are resilient to real-world night haze degradations. We propose a novel nighttime image dehazing method with self-prior learning. Our main novelty lies in the design of severe augmentation, which allows our model to learn robust priors. Unlike MAE that uses masking, we leverage two key challenging factors of nighttime images as augmentation: light effects and noise. During training, we intentionally degrade clear images by blending them with light effects as well as by adding noise, and subsequently restore the clear images. This enables our model to learn clear background priors. By increasing the noise values to approach as high as the pixel intensity values of the glow and light effect blended images, our augmentation becomes severe, resulting in stronger priors. While our self-prior learning is considerably effective in suppressing glow and revealing details of background scenes, in some cases, there are still some undesired artifacts that remain, particularly in the forms of over-suppression. To address these artifacts, we propose a self-refinement module based on the semi-supervised teacher-student framework. Our NightHaze, especially our MAE-like self-prior learning, shows that models trained with severe augmentation effectively improve the visibility of input haze images, approaching the clarity of clear nighttime images. Extensive experiments demonstrate that our NightHaze achieves state-of-the-art performance, outperforming existing nighttime image dehazing methods by a substantial margin of 15.5% for MUSIQ and 23.5% for ClipIQA.
BibTeX
@inproceedings{lin2025nighthaze,
  author = {Beibei Lin and Yeying Jin and Wending Yan and Wei Ye and Yuan Yuan and Robby T. Tan},
  title = {{NightHaze: Nighttime Image Dehazing via Self-Prior Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i5.32553},
}
Figure