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 imaging is essential for autonomous driving and robotic operations as a supportive modality due to its reliable performance in challenging environments. Despite its popularity, the limitations of infrared cameras, such as low spatial resolution and complex degradations, consistently challenge imaging quality and subsequent visual tasks. Hence, infrared image super-resolution (IISR) has been developed to address this challenge. While recent developments in diffusion models have greatly advanced this field, current methods to solve it either ignore the unique modal characteristics of infrared imaging or overlook the machine perception requirements. To bridge these gaps, we propose DifIISR, an infrared image super-resolution diffusion model optimized for visual quality and perceptual performance. Our approach achieves task-based guidance for diffusion by injecting gradients derived from visual and perceptual priors into the noise during the reverse process. Specifically, we introduce an infrared thermal spectrum distribution regulation to preserve visual fidelity, ensuring that the reconstructed infrared images closely align with high-resolution images by matching their frequency components. Subsequently, we incorporate various visual foundational models as the perceptual guidance for downstream visual tasks, infusing generalizable perceptual features beneficial for detection and segmentation. As a result, our approach gains superior visual results while attaining State-Of-The-Art downstream task performance.

Introduction

Infrared (IR) imaging is a cornerstone of autonomous driving and robotics because it provides reliable data in low-light and harsh weather conditions where RGB sensors often fail. However, IR hardware constraints frequently result in low-resolution (LR) images characterized by high noise and low contrast. While Super-Resolution (SR) techniques have matured for RGB data, applying them to IR data presents unique challenges. Existing methods often ignore the specific thermal spectral characteristics of IR imaging and fail to optimize for machine perception, which is critical for downstream tasks like object detection and semantic segmentation. DifIISR addresses these gaps by developing a task-oriented diffusion model that balances visual fidelity with perceptual saliency.

Methodology

DifIISR is built upon the Diffusion Denoising Probabilistic Model (DDPM) framework, specifically leveraging the ResShift architecture for efficiency. The primary innovation lies in the Loss-gradient Guidance mechanism, which steers the diffusion process at each sampling step rather than applying a post-processing fix.

The DifIISR architecture featuring visual and perceptual gradient guidance within the diffusion reverse process.

The guidance mechanism is bifurcated into two components:

  1. Visual Guidance (Thermal Spectrum Regulation): Unlike standard SR models that focus on pixel intensity, DifIISR regulates the frequency domain using Fast Fourier Transforms (FFT). By matching the magnitude spectra of the generated image to a high-resolution target, the model preserves the unique thermal distribution of IR data, avoiding common artifacts and "hallucinations" typical of standard diffusion models.
  2. Perceptual Guidance (Foundation Model Integration): To optimize for machine perception, the model "distills" high-level semantic knowledge from visual foundation models. Features from VGG-16 capture fine textures, while masks from the Segment Anything Model (SAM) ensure that reconstructed details correspond to real-world objects like pedestrians or vehicles. This iterative refinement ensures that the added high-frequency details are semantically accurate.

Experimental Results

The model was evaluated on several IR benchmarks, including M3FD, Road Scene, TNO, and FMB. Quantitative results demonstrate that DifIISR significantly outperforms existing methods in both image quality and machine perception metrics.

Quantitative comparison of detection (mAP) and segmentation (mIoU) performance across different categories.

On the M3FD dataset, DifIISR achieved a CLIPIQA score of 0.6144, outperforming SinSR (0.5877). More importantly, the model's impact on downstream tasks is substantial. When processed through a YOLOv5-s detector, DifIISR reached a mean Average Precision (mAP) of 33.1, with a notable 5.6% improvement in truck detection compared to the next best method. In semantic segmentation tasks on the FMB dataset, the model improved the mean Intersection over Union (mIoU) for trucks by 7.4% and for cars by 5.4%, validating the effectiveness of the perceptual guidance.

Conclusion and Future Work

DifIISR successfully bridges the gap between visual restoration and machine perception in infrared imaging. By integrating thermal spectral priors and foundation model guidance into the diffusion process, it produces high-quality SR images that enhance downstream task performance. While the model demonstrates impressive results, future work will focus on improving inference speed for real-time deployment and exploring unsupervised learning strategies to reduce the dependency on perfectly aligned paired IR data.

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