Skip to main content
QUICK REVIEW

[Paper Review] NightHazeFormer: Single Nighttime Haze Removal Using Prior Query Transformer

Yun Liu, Zhongsheng Yan|arXiv (Cornell University)|May 16, 2023
Image Enhancement TechniquesComputer Science10 citations
TL;DR

NightHazeFormer introduces a two-stage pipeline (supervised pre-training with prior queries in a transformer, then semi-supervised fine-tuning) and a new UNREAL-NH dataset to advance nighttime haze removal and generalization to real data.

ABSTRACT

Nighttime image dehazing is a challenging task due to the presence of multiple types of adverse degrading effects including glow, haze, blurry, noise, color distortion, and so on. However, most previous studies mainly focus on daytime image dehazing or partial degradations presented in nighttime hazy scenes, which may lead to unsatisfactory restoration results. In this paper, we propose an end-to-end transformer-based framework for nighttime haze removal, called NightHazeFormer. Our proposed approach consists of two stages: supervised pre-training and semi-supervised fine-tuning. During the pre-training stage, we introduce two powerful priors into the transformer decoder to generate the non-learnable prior queries, which guide the model to extract specific degradations. For the fine-tuning, we combine the generated pseudo ground truths with input real-world nighttime hazy images as paired images and feed into the synthetic domain to fine-tune the pre-trained model. This semi-supervised fine-tuning paradigm helps improve the generalization to real domain. In addition, we also propose a large-scale synthetic dataset called UNREAL-NH, to simulate the real-world nighttime haze scenarios comprehensively. Extensive experiments on several synthetic and real-world datasets demonstrate the superiority of our NightHazeFormer over state-of-the-art nighttime haze removal methods in terms of both visually and quantitatively.

Motivation & Objective

  • Address the challenge of nighttime haze removal with multiple degradations beyond haze alone.
  • Develop an end-to-end transformer framework guided by non-learnable prior queries derived from physical priors.
  • Enhance generalization to real-world nighttime hazy images via a semi-supervised fine-tuning strategy using pseudo-labels.
  • Create a large-scale synthetic nighttime hazy dataset (UNREAL-NH) that closely mimics real-world degradations.

Proposed method

  • Encoder-decoder transformer backbone (NAFBlocks) for feature extraction at multiple scales.
  • Incorporate non-learnable prior queries into the transformer decoder using Dark Channel Prior (DCP) and Bright Channel Prior (BCP) to guide degradation-aware learning.
  • Train with supervised loss combining PSNR and perceptual loss (VGG-19) for haze removal.
  • Perform semi-supervised fine-tuning: unsupervised learning on REAL-NH followed by pseudo-ground-truth generation via BCCR, then synthetic-domain fine-tuning.
  • Propose UNREAL-NH dataset generation using Unreal Engine 4.27 to simulate diverse degradations and glow effects; assess with PSNR/SSIM, NIQE, MUSIQ-AVA.
  • Employ unsupervised losses: DCP and BCP priors plus spatial, exposure, and color-consistency terms during fine-tuning.

Experimental results

Research questions

  • RQ1How can prior physical priors be integrated into a transformer for nighttime haze removal?
  • RQ2Does a two-stage training paradigm (supervised pre-training plus semi-supervised fine-tuning) improve generalization to real-world nighttime hazy images?
  • RQ3Can a large-scale synthetic nighttime hazy dataset that better mimics real degradations (UNREAL-NH) reduce domain gap and improve restoration quality?
  • RQ4What are the quantitative gains of NightHazeFormer over state-of-the-art nighttime dehazing methods on synthetic and real-world data?

Key findings

  • NightHazeFormer achieves the best PSNR and SSIM on UNREAL-NH and REAL-NH compared with listed baselines.
  • On synthetic datasets NHR and NHM, NightHazeFormer outperforms baselines in PSNR and SSIM.
  • NightHazeFormer ranks highest in MUSIQ-AVA and lowest in NIQE on REAL-NH, indicating strong perceptual quality and aesthetics.
  • Ablation studies show that (i) the NAFBlock-based encoder/decoder and latent feature modeling boost performance, (ii) the combination of DCP and BCP priors yields better results than either alone, and (iii) the semi-supervised fine-tuning stage improves generalization to real-world data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.