Source:THUSIGSICLAB

Article link: https://mp.weixin.qq.com/s/AadX6xpxE2gywQDMF4dyQQ

Thesis title: PRISM: Rethinking Atmospheric Scattering Reconstruction as a Unified Understanding and Restoration Model for Real-world Dehazing

Paper link: https://arxiv.org/pdf/2604.07048

Introduction to the paper

01

Research overview

Real-world image dehazing faces challenges such as non-uniform fog distribution, spatially varying color shifts, and scarcity of real paired data. This paper proposes PRISM, which treats single image dehazing as a joint reconstruction problem of scene content and atmospheric scattering processes, under a unified physical model, to simultaneously restore clear images and estimate the degradation caused by fog.

At the heart of PRISM is the near-end scattering atmospheric reconstruction framework PSAR. It uses optimization expansion to alternately update scene radiance, transmittance, and spatially varying atmospheric light, making image restoration and scattering estimation mutually constrained. In order to reduce the difference between synthetic fog and real fog, this paper further designs an online non-uniform fog synthesis process and a selective self-distillation adaptive method SSDA for unpaired real fog images. The latter filters reliable pseudo labels through perceptual quality and uses scattering variables to check residual fog in the restored image, improving real scene performance from both perceptual and physical perspectives.

Comparison of results between PRISM and existing methods, showing differences in color naturalness, residual fog, and artifacts

02

Main contributions

First, a physically structured PSAR framework is proposed that explicitly estimates atmospheric scattering variables and jointly reconstructs scene radiance and scattering processes through a proximal optimization step.

Second, an online non-uniform fog synthesis process and SSDA are proposed to combine quality-gated distillation with physical scattering priors to achieve adaptive learning on unpaired real fog maps.

Third, the system is evaluated on a real-world dehazing benchmark. Experiments show that under the evaluation protocol adopted in the paper, PRISM can take into account the dehazing effect, color naturalness and detail preservation, and achieve competitive results on multiple indicators.

Research background and problem modeling

Fog in real scenes is often unevenly distributed and works together with color shifts caused by local colored fog, car lights, building windows, etc., as well as camera noise and compression artifacts. Inferring the original clear scene and the physical properties of the fog from just one foggy image is itself a highly uncertain problem. Directly learning the mapping from hazy to clear usually lacks explicit physical constraints; traditional scattering model methods often estimate transmittance and atmospheric light first, and then invert clear images, without fully utilizing the mutual constraints between the three.

Combining physical models with optimized deployment provides a more structured path for joint recovery. Among existing methods, PDN introduces a priori optimization into the unfolding framework, but the final reorganization method is difficult to adapt to real composite degradation; CORUN jointly updates transmittance and scene radiance, but uses global constant atmospheric light, which limits the expression of local illumination and spatial non-uniform scattering. At the same time, there is still a domain difference between regularized synthetic fog and real degradation. If pseudo-labels are used for self-distillation without filtering, errors may continue to accumulate.

Atmospheric scattering model and joint reconstruction

The atmospheric scattering model can understand the formation of foggy images from two parts: one is that the original scene light is attenuated by fog during propagation, and the other is the ambient light introduced by atmospheric scattering. Transmittance describes how much original scene information is retained, atmospheric light affects the brightness and color of the fog screen, and scene radiance corresponds to the clear image content you wish to restore.

Rather than treating atmospheric light as a fixed constant throughout the image, PSAR allows atmospheric light and transmittance to vary with spatial location. This can not only describe the intensity of fog in different areas, but also describe local color shifts. More importantly, the three are no longer estimated independently, but are jointly updated under the constraints of the same scattering model, so that the recovery of clear images is consistent with the interpretation of fog.

Variable estimation of PSAR, sequentially initial A, initial T, input fog map, output A, output T and output J

In Figure 2, the scene radiance is initialized with the input fog map, and the atmospheric light and transmittance are initialized with 0.9 and 0.5 respectively. After reconstruction, the transmittance map shows spatial differences corresponding to the fog distribution, and the atmospheric light map reflects scene-related changes in brightness and color. These explicit estimates not only participate in image restoration, but also provide physical basis for subsequent real domain adaptation.

PSAR near-end scattering atmospheric reconstruction

PSAR breaks down a complex joint reconstruction process into successive stages. Each stage uses the same atmospheric scattering target and updates atmospheric light, transmittance and scene radiance in sequence. When updating, it not only considers whether the current image conforms to the scattering model, but also limits the range of changes between the new estimate and the results of the previous stage to avoid excessive fluctuations in each variable during the iteration. This method corresponds to proximal optimization, and connecting multiple stages in series is optimization expansion.

The stage structure and overall architecture of PSAR. Atmospheric light maintains near-end closed updates, and transmittance and scene radiance estimates are corrected by lightweight learning

