TL;DR
This paper introduces DHGM, a diffusion-based model that solves the "high-frequency conflict" between image deraining (which tends to over-smooth) and super-resolution (which amplifies artifacts). By using a two-stage diffusion process to learn compact latent priors and employing guided/high-pass filters, the model restores sharp, high-resolution images from rainy, low-resolution inputs more effectively and efficiently than existing cascaded methods.
What Problem Does This Paper Address?
In computer vision, we often need to "clean" images taken in bad weather (restoration) and then upscale them for better analysis (super-resolution or SR). However, these two tasks are fundamentally at odds:
- Deraining aims to suppress high-frequency noise (rain streaks). In doing so, it often accidentally removes valuable high-frequency textures (edges, fine details).
- Super-Resolution tries to hallucinate high-frequency details. If the input is over-smoothed by a derainer, the SR model has nothing to work with; if the derainer leaves artifacts, the SR model amplifies them.
This "high-frequency conflict" is particularly damaging for downstream tasks like small object detection (e.g., distant cars in a 2K image), where the targets only occupy a few dozen pixels and rely entirely on fine texture for identification.
Methods
The authors propose the Diffusion-based High-frequency Guided Model (DHGM). The core idea is to use a pre-trained diffusion model to provide "guidance" on what clean, high-frequency textures should look like, even when the input is messy.
Key Components:
- Media Remover (MR): Uses a Guided Filter Module (GFM). Inspired by traditional guided filters, this module learns to smooth out rain streaks while preserving the underlying structural edges of the image.
- Texture Compensator (TC): Uses a High-pass Filter based on the Discrete Cosine Transform (DCT). It extracts missing high-frequency components from the learned priors and injects them back into the features to sharpen edges.
- Two-Phase Training:
- Stage 1 (Prior Extraction): The model learns to compress clean, high-resolution images into a compact latent prior (P).
- Stage 2 (Diffusion Learning): A diffusion model is trained to map rainy, low-resolution inputs to these clean latent priors. Unlike standard diffusion models that generate full images (which is slow), this model generates a compact 1D vector, making it much faster.
Datasets
The model was evaluated on several standard and complex benchmarks:
- RainDS: Includes synthetic and real-world data for rain streaks, raindrops, and a combination of both.
- Raindrop: A dataset specifically for images obscured by water droplets on a lens.
- Extension Sets: The authors also tested the model on snow and "rain + haze" conditions to demonstrate its versatility.
Key Insights and Ideas
- The "Chicken-and-Egg" Solution: To restore an image, you need to know what the clean version looks like (the prior). But to get the prior, you need a restored image. DHGM breaks this loop by using a diffusion model to "guess" the clean latent prior from the rainy input.
- Frequency-Domain Surgicality: Instead of just using standard neural network layers, the authors specifically use DCT-based high-pass filters. This allows the model to explicitly target the "missing" frequencies that derainers usually destroy.
- Efficiency via Latent Space: By running the diffusion process in a compact latent space (estimating vectors rather than full feature maps), the authors achieve high-quality results without the massive computational overhead typically associated with diffusion-based restoration.
Key Results
DHGM consistently outperformed state-of-the-art methods (like Histoformer, SRFormer, and DiffIR) across multiple metrics:
- Quantitative: On the RainDS-Syn-Rain set, DHGM achieved a PSNR of 31.28 dB, significantly higher than the next best fine-tuned model (DiffIR at 29.94 dB).
- Efficiency: Despite using diffusion, DHGM is remarkably lightweight. It uses only 10.1M parameters (compared to 22.0M for DiffIR or 27.1M for SRFormer) and has an inference time of 0.16s, making it one of the fastest high-performing models in the study.
- Qualitative: Visual results show much sharper edges on distant objects and a near-total removal of "ghosting" artifacts that plague cascaded deraining+SR pipelines.
Limitations and Future Work
- Weather Specificity: While the paper shows some results for snow and haze, the primary architecture and training are optimized for rain. Generalizing this to all-weather conditions simultaneously remains a challenge.
- Real-world Gap: Like most restoration papers, much of the training relies on synthetic downsampling and rain simulation. While they test on real data, the performance gap between synthetic and "wild" real-world images is an ongoing area for improvement.
- Future Direction: The authors suggest extending this high-frequency guidance approach to other "conflicting" tasks, such as low-light enhancement combined with deblurring.
Summary updated