Introduction
Real-world image restoration often requires a combination of weather removal (deraining) and super-resolution (SR) to prepare images for downstream tasks like autonomous driving or surveillance. However, these two processes are fundamentally at odds regarding high-frequency image data. Deraining typically acts as a low-pass filter to suppress high-frequency rain noise, which inadvertently smooths out essential textures. Conversely, SR attempts to hallucinate high-frequency details. When these tasks are cascaded, the smoothing artifacts from deraining propagate into the SR model, leading to blurry edges and inconsistent reconstructions.
The DHGM Framework
To resolve this "chicken-and-egg" problem, the authors propose the Diffusion-based High-frequency Guided Model (DHGM). The core innovation lies in using clean latent priors to bridge the gap between noise removal and detail restoration. The model operates in two distinct phases:
- Prior Extraction & Network Training: The model learns a compact latent prior from clean, high-resolution (HR) ground truth images. Two specialized modules utilize these priors:
- Media Remover (MR): Employs a Guided Filter Module (GFM) to smooth rain noise while preserving structural edges.
- Texture Compensator (TC): Uses a 1D Discrete Cosine Transform (DCT) as a high-pass filter to extract and re-inject high-frequency edge features into the network.
- Diffusion-based Prior Learning: During inference, when clean images are unavailable, a latent diffusion model (DDIM) predicts these priors from the rainy input. By operating in a compressed 1D latent space rather than pixel space, the diffusion process remains computationally efficient.
Experimental Results
DHGM was evaluated on the RainDrop and RainDS datasets, which include both synthetic and real-world rainy conditions. The model demonstrates a superior balance between restoration quality and computational overhead.
State-of-the-Art Performance
On the RainDS synthetic dataset (2x scale), DHGM achieved a PSNR of 31.28 dB, significantly outperforming competitors like DiffIR (29.94 dB). Qualitatively, the method preserves sharp edges and fine textures, which directly translates to improved performance in downstream tasks. As shown in the visual comparisons, DHGM enables more accurate detection of small, distant objects compared to standard deraining pipelines.
Efficiency and Trade-offs
Efficiency is a key highlight of the DHGM architecture. With only 10.1M parameters and an inference time of 0.16 seconds, it is significantly faster than cascaded transformer-based approaches (e.g., SwinIR + Histoformer), which can take over 5 seconds per image.
Conclusion
DHGM successfully addresses the inherent high-frequency conflict between deraining and super-resolution. By integrating traditional signal processing filters with modern latent diffusion, the model achieves state-of-the-art restoration quality while maintaining the efficiency required for real-time applications. Future work aims to extend this framework to handle more complex, multi-weather degradations such as combined snow and haze.
Summary updated