# Hazediff: A training-free diffusion-based image dehazing method with pixel-level feature injection

**Authors:** Xiaoxia Lin, Zhengao Li, Dawei Huang, Wancheng Feng, XinJun An, Lin Sun, Niuzhen Yu, Yan Li, Chunwei Leng

PMC · DOI: 10.1371/journal.pone.0329759 · PLOS One · 2025-10-28

## TL;DR

HazeDiff is a new image dehazing method that uses diffusion models without needing training data, improving image quality and reliability.

## Contribution

HazeDiff introduces a training-free diffusion-based approach with pixel-level feature injection for effective image dehazing.

## Key findings

- HazeDiff outperforms existing dehazing methods on both real-world and synthetic datasets.
- The method achieves higher scores on no-reference and full-reference image quality metrics.
- Pixel-Level Feature Injection and Structure Retention Model enhance restoration quality and structural detail preservation.

## Abstract

In the current environmental context, significant emissions generated by industrial and transportation activities, coupled with an unreasonable energy structure, have resulted in recurrent haze phenomena. This consequently leads to degraded image contrast and reduced resolution in captured images, significantly hindering subsequent mid- and high-level visual tasks. These technical challenges have positioned image dehazing as a pivotal research frontier in computer vision. Nevertheless, current image dehazing approaches exhibit notable limitations. Deep learning-based methodologies demand extensive paired hazy-clean training datasets, the acquisition of which remains particularly challenging. Furthermore, synthetically generated data frequently exhibit marked disparities from authentic scenarios, thereby limiting model generalizability. Despite diffusion-based approaches demonstrating superior image reconstruction performance, their data-driven implementations face comparable limitations. To overcome these challenges, we propose HazeDiff: a training-free dehazing method based on the Diffusion model. This method provides a novel perspective for image dehazing research. Unlike existing approaches, it eliminates the need for hard-to-get paired training data, reducing computational costs while enhancing generalization. This not only reduces computational costs but also improves the generalization ability and stability on different datasets. Ultimately, it ensures that the dehazing restoration results are more reliable and effective. The Pixel-Level Feature Inject (PFI) we proposed is implemented through the self-attention layer. It integrates the pixel-level feature representation of the reference image into the initial noise of the dehazing image, effectively guiding the diffusion process to achieve the dehazing effect. As a supplement, the Structure Retention Model (SRM) incorporated in Cross-attention performs dynamic feature enhancement through adaptive attention re-weighting. This ensures the retention of key structural features during the restoration process while reducing detail loss. We have conducted comprehensive experiments on both real-world and synthetic datasets.Experimental results demonstrate that HazeDiff surpasses state-of-the-art dehazing methods, achieving higher scores on both no-reference (e.g., NIQE) and full-reference (e.g., PSNR) evaluation metrics. It shows stronger generalization ability and practicality. It can restore high-quality images with natural visual features and clear structural content from low-quality hazy images.

## Full-text entities

- **Chemicals:** FFA-Net (-)

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12561952/full.md

## Figures

12 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12561952/full.md

## References

17 references — full list in the complete paper: https://tomesphere.com/paper/PMC12561952/full.md

---
Source: https://tomesphere.com/paper/PMC12561952