Manuscript Offprint
arXiv:2611.07398FreePath: Neural Mean Free Path for Image Dehazing
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
Single image dehazing requires recovering scene radiance from visual responses that are weakened and veiled by participating media. Existing methods either invert explicit scattering variables, which can be unstable under complex scenes, or learn direct restoration mappings, which often discard the physical organization of haze formation. We present FreePath, a neural mean free path framework for image dehazing. Instead of estimating atmospheric parameters, FreePath represents dehazing as feature space path state restoration, inspired by the expected distance a visual response can propagate before interacting with haze. Within a residual encoder and decoder, the Mean Free Path Residual Block learns path and collision fields to guide haze constrained correction, while FreePath State Conservation Integration preserves restored path states during deep feature aggregation. Experiments on paired CDD-11 haze images and real RTTS scenes show that FreePath consistently improves full reference fidelity, no reference perceptual quality, and visual faithfulness over representative dehazing baselines.
Index Terms— Image dehazing, mean free path, image restoration, computer vision
1. INTRODUCTION
Images captured in haze lose contrast, color fidelity, and distant structures, which makes visual understanding and downstream perception unreliable [1, 2]. Classical dehazing explains this degradation through atmospheric scattering, where the recorded image mixes attenuated scene radiance with airlight scattered by suspended particles [3, 1]. This view has inspired influential priors and neural designs, but the usual variables are often too coarse to describe the feature ambiguity handled by learned restoration networks [2, 4, 5, 6].
Learning based dehazing improves restoration through scattering related prediction, gated or attention based aggregation, and general restoration architectures [6, 7, 8, 9]. Yet dehazing still needs a representation that is more physically meaningful than generic enhancement and less brittle than explicit single image parameter estimation [10, 11, 12]. From this perspective, a dehazing network should identify which feature responses can remain as reliable scene evidence and
which responses require medium aware correction. This motivates a learnable path state that connects a physical notion of path freedom with residual image restoration.
We address this gap with FreePath, a neural mean free path framework. Mean free path describes the expected travel distance before a medium interaction [10, 11]. FreePath translates this concept into a feature space path state, where path free responses preserve scene structure and collision constrained responses receive stronger residual correction.
As shown in Fig. 1, FreePath keeps the residual encoder and decoder topology but reorganizes internal computation around this path state. The Mean Free Path Residual Block corrects hazy responses, and FreePath State Conservation Integration consolidates deep features without assigning another path state. Our contributions are summarized as:
- We propose FreePath, a neural mean free path framework that reformulates image dehazing as feature space path state restoration.
- We instantiate the framework with a Mean Free Path Residual Block and a FreePath State Conservation Integration module, respectively correcting collision constrained responses and preserving restored path states during deep aggregation.
- Experiments on paired CDD-11 haze images and real RTTS scenes demonstrate strong full reference accuracy, no reference quality, and visually faithful dehazing performance.
Learning based dehazing and restoration. Learning based dehazing has benefited from synthetic and real benchmarks

