Introduction
Thermal imaging is a critical technology for computer vision tasks in challenging environments, such as low-light surveillance and autonomous driving. Unlike visible-light sensors that rely on reflected light, thermal sensors detect infrared radiation emitted by objects, making them robust against poor illumination and adverse weather. However, the development of deep learning models for thermal vision is severely hindered by data scarcity. For instance, the LLVIP thermal dataset is approximately one-ninth the size of the COCO visible-light dataset.
To bridge this gap, researchers from the Harbin Institute of Technology and the University of Macau have proposed the Edge-Guided Adversarial Conditional Diffusion Model (ECDM). This framework is designed to generate realistic, pixel-aligned pseudo-thermal images from existing visible-light data, effectively "recycling" massive visible-light datasets for thermal vision training.
Methodology
The authors identify two primary challenges in cross-modality image translation: maintaining precise geometric alignment and eliminating "visible-specific" textures (like color patterns) that do not exist in the thermal domain. To address these, the ECDM framework introduces two core innovations:
1. Edge-Guided Conditional Diffusion (ECDM)
Rather than generating images from pure Gaussian noise, the model uses edge maps extracted from visible-light images as a structural guide. These edges act as a "spatial skeleton," ensuring that the generated thermal image perfectly preserves the shapes, positions, and boundaries of objects from the original visible scene. This approach provides much tighter control over the diffusion process than standard unconditional or text-conditioned models.
2. Two-Stage Modality Adversarial Training (TMAT)
Visible images contain high-frequency details—such as clothing patterns or text—that are invisible to thermal sensors. To prevent the model from hallucinating these details into the thermal output (a phenomenon known as "texture bleed"), the authors implemented a two-stage training strategy:
- Stage 1: Style Acquisition. The model is first trained on real thermal images and their corresponding thermal edges to learn the fundamental "style" and intensity gradients of thermal radiation.
- Stage 2: Modality Filtering. The model is fine-tuned using visible edges. A PatchGAN-style discriminator is introduced to act as a modality filter. This discriminator forces the generator to produce images indistinguishable from real thermal data, effectively teaching the model to ignore irrelevant visible-light textures while retaining structural integrity.
Experimental Results
The researchers evaluated ECDM using three major datasets: LLVIP (surveillance), FLIR v2.0 (autonomous driving), and PRW (used as a source for generating new pseudo-thermal samples).
Image Quality and Fidelity
ECDM demonstrated superior performance compared to existing state-of-the-art methods, including CycleGAN, UGATIT, and standard Diffusion models. On the LLVIP dataset, ECDM achieved a Fréchet Inception Distance (FID) of 139.91, a significant improvement over the next best competitor, UGATIT (178.71). The results suggest that diffusion models are inherently better at capturing the subtle, low-texture gradients characteristic of thermal radiation than GAN-based architectures.
Downstream Task Performance
The ultimate utility of the generated data was tested by using it to train thermal object detectors. The inclusion of ECDM-generated pseudo-thermal data yielded substantial performance gains:
- RetinaNet: mAP improved by 7.1%.
- Generalization: Performance gains were consistent across various architectures, including Faster R-CNN, CenterNet, and DINO, proving that the generated images are semantically rich and useful for general-purpose learning.
Discussion and Limitations
While ECDM represents a significant advancement, the authors noted several areas for future improvement:
- Global Intensity Errors: The model occasionally struggles with global color/intensity levels, sometimes rendering the ground or sky with incorrect relative brightness.
- Edge Sensitivity: The quality of the output is intrinsically linked to the quality of the input edge maps; blurry or noisy visible images can lead to generation failures.
- Temporal Consistency: The current framework processes single frames. For video-based applications like thermal tracking, future iterations must ensure that heat signatures remain consistent across frames without "flickering."
- Artifacts: The authors identified rare failure cases involving "blur ghosts" and "polarity reversal," where hot objects are incorrectly rendered as cold.
Conclusion
The Edge-Guided Adversarial Conditional Diffusion Model provides a robust solution to the thermal data bottleneck. By using edges as a universal bridge between modalities and employing a two-stage adversarial training strategy, the authors have created a tool that can transform vast visible-light repositories into high-quality training data for the thermal domain, significantly boosting the accuracy of thermal object detection systems.
Summary updated