DifIISR: A Diffusion Model with Gradient Guidance for Infrared Image Super-Resolution

Xingyuan Li, Zirui Wang, Yang Zou, Zhixin Chen, Jun Ma, Zhiying Jiang, Long Ma, Jinyuan Liu

Abstract

Infrared (IR) imaging is a critical modality for autonomous driving and robotic operations, providing reliable performance in environments where visible-light cameras often fail. However, infrared sensors typically suffer from low spatial resolution and complex degradations, which hinder both human interpretation and machine perception. To address these challenges, we introduce DifIISR, an infrared image super-resolution (IISR) diffusion model. Unlike standard methods that overlook unique modal characteristics or machine-task requirements, DifIISR utilizes a task-based guidance mechanism. By injecting gradients derived from visual and perceptual priors—specifically thermal spectrum distribution and foundational vision models—into the reverse diffusion process, our approach achieves superior visual fidelity and state-of-the-art performance in downstream tasks like object detection and semantic segmentation.

Introduction

Infrared imaging is indispensable for navigation in low-light or adverse weather conditions. Despite its utility, the hardware limitations of IR cameras often result in images with low contrast and blurred details. While Super-Resolution (SR) techniques aim to reconstruct high-resolution (HR) images from low-resolution (LR) inputs, existing methods frequently struggle with the infrared domain. Most models are optimized for RGB data, failing to preserve the specific thermal signatures of IR imagery. Furthermore, there is a persistent "perception gap": images optimized for human aesthetics (high PSNR) often lack the sharp structural features required for machine learning models to perform accurate detection and segmentation.

The DifIISR Framework

DifIISR addresses these gaps by leveraging the generative power of Diffusion Denoising Probabilistic Models (DDPM) enhanced by a novel Loss-gradient Guidance mechanism. Rather than relying solely on static loss functions during training, DifIISR computes gradients from specific guidance losses and injects them directly into the noise estimation at each step of the denoising process.

Dual Guidance Strategy

To bridge the gap between human vision and machine perception, the model employs two distinct guidance streams:

  1. Visual Guidance ($\mathcal{V}$): To maintain the unique modal characteristics of infrared imaging, the model regulates the thermal spectrum distribution. By using Fast Fourier Transforms (FFT) to match the frequency components of the generated image with the HR target, DifIISR ensures that the reconstructed thermal signatures remain physically plausible and free from the "hallucination" artifacts common in standard diffusion models.
  2. Perceptual Guidance ($\mathcal{P}$): To optimize for downstream machine tasks, the model incorporates features from foundational vision models. Specifically, VGG-16 is used to capture fine-grained textures and edges, while the Segment Anything Model (SAM) provides high-level semantic supervision. This ensures that the SR process preserves the boundaries and silhouettes essential for object detectors and segmenters.

Experimental Results

The model was rigorously evaluated across several infrared benchmarks, including M3FD, Road Scene, TNO, and FMB.

Visual Quality and Fidelity

On the M3FD dataset, DifIISR achieved a CLIPIQA score of 0.6144, significantly outperforming previous diffusion-based benchmarks like SinSR (0.5877). Qualitative results demonstrate that DifIISR accurately reproduces fine details—such as vehicle grilles and sharp human silhouettes—that competing models often blur or distort.

Downstream Task Performance

The true strength of DifIISR lies in its utility for machine perception:

  • Object Detection: Using the SR images as input for YOLOv5-s, DifIISR reached a mean Average Precision (mAP) of 33.1%. Notably, it achieved a 5.6% performance boost in the challenging "truck" detection category compared to baseline methods.
  • Semantic Segmentation: In segmentation tasks using SegFormer, the model realized a 7.4% improvement in mIoU for trucks and a 5.4% improvement for cars, proving that the perceptual guidance effectively preserves semantic boundaries.

Discussion and Limitations

While DifIISR sets a new standard for perceptual and task-based SR, it highlights a known trade-off in generative modeling. The model shows a clear advantage in no-reference quality metrics and downstream task accuracy, but it does not always outperform traditional CNN-based methods in pixel-wise metrics like PSNR and SSIM. This is consistent with the behavior of diffusion models, which prioritize realistic structural reconstruction over exact pixel matching.

Additionally, the iterative nature of the diffusion sampling process remains computationally intensive. Future work will focus on integrating more efficient sampling techniques to enable real-time application in autonomous vehicle systems.

Conclusion

DifIISR represents a significant step forward in infrared image super-resolution by treating machine perception as a primary objective rather than an afterthought. By guiding the diffusion process with both thermal spectral priors and foundational vision features, the framework produces images that are both visually superior and highly functional for the next generation of autonomous and robotic systems.

Summary updated

BibTeX
@inproceedings{li2025difiisr,
  author = {Xingyuan Li and Zirui Wang and Yang Zou and Zhixin Chen and Jun Ma and Zhiying Jiang and Long Ma and Jinyuan Liu},
  title = {{DifIISR: A Diffusion Model with Gradient Guidance for Infrared Image Super-Resolution}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  url = {https://openreview.net/forum?id=yaJn56mDIX},
}
Figure