Fig. 1. The overall framework of FreePath. The first row shows neural mean free path restoration inside an encoder and decoder pipeline. The lower panels show the Mean Free Path Residual Block and Conservation Integration, which perform path guided correction and state preserving aggregation.
[14, 17, 16]. Early networks estimate haze related maps or directly regress clear images [18, 19, 6], while later methods introduce gated fusion, adversarial translation, grid processing, feature attention, contrastive learning, domain adaptation, codebook priors, and transformer architectures [20, 7, 21]. The evaluated baselines span gated context aggregation [7], rank oriented recovery [22], all in one restoration [23], prompt driven adaptation [24], and haze density correction [25]. General restoration models further motivate stable encoder and decoder restoration [26, 9, 27, 28, 29], while FreePath organizes this restoration with a neural mean free path state.
3. METHOD
3.1. Overview
FreePath is designed to keep the optimization reliability of a residual encoder and decoder while giving its feature evolution a scattering aware organization. Given a hazy image , the network predicts a dehazed image as
where and are projection layers, is a four stage encoder, is the FreePath State Conservation Integration module, and is the decoder with skip connections. The residual output form encourages the model to focus on haze removal rather than reconstructing the whole scene from scratch, which is consistent with recent restoration networks [26, 9, 30].
The key representation in FreePath is the neural mean free path state. Each Mean Free Path Residual Block estimates a path gate and a complementary collision constraint . The gate is not treated as a calibrated physical distance. It is a learned feature field whose role mirrors the mean free path concept: large marks responses that can be carried forward as scene evidence, while large marks responses that should receive stronger haze correction [10, 11]. The integration stage then aggregates deep features without creating a second path assignment, so the restored state remains consistent between the encoder and decoder.
3.2. Mean Free Path Residual Block
The Mean Free Path Residual Block is the core computation unit of FreePath. For an input feature , the block first normalizes the feature and predicts the path state:
where is a convolutional predictor and denotes the sigmoid function. The normalized feature is modulated by the free path field before residual extraction:
This keeps path free responses prominent and assigns larger residual correction to collision constrained responses.
To retain the strong optimization behavior of convolutional restoration blocks [31, 26, 30], FreePath uses a set of depthwise residual filters and predicts data dependent re-sponse weights:
where are depthwise filter bases. The collision constraint controls the residual energy:
where is a pointwise decomposition layer. A gated channel mixer then produces the block output. The block therefore does not invert an explicit haze equation. It learns residual updates from paired supervision, but the updates are routed by the neural free path and collision fields.
3.3. FreePath State Conservation Integration
After repeated path sensitive correction, the deepest representation should be aggregated without changing its recovered path state. FreePath therefore uses State Conservation Integration. Its principle is simple: once the restoration stream has inferred neural mean free path states, the integration stage should consolidate deep features instead of predicting another independent path gate.
Given a deep feature , the integration module applies a path preserving residual transform:
where are depthwise residual filter bases and are adaptive response weights. The integrated feature is then obtained by
followed by a gated channel integration:
Different from the Mean Free Path Residual Block, this module does not predict a new free path gate or collision field. It preserves the path states restored by surrounding FreePath blocks and performs stable deep feature aggregation. Thus, FreePath first corrects features according to inferred path freedom and then conserves those states for decoding.
3.4. Training Objective
We train FreePath with image level restoration supervision. The hazy input is normalized to , and the prediction is mapped back to before being compared with the clear target y:
where is the smooth loss, , and is a VGG 16 feature perceptual loss computed with the first 16 feature layers fixed [32, 33]. The mean free path and collision fields are not directly annotated; they emerge from paired image restoration.
4. EXPERIMENTS
4.1. Dataset and Protocol
Experiments use two complementary datasets. For paired training and full reference evaluation, we use the haze subset of CDD-11 [16], which provides aligned hazy and clear images. We sort the training pairs by numerical identifiers and train FreePath on the first 500 hazy and clear pairs. Testing uses 200 paired CDD-11 haze images. We report PSNR, SSIM [32], FSIM [34], VSI [35], LPIPS [33], and GMSD [36].
For real scene evaluation, we select 50 RTTS images from RESIDE [14]. Since RTTS has no aligned clear targets, we report CLIPQA and visual comparisons to assess no reference dehazing quality.
4.2. Implementation Details
All models, including FreePath and the ablation variants, are trained under the same setting on a single NVIDIA RTX 3080 GPU. We use Adam optimization with an initial learning rate of and batch size 4, and train each model for 50 epochs. The learning rate is divided by 2 every 10 epochs, and the last checkpoint after the 50th epoch is used for testing. The network width is set to 32 channels. For CDD-11 testing, outputs are denormalized to the [0,1] range and compared with aligned clear targets. For RTTS testing, the same trained model is directly applied to real hazy images without fine tuning.
4.3. Main Comparisons
We compare FreePath with representative dehazing and restoration baselines, including GCANet [7], ROP [22], AirNet [23], PDDA [24], and IHDCP [25]. Table 1 aligns the quantitative evidence with the two evaluation regimes: the left group reports full reference metrics on paired CDD-11 images, and the last column reports no reference quality on RTTS. FreePath achieves the best CDD-11 scores across PSNR, SSIM, FSIM, VSI, LPIPS, and GMSD. It also obtains the highest RTTS CLIPQA score. These results show consistent gains in pixel fidelity, perceptual structure, and real scene quality within the same architecture. The metric pattern is consistent with the intended role of FreePath. PSNR and SSIM reflect improved paired fidelity, FSIM and VSI indicate stronger structural preservation, and LPIPS and GMSD show
Table 1. Main comparison on CDD-11 and RTTS. Results are reported as mean ± standard deviation. Higher is better for PSNR, SSIM, FSIM, VSI, and CLIPIQA, while lower is better for LPIPS and GMSD.
| Method | CDD-11 | RTTS | |||||
|---|---|---|---|---|---|---|---|
| PSNR ↑ | SSIM ↑ | FSIM ↑ | VSI ↑ | LPIPS ↓ | GMSD ↓ | CLIPIQA ↑ | |
| GCANet [7] | 17.991±4.500 | 0.893±0.063 | 0.940±0.034 | 0.979±0.013 | 0.154±0.081 | 0.048±0.019 | 0.377±0.210 |
| ROP [22] | 17.833±3.113 | 0.930±0.041 | 0.927±0.030 | 0.969±0.015 | 0.139±0.069 | 0.044±0.017 | 0.353±0.190 |
| AirNet [23] | 17.012±2.754 | 0.607±0.117 | 0.897±0.022 | 0.972±0.009 | 0.137±0.049 | 0.137±0.026 | 0.379±0.135 |
| PDDA [24] | 18.761±2.629 | 0.886±0.046 | 0.951±0.032 | 0.980±0.014 | 0.176±0.067 | 0.045±0.025 | 0.394±0.150 |
| IHDCP [25] | 19.550±3.725 | 0.941±0.039 | 0.960±0.024 | 0.982±0.012 | 0.078±0.053 | 0.027±0.011 | 0.423±0.207 |
| FreePath | 27.608±4.549 | 0.986±0.012 | 0.990±0.010 | 0.997±0.003 | 0.016±0.014 | 0.010±0.008 | 0.433±0.199 |