Specifically, each stage first calculates new atmospheric light based on the current clear image and transmittance estimate; then updates the transmittance and corrects its structural error through a lightweight network; finally uses the updated scattering variables to reconstruct the scene radiance, and then uses another lightweight network to compensate for the texture and radiation residuals in the image. The next stage receives these updated results and continues to refine the reconstruction.

This design takes into account physical interpretability and the flexibility of the learning model: the atmospheric light branch retains analytical updates, and the transmittance and scene reconstruction branches add learning corrections. The former reduces extra fitting of weakly constrained variables, and the latter is used to compensate for complex degradation that is difficult to cover with the ideal scattering model. The paper finally adopts four expansion stages to achieve a better balance between effect and model complexity.

Online non-uniform fog synthesis and pre-training

Real fog both lacks a large number of pairs of clear images and is difficult to adequately simulate through a simple uniform scattering process. In order to increase the degradation diversity of pre-training samples, this paper adopts a depth-guided online fog synthesis process based on RIDCP data, and extends the spatial non-uniform fog density and close-range fog intensity control. Synthesis is completed dynamically during the training process, without the need to generate a fixed fog image dataset in advance.

Non-uniform density field and close-range fog control

When synthesizing, the method first randomly adjusts the brightness of the clear image and adds noise, and then combines the depth information to sample the basic fog density. For the non-uniform fog branch, the system generates low-resolution random noise, which is smoothed, upsampled, and numerically adjusted to convert it into a slowly changing spatial fog density field; while retaining a certain proportion of uniform fog samples. In this way, the model can not only see the overall uniform fog screen during training, but also be exposed to local fog distribution with different shades.

In addition, the method introduces a close-range fog parameter to control the fog intensity in the area close to the camera by adjusting the depth-related scattering attenuation. The brightness and RGB color of the atmospheric light are also randomly changed when rendering, and compression degradation is applied. Spatial density changes, depth attenuation, local color shifts and near-field occlusion jointly expand the coverage of synthetic samples, making pre-training closer to complex real scenes.

Pre-training goals

Pre-training requires the model not only to recover clear images, but also to supervise its transmittance estimation and reconcile visual effects with physical interpretation through multiple constraints. Among them, the pixel-level loss ensures that the restored image and transmittance are close to the true values ​​in the synthetic data; the total variation regularity of atmospheric light encourages it to maintain smooth spatial changes; the contrast perception loss brings the restoration result closer to the visual characteristics of the clear image and distances it from the foggy input; the adversarial target helps the result conform to the statistical characteristics of natural images and reduces unnatural high-frequency artifacts.

It is worth noting that the atmospheric light set during rendering mainly plays an anchoring role in the overall color and brightness of the image, and is not equal to the pixel-by-pixel atmospheric light distribution of the real scene. Therefore, the author does not directly require the atmospheric light predicted by the network to be consistent with the rendering value pixel by pixel, but indirectly constrains this variable through image reconstruction, transmittance supervision, and smoothing regularization to avoid incorrect absorption of image texture by the atmospheric light branch.

SSDA selective self-distillation adaptive

Pre-trained only on synthetic data, the model may still perform unstable in real dense fog, complex lighting and color shift scenes. To this end, SSDA adopts a mean teacher architecture: the EMA teacher processes a weakly enhanced version of the real haze image and generates a candidate clear image; the student processes the corresponding strongly enhanced version and learns from reliable teacher results. The entire adaptation process consists of two complementary modules: mass-gated self-distillation QGSD and physically-based scattering regularization PGSR.

SSDA overall process. QGSD screens teacher pseudo-labels, and PGSR examines student recovery results via teacher-estimated scatter variables.

Quality gated autodistillation QGSD

The main risk of self-distillation is that the teacher output may not always be better than the student, and directly treating all results as pseudo-labels may reinforce errors. QGSD therefore adds a quality filter: using two reference-free image quality indicators, MUSIQ and NIMA, to evaluate the restoration results from multi-scale visual quality and aesthetic performance respectively. The current sample participated in distillation only if teacher results were strictly better than students on all selected metrics.

For samples that pass screening, students receive both pixel-level supervision and contrast-aware constraints to learn the teacher's clear image output. Since QGSD decides whether to distill based only on the final restored image, it does not rely on explicit transmittance or atmospheric light estimates and can also be migrated to other image restoration networks.

Physically based scattering regular PGSR

Perceptual quality scores do not fully reflect the adequacy of dehazing: an image may appear to be rich in detail but still retain a screen of fog. PGSR adds physical level checks for this purpose. It feeds the student's restored image back to the EMA teacher to observe the teacher's estimated transmittance. If some areas are still judged to have low transmittance, it means there may be residual fog there and further constraints are needed.

However, low transmittance estimates are not reliable in all areas. Smooth areas, strong light sources, and nearly saturated highlighted pixels can easily lead to misjudgments. PGSR therefore combines the difference between pixels and estimated atmospheric light, local texture intensity, and highlight suppression to determine which locations are better suited to impose constraints. For these relatively reliable areas, the method only penalizes transmittance below the target level, with the target value set to 0.9; for areas that have reached the target, dehazing is no longer continued to reduce over-enhancement and unnatural artifacts.

