GMODiff: One-Step Gain Map Refinement with Diffusion Priors for HDR Reconstruction

Tao Hu, Weiyu Zhou, Yanjie Tu, Peng Wu, Wei Dong, Qingsen Yan, Yanning ZhangarXiv 2025 · DOI

Abstract

High Dynamic Range (HDR) imaging typically involves fusing multiple Low Dynamic Range (LDR) images, a process often plagued by ghosting artifacts and a trade-off between structural fidelity and perceptual sharpness. GMODiff is a high-efficiency HDR reconstruction framework that addresses these challenges by reformulating HDR fusion as a "Gain Map" refinement task. By utilizing a regression-based "warm start" for a Latent Diffusion Model (LDM), GMODiff achieves state-of-the-art perceptual quality in just a single diffusion step, delivering results up to 100x faster than previous generative methods.

Introduction

Reconstructing HDR images from multiple LDR exposures faces two primary hurdles. First, camera or object motion between shots causes misalignments, leading to "ghosting." Second, traditional deep learning models (CNNs and Transformers) often produce blurry results in overexposed regions because they prioritize minimizing pixel-wise error over perceptual realism. While generative models like LDMs can produce sharp textures, they are typically slow—requiring dozens of denoising steps—and prone to "hallucinating" details not present in the original scene.

Furthermore, pre-trained LDMs are optimized for 8-bit images. Adapting them to high-bit-depth HDR data usually requires expensive retraining or architectural overhauls. GMODiff overcomes these barriers by bridging fast regression with high-quality generation through a novel two-stage pipeline.

Methodology

The core innovation of GMODiff lies in its use of the Gain Map (GM) Formulation. Instead of predicting HDR pixels directly, the model decomposes an HDR image into an LDR base layer and an 8-bit Gain Map. This allows the use of standard 8-bit pre-trained LDMs without modifying their latent space.

The GMODiff architecture consists of a Degradation-aware Regressor (DaReg) for an initial guess and a One-Step Diffusion Refinement stage for final perceptual enhancement.

The Two-Stage Pipeline

  1. Degradation-aware Regressor (DaReg): A lightweight network based on NAFNet takes the LDR sequence and predicts an initial Gain Map. It also generates a Degradation-aware Mask to identify unreliable regions, such as those affected by motion or saturation.
  2. One-Step Diffusion Refinement: The model uses a pre-trained Stable Diffusion 2.1 model fine-tuned with LoRA. Rather than starting from pure noise, the denoising process is initialized with the "warm start" provided by DaReg. This allows the model to refine the image into a high-quality result in a single step.

To ensure structural accuracy, a Degradation-Aware Decoder (DA-Decoder) injects features from the initial regression-based Gain Map back into the LDM's decoding process, preventing the model from hallucinating incorrect details.

Experimental Results

GMODiff was evaluated using a dataset of 836 real-world image pairs from established HDR benchmarks. The results demonstrate a significant leap in both efficiency and quality.

Qualitative and quantitative comparison: GMODiff (Proposed Method) achieves superior detail reconstruction and ghosting suppression in 0.89s, significantly faster than ViT-based alternatives.

Performance Metrics

  • Speed: GMODiff processes a 1080p image in approximately 0.89 seconds, making it 100x faster than previous LDM-based methods like UltraFusion, which can take over 90 seconds.
  • Perceptual Quality: The framework consistently outperforms state-of-the-art (SOTA) methods (e.g., AFUNet, SCTNet) in perceptual metrics such as LPIPS and DISTS, as well as no-reference quality scores like MANIQA.
  • Visual Fidelity: Qualitative analysis shows that GMODiff effectively suppresses ghosting in dynamic scenes and reconstructs intricate details in blown-out highlights that other methods fail to recover.

Conclusion

GMODiff demonstrates that the "warm start" paradigm—initializing diffusion with a regression-based estimate—allows for high-fidelity, perceptually sharp HDR reconstruction in a single step. By using Gain Maps as a universal language to leverage pre-trained 8-bit models, GMODiff provides a scalable and efficient solution for high-quality imaging. Future work may extend this one-step refinement approach to other low-level vision tasks such as super-resolution and low-light enhancement.

Summary updated

BibTeX
@misc{hu2025gmodiff,
  author = {Tao Hu and Weiyu Zhou and Yanjie Tu and Peng Wu and Wei Dong and Qingsen Yan and Yanning Zhang},
  title = {{GMODiff: One-Step Gain Map Refinement with Diffusion Priors for HDR Reconstruction}},
  year = {2025},
  eprint = {2512.16357},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.16357},
}
Figure