Fig. 2. Visual comparison on CDD-11 and RTTS. Columns follow Table 1. Ground truth is available only for CDD-11.
reduced perceptual and gradient distortion. On RTTS, CLIPIQA further suggests that the learned path state transfers to real haze without paired real scene supervision.
Figure 2 gives the corresponding visual evidence. On CDD-11, FreePath removes the dense veil while preserving natural colors and scene structures, producing results closest to the aligned clear targets. On RTTS, where ground truth is unavailable, FreePath better suppresses veiling while preserving scene structures, matching the quantitative conclusion in Table 1.
4.4. Ablation Study
To verify the effectiveness of the proposed architecture, we conduct an ablation study under the same data, training setting, and testing protocol as the main experiment. FreePath w/o Mean Free Path Residual Block replaces the proposed residual blocks with path agnostic residual units, reducing PSNR from 27.608 to 27.440. FreePath w/o State Conservation Integration keeps the Mean Free Path Residual Blocks but removes the conservation principle at the integration stage, causing a larger drop to 26.644 PSNR and 0.983 SSIM. The first variant verifies that the learned path and collision fields provide useful guidance beyond standard residual transformation, while the second shows that path states must be preserved during deep aggregation. The two results jointly support the central claim of neural mean free path restoration.
Table 2. Ablation studies on CDD-11. Results are mean ± standard deviation under the same training and testing protocol.
| Method | PSNR ↑ | SSIM ↑ |
|---|---|---|
| FreePath w/o MFP Block | 27.440±4.600 | 0.985±0.012 |
| FreePath w/o State Conservation | 26.644±4.822 | 0.983±0.013 |
| FreePath | 27.608±4.549 | 0.986±0.012 |
5. CONCLUSION
We presented FreePath, an image dehazing framework built around neural mean free path restoration. Instead of explicitly estimating atmospheric light or transmission, FreePath learns feature path states inside a residual encoder and decoder. The Mean Free Path Residual Block performs path sensitive correction, while FreePath State Conservation Integration preserves restored path states during deep aggregation. Experiments on paired CDD-11 haze images and real RTTS scenes show strong performance under full reference and no reference evaluations, together with consistent visual improvements over representative baselines. Ablation results further confirm that path guided correction and state preserving aggregation are both necessary for effective neural mean free path restoration. These results indicate that mean free path is not merely a naming device, but the organizing variable that connects residual correction and state conservation into one restoration process.
6. REFERENCES
[1] Srinivasa G Narasimhan and Shree K Nayar, “Vision and the atmosphere,” IJCV, vol. 48, no. 3, pp. 233–254, 2002.
[2] Kaiming He, Jian Sun, and Xiaou Tang, “Single image haze removal using dark channel prior,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 33, no. 12, pp. 2341–2353, 2010.
[3] Harald Koschmieder, Theorie der horizontalen Sichtweite, Keim & Nemnich, 1925.
[4] Gaofeng Meng, Ying Wang, Jiangyong Duan, et al., “Efficient image dehazing with boundary constraint and contextual regularization,” in ICCV, 2013, pp. 617–624.
[5] Dana Berman, Tali Treibitz, and Shai Avidan, “Non-local image dehazing,” in CVPR, 2016, pp. 1674–1682.
[6] Boyi Li, Xiulian Peng, Zhangyang Wang, et al., “Aod-net: All-in-one dehazing network,” in ICCV. Ieee, 2017, pp. 4780–4788.
[7] Dongdong Chen, Mingming He, Qingnan Fan, et al., “Gated context aggregation network for image dehazing and deraining,” in WACV. IEEE, 2019, pp. 1375–1383.
[8] Xu Qin, Zhilin Wang, Yuanchao Bai, et al., “Ffa-net: Feature fusion attention network for single image dehazing,” in AAAI, 2020, vol. 34, pp. 11908–11915.
[9] Syed Waqas Zamir, Aditya Arora, Salman Khan, et al., “Restormer: Efficient transformer for high-resolution image restoration,” in CVPR, 2022, pp. 5728–5739.
[10] Akira Ishimaru, Wave propagation and scattering in random media, vol. 12, John Wiley & Sons, 1999.
[11] Craig F Bohren and Donald R Huffman, Absorption and scattering of light by small particles, John Wiley & Sons, 2008.
[12] Yu Zheng, Jiahui Zhan, Shengfeng He, et al., “Curricular contrastive regularization for physics-aware single image dehazing,” in CVPR. IEEE, 2023, pp. 5785–5794.
[13] Raanan Fattal, “Single image dehazing,” ACM TOG, vol. 27, no. 3, pp. 1–9, 2008.
[14] Boyi Li, Wenqi Ren, Dengpan Fu, et al., “Benchmarking single-image dehazing and beyond,” IEEE Trans. Image Process., vol. 28, no. 1, pp. 492–505, 2018.
[15] Codruta O Ancuti, Cosmin Ancuti, Mateu Sbert, et al., “Dense-haze: A benchmark for image dehazing with dense-haze and haze-free images,” in ICIP. IEEE, 2019, pp. 1014–1018.
[16] Yu Guo, Yuan Gao, Yuxu Lu, et al., “Onerestore: A universal restoration framework for composite degradation,” in ECCV. Springer, 2024, pp. 255–272.
[17] Codruta Ancuti, Cosmin Ancuti, Radu Timofte, et al., “O-haze: a dehazing benchmark with real hazy and haze-free outdoor images,” in CVPRW, 2018.
[18] Bolun Cai, Xiangmin Xu, Kui Jia, et al., “Dehazenet: An end-to-end system for single image haze removal,” IEEE Trans. Image Process., vol. 25, no. 11, pp. 5187–5198, 2016.
[19] Wenqi Ren, Si Liu, Hua Zhang, et al., “Single image dehazing via multi-scale convolutional neural networks,” in ECCV. Springer, 2016, pp. 154–169.
[20] Wenqi Ren, Lin Ma, Jiawei Zhang, et al., “Gated fusion network for single image dehazing,” in CVPR. IEEE, 2018, pp. 3253–3261.
[21] Rui-Qi Wu, Zheng-Peng Duan, Chun-Le Guo, et al., “Ridcp: Revitalizing real image dehazing via high-quality codebook priors,” in CVPR. IEEE, 2023, pp. 22282–22291.
[22] Jun Liu, Ryan Wen Liu, Jianing Sun, et al., “Rank-one prior: Real-time scene recovery,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 45, no. 7, pp. 8845–8860, 2022.
[23] Boyun Li, Xiao Liu, Peng Hu, et al., “All-in-one image restoration for unknown corruption,” in CVPR. IEEE, 2022, pp. 17431–17441.
[24] Yan Zhang, Yuxin Feng, Xin Li, et al., “Pdda: Prompt-driven domain adaptation for real-world image dehazing,” IEEE Trans. Image Process., 2026.
[25] Yun Liu, Tao Li, Chunping Tan, et al., “Ihdcp: Single image dehazing using inverted haze density correction prior,” IEEE Trans. Image Process., 2026.
[26] Syed Waqas Zamir, Aditya Arora, Salman Khan, et al., “Multi-stage progressive image restoration,” in CVPR. IEEE, 2021, pp. 14816–14826.
[27] Jingyun Liang, Jiezhang Cao, Guolei Sun, et al., “Swinir: Image restoration using swin transformer,” in ICCVW. IEEE, 2021, pp. 1833–1844.
[28] Zhendong Wang, Xiaodong Cun, Jianmin Bao, et al., “Uformer: A general u-shaped transformer for image restoration,” in CVPR. IEEE, 2022, pp. 17662–17672.
[29] Vaishnav Potlapalli, Syed Waqas Zamir, Salman H Khan, et al., “Promptir: Prompting for all-in-one image restoration,” in NeurIPS, 2023, vol. 36, pp. 71275–71293.
[30] Liangyu Chen, Xiaojie Chu, Xiangyu Zhang, et al., “Simple baselines for image restoration,” in ECCV. Springer, 2022, pp. 17–33.
[31] Hang Dong, Jinshan Pan, Lei Xiang, et al., “Multi-scale boosted dehazing network with dense feature fusion,” in CVPR. IEEE, 2020, pp. 2154–2164.
[32] Zhou Wang, Alan C Bovik, Hamid R Sheikh, et al., “Image quality assessment: from error visibility to structural similarity,” IEEE Trans. Image Process., vol. 13, no. 4, pp. 600–612, 2004.
[33] Richard Zhang, Phillip Isola, Alexei A Efros, et al., “The unreasonable effectiveness of deep features as a perceptual metric,” in CVPR. IEEE, 2018, pp. 586–595.
[34] Lin Zhang, Lei Zhang, Xuanqin Mou, et al., “Fsim: A feature similarity index for image quality assessment,” IEEE Trans. Image Process., vol. 20, no. 8, pp. 2378–2386, 2011.
[35] Lin Zhang, Ying Shen, and Hongyu Li, “Vsi: A visual saliency-induced index for perceptual image quality assessment,” IEEE Trans. Image Process., vol. 23, no. 10, pp. 4270–4281, 2014.
[36] Wufeng Xue, Lei Zhang, Xuanqin Mou, et al., “Gradient magnitude similarity deviation: A highly efficient perceptual image quality index,” IEEE Trans. Image Process., vol. 23, no. 2, pp. 684–695, 2013.