Ultimately, SSDA uses a combination of quality-filtered distillation supervision, physical constraints on residual fog, and atmospheric light smoothing regularization. The student is continuously updated, and the teacher follows the student through EMA smoothing to provide new candidate pseudo-labels and scatter estimates for subsequent iterations.

Experimental results and analysis

Quantitative comparison

The paper mainly uses FADE to measure residual fog, and uses PAQ2PIQ and CLIPIQA to evaluate perceptual quality. On both RTTS and Fattal real scene data sets, full PRISM achieved the lowest FADE and the highest two perceptual quality scores among the compared methods.

RTTS and Fattal quantitative results. Screenshot of Table 1 of the original paper, red is the best, blue is the second best.

On the paired real data set NH-HAZE, PSAR achieves a PSNR of 20.10 dB and an SSIM of 0.688, both higher than the comparison methods in the table. This experiment evaluates the pixel fidelity and structural similarity of PSAR, complementing the evaluation of full PRISM on reference-free real scenes.

PSAR evaluation on NH-HAZE

In the supplementary evaluation, the NIMA, MUSIQ, ManIQA, and LIQE scores of PRISM on RTTS are 5.347, 70.02, 0.362, and 3.569, respectively, which are the best values ​​among the compared methods and are consistent with the overall trend of the main indicators.

qualitative comparison

Judging from the visualization results, methods such as D4 and RIDCP may leave obvious fog curtains in dense fog or non-uniform fog areas; some results of CORUN and CoA have color casts or dark artifacts; several examples of HazeFlow have unnatural purple tones. In contrast, PRISM is able to more fully remove residual fog in the scene shown in the paper, while maintaining relatively natural colors, textures and lighting.

Qualitative comparison of RTTS and Fattal. The columns are Input, D4, RIDCP, CORUN, CoA, HazeFlow, and PRISM.

03

Reconstruction and synthesis process ablation

Ablation experiments verified the role of each design of PSAR. After removing the learning correction of the scene reconstruction branch, all three main indicators decreased; when removing the transmittance correction, although PAQ2PIQ improved slightly, FADE and CLIPIQA became worse. The additional addition of atmospheric light learning correction does not bring benefits, but worsens FADE and CLIPIQA; changing the spatially varying atmospheric light to a global constant will also cause an overall decrease in the three indicators.

Online non-uniform fog synthesis also plays a role: after replacing it with uniform fog synthesis, FADE rises from 0.869 to 0.955. Experiments on the number of stages show that four stages can achieve better overall results, and continuing to increase to six stages does not bring about consistent improvements.

04

Composition and generalization of SSDA

PSAR stage number and SSDA component module ablation.

After removing QGSD, all three main indicators become worse; after removing PGSR, although CLIPIQA is slightly improved, FADE is significantly worsened, reflecting the trade-off between perceived texture quality and residual fog suppression. Migration experiments also show that QGSD and SSDA are not only suitable for PSAR: after adding QGSD to DGUNet and adding complete SSDA to the CORUN pre-trained version, all three indicators are improved, and FADE drops from 1.111 to 0.940 and from 1.044 to 0.745 respectively.

Teacher updating strategies also affect the adaptation effect. With the teacher fixed and with EMA removed, FADE is 0.583 and 0.526, respectively, both higher than the 0.470 for the full PRISM. In addition, there is no additional benefit from directly supervising the rendering of atmospheric light, or introducing more complex random transformations of pixel-level atmospheric light. These results support the EMA teacher update method and atmospheric light constraint design adopted in the paper.

05

Visualization of the training phase

The results of the training phase further demonstrate the complementarity of the two methods: pre-trained PSAR can remove a large amount of fog, but residual fog and color distortion may still occur in heavily degraded areas; after SSDA adaptation, PRISM further reduces artifacts in areas of dense fog and strong color shift, and improves color naturalness and detail retention.

Comparison of training phases. The three rows are input, pre-trained PSAR and adapted PRISM.

Summarize

The core idea of ​​PRISM is to jointly optimize the dehazing results and the physical explanation of fog. PSAR is deployed through near-end optimization, incorporating scene radiance, transmittance and spatial atmospheric light into a unified reconstruction process; online non-uniform fog synthesis improves pre-training's coverage of complex degradation; SSDA further utilizes reliable pseudo-labels and scattering priors to alleviate performance degradation when migrating from synthetic data to real scenes.

Overall, the value of this article is not only to improve the dehazing index, but also to provide an idea that combines physical models, learning reconstruction and real domain adaptation. Experimental and ablation results show that these modules can complement each other to better preserve color and image details while removing residual fog.

Graphics | Fang Chengyu

Editor | Wu Xin

Review | Teacher Li

edit

Resend Email Modify Email