Illumination Controllable Dehazing Network based on Unsupervised Retinex Embedding

Jie Gui, Xiaofeng Cong, Lei He, Yuan Yan Tang, James Tin-Yau Kwok · DOI

Introduction

Image dehazing is a critical preprocessing step for various computer vision tasks, yet it remains a fundamentally ill-posed problem. Traditional methods typically produce a single "optimal" output, failing to account for the subjective nature of visual preference or the varying illumination requirements of downstream applications like object detection. Furthermore, most high-performing models rely on paired datasets—hazy images and their corresponding ground-truth clear versions—which are notoriously difficult to capture in real-world settings.

To address these challenges, this paper introduces IC-Dehazing, a novel framework that combines unsupervised learning with interpretable physical models. By embedding Retinex theory into a Transformer-based architecture, IC-Dehazing allows users to manually adjust the illumination of restored images without requiring paired training data.

Methodology

The IC-Dehazing framework is built upon three core pillars: a Swin-Transformer backbone, an unsupervised Retinex embedding module, and a prior-guided training strategy.

Transformer-based Architecture

Unlike standard convolutional neural networks (CNNs) that focus on local features, IC-Dehazing utilizes a hierarchical Swin-Transformer backbone. This architecture is better suited for capturing long-range dependencies and global context, which are essential for understanding the overall haze distribution across a scene.

The IC-Dehazing architecture featuring a Swin-Transformer backbone and dual-path output for controllable illumination.

Unsupervised Retinex Embedding

The heart of the system is the Controllable Illumination (CI) Module. Grounded in Retinex theory—which models an image as the product of reflectance and illumination—the network generates two distinct paths: a direct mapping ($o_d(x)$) and a Retinex-based mapping ($o_r(x)$). A controllable factor, $\alpha$, allows for a linear fusion of these paths, enabling users to tune the final brightness and contrast of the dehazed result.

Prior-Guided Unsupervised Training

To circumvent the need for paired data, the authors employ a CycleGAN-inspired approach consisting of a dehazing module and a haze-synthesis module. To stabilize the early stages of unsupervised training, the Dark Channel Prior (DCP) is used to generate pseudo-labels. This physical prior acts as "training wheels," with its influence gradually decaying as the model learns more complex representations from real-world data.

Experiments and Results

The model was rigorously evaluated on multiple benchmarks, including RESIDE (ITS/OTS), SOTS, and real-world datasets like RTTS and a high-resolution 4K dataset.

Quantitative and Qualitative Performance

IC-Dehazing achieves state-of-the-art performance among unsupervised methods. On the 4K dataset, it reached a PSNR of 23.355, outperforming several supervised models. Qualitatively, the controllable parameter $\alpha$ provides a range of visually pleasing results, allowing for adjustments from high-contrast, moody scenes to bright, clear environments while preserving structural details.

Visual dehazing results on the SOTS outdoor dataset demonstrating controllable illumination via the parameter α.

Impact on Downstream Tasks

Beyond visual restoration, the framework significantly benefits computer vision tasks. On the RTTS dataset, IC-Dehazing improved object detection (mAP.5) from 0.674 to 0.675. This is notable because many competing dehazing methods often introduce artifacts that degrade detection accuracy. Similar improvements were observed in semantic segmentation tasks on the NYU-Seg-Haze dataset.

Conclusion

IC-Dehazing represents a significant step forward in making image restoration more interpretable and adaptable. By moving away from "black-box" single-output models and leveraging physical priors in an unsupervised Transformer framework, it offers a robust solution for real-world dehazing. Future work will explore automated selection of the illumination parameter $\alpha$ to optimize performance for specific downstream tasks, such as maximizing confidence in autonomous driving systems.

Summary updated

BibTeX
@article{gui2024illumination,
  author = {Jie Gui and Xiaofeng Cong and Lei He and Yuan Yan Tang and James Tin-Yau Kwok},
  title = {{Illumination Controllable Dehazing Network based on Unsupervised Retinex Embedding}},
  journal = {IEEE Trans. Multimedia},
  year = {2024},
  doi = {10.1109/tmm.2023.3326881},
}
Figure