Hybrid Reinforcement Learning for One-step Degraded Infrared and Visible Image Fusion

Hongwei Yu, Daoqing Zha, Jiawei Li, Yancheng Bai, Lei Sun, Xiangxiang Chu

TL;DR

Combining infrared (thermal) and visible cameras gives machines superhuman vision in bad weather, yet cleaning up degraded feeds with modern diffusion models is painfully slow. The authors introduce OneHRL, a framework that compresses this restoration-and-fusion process into a single, sub-second step—and then uses a clever Reinforcement Learning (RL) trick to bring back all the crisp textures usually lost during model compression. It’s 62.5× faster than existing diffusion baselines and actually makes downstream object detectors work better in fog, rain, and sensor noise.

What Problem Does This Paper Address?

Imagine an autonomous car driving through a rainy, foggy night. A standard RGB camera captures rich textures (like lane markings) that get washed out by haze, while an infrared (IR) sensor easily spots warm pedestrians through the fog, though it suffers from sensor noise and lacks fine detail. Infrared and Visible Image Fusion (IVIF) merges these two streams into one clear, informative image.

Most fusion models assume pristine inputs and fall apart under real-world composite degradations (e.g., simultaneous rain, haze, and sensor stripe noise). Recently, Diffusion Models (DMs) have proven great at cleaning and fusing degraded images, but their step-by-step denoising makes them far too slow for real-time perception.

You can speed up a diffusion model using one-step distillation—teaching a student model to jump straight to the final image—but standard distillation (like minimizing Mean Squared Error) averages out uncertainties, leaving you with blurry, over-smoothed images. Reinforcement Learning (RL) can sharpen textures, but sampling-based RL requires randomness to explore different outputs and see which ones score best. Because a distilled one-step model maps a fixed degraded image deterministically to a single output, there is no randomness left for RL to work with.

Figure 1: Schematic illustration of existing dilemma and our proposal. It is obvious that our proposed OneHRL can achieve both high inference speed and strong robustness.

Methods

OneHRL solves this dilemma in two distinct training stages:

Stage 1: One-Step Fusion Distillation Instead of starting from pure Gaussian noise like a standard diffusion model, the authors pass the degraded IR and visible images through a frozen Feature Fusion Block (pre-trained on clean data). They treat this messy, fused latent representation as an intermediate noisy state along a Rectified Flow trajectory. A Diffusion Transformer (DiT) student generator is then trained via Variational Score Distillation to push this corrupted state directly onto the clean image manifold in a single forward pass.

Stage 2: Hybrid RL with Coarse-to-Fine Rewards To fix the over-smoothing without losing the one-step inference speed, the authors refine the generator using RL:

  • Restoring Stochasticity (Flow-GRPO): During training, they mathematically convert the deterministic Ordinary Differential Equation (ODE) governing the one-step flow into an equivalent Stochastic Differential Equation (SDE). This injects controlled noise during training so the model can generate a diverse group of $K$ candidate images for RL exploration, while keeping inference fast and deterministic.
  • Coarse Semantic Reward: A Vision-Language Model (Qwen2.5-VL) acts as a high-level critic, using a Chain-of-Thought prompt to judge global naturalness, texture fidelity, and thermal prominence across candidate outputs.
  • Fine Instance Reward: Because VLMs can miss pixel-level flaws, the Segment Anything Model (SAM) extracts masks of key objects (cars, people). A differentiable scorer directly evaluates five physical metrics (like Weber contrast for thermal saliency and Laplacian gradients for sharpness) strictly inside those object masks. A KL-divergence penalty keeps the generator anchored so RL doesn't hallucinate unnatural styles.
Figure 3: Framework of the proposed OneHRL. Hybrid RL Stage: The generator is refined via the Hybrid RL, leveraging a coarse-to-fine reward to enhance textural details.

Datasets

The authors evaluate on two established multi-sensor benchmarks: $\text{M}^3\text{FD}$ and MSRS. Because real-world paired clean/degraded multi-modal datasets are scarce, they follow established simulation protocols to synthesize complex composite degradations—combining haze, rain, and blur on visible images with Gaussian and stripe noise on infrared images. No new datasets are introduced.

Key Insights and Ideas

  • Degradation is just a pit stop on the diffusion trajectory: Conceptualizing a degraded, fused feature map as an intermediate noisy state lets the model jointly restore and fuse modalities in one leap, sidestepping pure-noise initialization.
  • Bridging deterministic distillation and RL: Converting the flow ODE to an SDE during training (via Flow-GRPO) unlocks group-sampling RL for deterministic one-step generators without sacrificing single-step inference speed.
  • Global + Local critics prevent reward hacking: Ablations show that optimizing only for object-level physical metrics boosts local contrast, but warps the overall semantic style enough to confuse downstream object detectors. Pairing SAM's local precision with Qwen2.5-VL's global eye keeps images both sharp and natural.

Key Results

  • Massive Speedup: OneHRL processes an image in 0.4 seconds, compared to 25 seconds for the diffusion baseline DRMF—a 62.5× speedup.
  • Image Quality: Across both $\text{M}^3\text{FD}$ and MSRS under heavy composite degradations (e.g., Haze+Rain on visible, Noise+Stripe on IR), OneHRL takes first place on all five quantitative fusion metrics (CC, SCD, MI, VIF, and MSE).
  • Downstream Perception: When feeding fused images into YOLOv5 for object detection under severe Noise+Stripe and Haze+Noise, OneHRL achieves 0.470 [email protected], more than doubling the next best method (ConFus at 0.196). In Haze+Rain, it hits 0.568 [email protected] (vs. 0.457 for second place). For DeepLabV3+ semantic segmentation under Stripe+Rain, it achieves 0.609 mIoU, suffering only a tiny 0.010 drop compared to clean inputs.
Figure 5: Downstream qualitative comparisons between SOTA methods and our OneHRL. Under different degradation conditions, the proposed OneHRL effectively mitigates adverse artifacts, which can exhibit both high visual quality and reliable downstream performance.

Limitations and Future Work

Not discussed in the paper. (Note: While the authors note in the Related Work that the scarcity of real-world degraded benchmarks necessitates using simulated degradations for training and testing, they do not include a dedicated section discussing the limitations of OneHRL or future research directions.)

Summary updated

Abstract

Infrared and visible image fusion (IVIF) is essential for robust perception, yet existing methods remain limited under complex degradations. While diffusion models (DMs) offer powerful modeling capabilities to combat such degradations, their iterative process incurs high computational cost. One-step distillation effectively accelerates inference but typically leads to over-smoothed results. To resolve these limitations, we propose a one-step fusion framework with hybrid reinforcement learning, termed OneHRL. We treat degraded inputs as intermediate noisy states along a generative trajectory, enabling a distilled one-step generator to rectify them directly to the clean fusion results. Concurrently, to mitigate the over-smoothed results in distillation, we incorporate the Flow-GRPO paradigm to introduce stochasticity into the deterministic one-step generation. This restores the stochastic exploration necessary for sampling-based reinforcement learning. Furthermore, we design a coarse-to-fine reward that integrates a global semantic reward with an object-level reward. This hybrid reward ensures that the generator captures both naturalness and fine-grained texture. Extensive experiments demonstrate that our method achieves superior fusion quality and efficiency.
BibTeX
@inproceedings{yu2026hybrid,
  author = {Hongwei Yu and Daoqing Zha and Jiawei Li and Yancheng Bai and Lei Sun and Xiangxiang Chu},
  title = {{Hybrid Reinforcement Learning for One-step Degraded Infrared and Visible Image Fusion}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=vdvW81Wcy2},
}
Figure