Moving image · Research feature

HDR Video Generation via Latent Alignment with Logarithmic Encoding

Researchers demonstrate high-quality HDR video generation by aligning logarithmic encoding with pretrained models' latent spaces.

Adapted from research by Naomi Ken Korem, Mohamed Oumoumad, Omer Hagage and colleagues.

arXiv preprint revision · 2026-10-07 · Attribution & reuse
In this article
Editorial illustration of a sheet of visual frames.

Editor’s introduction

The study focuses on HDR video generation using a logarithmic encoding method that maps high dynamic range imagery into a form naturally aligned with pretrained generative models’ latent spaces. This alignment allows for effective HDR video creation through lightweight fine-tuning, without requiring full retraining of the model’s encoder. The approach leverages visual priors already present in the models, enabling adaptation with minimal computational overhead. The researchers also introduce a training strategy using camera-mimicking degradations to help the model infer missing high dynamic range details from its learned representations. Findings show strong performance across varied scenes and lighting conditions, indicating that HDR generation is feasible without redesigning generative models, provided the input representation matches the model’s internal structure.

Introduction

High dynamic range (HDR) imagery captures scene radiance over a wide range of intensities, enabling faithful representation of highlights, shadows, and subtle illumination effects that are lost in standard imagery. This capability is essential for realistic rendering, post-production, professional color grading, and emerging display technologies.

This compression explains why video AI models struggle to generate native HDR. Video AI models are trained mostly on web videos stored in 8-bit SDR formats, where a piece of white paper and the sun are both squashed into the exact same ceiling of 255. These models learn exclusively from flattened, monitor-bound data, they lack an internal knowledge of how real physical light behaves beyond standard display limits.

A natural strategy for extending diffusion models to HDR is to leverage the visual structure, semantics, and temporal dynamics already learned by pretrained video models. One common approach is to train a dedicated HDR encoder or fine-tune VAE decoders to emit linear radiance, creating an HDR-specific latent space. However, altering or replacing the encoder shifts the underlying latent manifold, forcing the downstream diffusion model to adapt to an unfamiliar space. This dependency demands massive HDR datasets and makes training complex and computationally expensive.

Drastically altering the latent space breaks compatibility with the model’s pretrained features. Keeping the HDR representation aligned with the model’s native latent space allows for data-efficient adaptation while preserving existing capabilities, such as video editing, inpainting, and controlled generation, directly in the HDR domain without needing to retrain those tools.

DiffHDR has begun to explore aligning HDR with the model’s native latent space, but relies on external prompts and masks to synthesize missing highlights. In contrast, our method performs direct SDR-to-HDR translation conditioned only on the input video itself. We map scene-linear HDR into ACEScct, a standardized cinematic logarithmic color space (see Appendix B for color space fundamentals). Encoding this log video with the frozen SDR VAE yields latents already aligned with the pretrained manifold, allowing the generator to emit log-encoded HDR with lightweight fine-tuning and without a new encoder.

We train an in-context LoRA on a dual-canvas architecture, where SDR tokens condition the denoising of ACEScct HDR target tokens. 300 paired clips are sufficient: the LoRA learns a targeted dynamic-range conversion. To encourage the model to learn true HDR generation from an SDR source, we make the task even more challenging. Since SDR video already lacks detail in extreme luminance regions, we apply camera-mimicking degradations, such as aggressive clipping, heavy compression, and selective blur, to strip away even more information from the highlights and shadows. Combined with varied exposure shifts during training, this forces the network to rely on its internal priors to actively synthesize continuous, high-magnitude radiance rather than copying flat SDR pixels, eliminating the need for text prompts or luminance masks.

We evaluate on professional ARRI cinema footage and on 66 YouTube in-the-wild SDR videos. Both evaluation benchmarks comprise real cinematic footage featuring complex actor motion, dynamic lighting transitions, and non-rigid moving objects. Our findings show that HDR capabilities can be enabled in existing video models with high data efficiency, without architectural redesign or full retraining.

Classical SDR-to-HDR Reconstruction

The challenge of capturing and manipulating high dynamic range content has long been a focal point of computational photography. Early foundations were built on multi-exposure HDR recovery and photographic tone mapping for display. A landmark in forward tone-mapping (HDR-to-SDR) was the work of Fattal et al., who pioneered gradient-domain dynamic range compression. By selectively attenuating large luminance gradients (global contrast) while preserving small gradients (local detail), they demonstrated that integrating the modified field via a Poisson equation could compress dynamic range without introducing edge artifacts. This was further refined by Farbman et al., who introduced edge-preserving multiscale decompositions based on Weighted Least Squares (WLS) optimization, providing a robust framework for detail manipulation that effectively eliminated the halo artifacts common in non-linear filtering.

While these classical operators focused on compressing scene-linear HDR for bounded displays, the complementary task of Inverse Tone Mapping (ITM) aims to expand SDR content back into unbounded radiance. ITM evolved from early heuristic expansion operators to modern deep CNN-based reconstruction architectures that reverse the camera pipeline or estimate linear radiance from single exposures. A significant step toward modern generative approaches was taken by Marnerides et al., whose work on Deep HDR Estimation moved beyond deterministic pixel mapping by utilizing generative detail hallucination for saturated regions. More recent architectures improve efficiency via frequency-domain processing or leverage specialized sensing modalities such as event cameras.

A parallel line converts SDRTV to display-referred HDRTV (PQ, BT.2020) rather than scene-linear radiance. HDRTVNet introduced a practical SDR-to-HDRTV pipeline and the HDRTV1K benchmark; HDRTVNet++ extends it with adaptive global color mapping, local enhancement, and highlight refinement. HDRTVDM adds degradation models and HDRTV4K. We use HDRTVNet++ as a per-frame baseline, but it targets 10-bit HDR display delivery rather than 16-bit scene-linear EXR files.

Extending to video, prior work focuses on temporal alignment and consistency using optical flow, coarse-to-fine alignment, or specialized sensing modalities. Recent methods further address robustness to illumination changes and real-time performance, supported by large-scale HDR video datasets.

These approaches treat SDR-to-HDR as a reconstruction problem, learning dedicated mappings under restricted imaging assumptions. In contrast, we treat HDR generation through the lens of distribution alignment: pretrained video diffusion models already capture rich priors over illumination, highlights, and shadows. The key challenge is to expose and unlock this knowledge by aligning HDR input/output distributions with the latent representations expected by the frozen model.

Generative & Diffusion-Based Image HDR Synthesis

Recent research has shifted toward leveraging generative models to synthesize missing radiance. Early works explored unsupervised HDR synthesis via GlowGAN, a StyleGAN variant or applied conditional diffusion to multi-exposure image deghosting and multi-exposure reconstruction. Frame-level frameworks like BracketDiffusion employ exposure-aware modeling to ensure consistency across simulated brackets, while other approaches adapt pretrained diffusion backbones through gain-map decomposition or zero-shot transfer. LEDiff enables text-to-HDR and LDR-to-HDR via exposure-aware latent fusion.

X2HDR is concurrent image work. It adapts pretrained image diffusion models to HDR by operating in PU21 encoded perceptual space with a frozen VAE and LoRA fine-tuning—reflecting the view that HDR can be handled by mapping it into a compatible latent space. However, these methods rely primarily on display-oriented encodings and are restricted to single images. When applied frame-by-frame to video sequences, single-image diffusion models exhibit temporal flickering and lack cross-frame motion coherence.

SDR-to-HDR Video Diffusion Models

Video diffusion models have rapidly advanced from temporal extensions of image diffusion to large-scale generative foundation models such as Stable Video Diffusion, CogVideoX, and Wan2.1. Modern architectures, including LTX-Video and LTX-2, combine highly compressed spatial-temporal video VAEs with scalable Diffusion Transformers (DiT) and rotary position embeddings. Low-Rank Adaptation (LoRA) has become the standard mechanism for parameter-efficient adaptation of these backbones, as demonstrated by concurrent lighting estimation frameworks like LuxDiT.

Our framework, LumiVid, differs from both approaches. Unlike DiffHDR, LumiVid treats conversion as SDR to HDR process. The input SDR video is the only input signal, requiring no masks, text prompts, or reference images. Unlike Tedla et al., who keep generative priors in SDR and rely on multi-exposure bracket generation, we map scene-linear HDR directly into ACEScct log space. This allows a frozen VAE to represent high-magnitude radiance directly and enables a lightweight LoRA to emit 16-bit scene-linear HDR video in a single pass, without requiring an exposure ladder or secondary fusion network.

Method

Standard video diffusion models are bound to standard dynamic range (SDR) formats. We address SDR-to-HDR video generation by fine-tuning a Dual Canvas Lora adapter on top of a frozen video diffusion model. The pretrained video that we are using is video DiT LTX-2.5. Given an SDR source video, the network generates a spatially and temporally aligned HDR target. During the training, the model gets clean SDR latents and noisy HDR target to denoise as a dual canvas. At inference, it receives the input SDR latents alongside Gaussian noise, iteratively denoising the noise into the final HDR video.

ACEScct Log Working Space and Latent Alignment

To adapt a pretrained video diffusion model to HDR with lightweight fine-tuning, the model must operate on a latent distribution that closely matches what it was originally trained on. Pretrained video backbones contain learned priors about real-world physics, lighting, and motion acquired from web-scale SDR datasets. Since HDR video data is scarce, retraining the backbone or learning a new latent space would destroy these pretrained representations. Keeping the VAE encoder and decoder frozen ensures that we preserve the original model’s knowledge, enabling data-efficient adaptation.

This confirms that the frozen SDR VAE already possesses sufficient capacity to encode and decode HDR content once the color distribution is properly aligned. By maintaining this alignment, we can teach the model to generate full HDR video while retaining the rich generative priors of the original model.

Dual Canvas LoRA

We adapt a frozen LTX-2.5 video Diffusion Transformer (DiT) using a rank-128 dual-canvas LoRA trained with flow matching, keeping the VAE frozen. Following the dual-canvas formulation, the input sequence is constructed by concatenating two latent streams along the sequence dimension: a reference canvas containing clean (un-noised) SDR latents, and a target canvas containing noisy HDR latents. During denoising, the target HDR tokens directly attend to the clean SDR tokens through the DiT’s self-attention mechanism. To maintain precise spatial-temporal correspondence, the 3D Rotary Position Embeddings (RoPE) of the SDR reference tokens are aligned directly with those of the target HDR tokens. The flow-matching diffusion loss is computed only on the target HDR tokens.

Synthetic Dataset and SDR Conditioning

While our training dataset uses camera orbits through static HDRi environments, all evaluation benchmarks (ARRI cinema footage and youtube in-the-wild clips) are conducted strictly on real-world video footage featuring dynamic real motion, including actor movements, non-rigid object dynamics, complex occlusions, and cinematic camera work, rather than synthetic camera orbits. Generalization from synthetic training data to real-world footage succeeds because motion and temporal priors remain in the frozen DiT backbone. The backbone handles scene dynamics and physics, while the LoRA adapter focuses exclusively on translating ACEScct SDR codes to ACEScct HDR codes. Training the LoRA on PolyHaven HDRI camera orbits provides rich photometric highlight and shadow variations while relying on the frozen backbone for temporal and motion dynamics.

Experimental Setup

Datasets. We evaluate LumiVid on two benchmarks. ARRI Cinema Benchmark which consist of 50 professional cinema clips with authentic 12-bit HDR ground truth. Input SDR videos are generated by forward tone-mapping the raw HDR plates to 8-bit Rec.709. These clips contain real-world cinematography, including motion, and dynamic lighting transitions. The second benchmark is In-the-Wild Benchmark: 66 diverse SDR video clips collected from YouTube. This benchmark tests generalization on real-world non-rigid motion (e.g., dynamic objects, human faces and motion, lighting transitions) without HDR ground truth.

Ablation Studies

We conduct ablation experiments to isolate two design choices in our framework: (1) whether the generative diffusion prior of the Video DiT is necessary for high quality HDR recovery, or if a fine-tuned VAE decoder is sufficient; and (2) whether camera-mimicking condition degradations are required to prevent shortcut copying of 8-bit SDR pixel structures.

Isolating the Video DiT Backbone (VAE Decoder Ablation): A fundamental question is whether SDR-to-HDR video translation requires a generative diffusion process, or if it can be solved as a lightweight latent-to-pixel decoding task. Training a standalone encoder-decoder network from scratch would discard the rich representations learned by the pretrained VAE model and demand large-scale HDR video datasets that do not exist. Operating directly in the VAE’s latent space preserves these representations.

To test this, we construct a VAE decoder-only baseline. We fine-tune the pixel decoder directly on ACEScct targets while keeping the VAE encoder frozen, completely omitting the Video DiT. At inference, SDR video is encoded and decoded to HDR in a single pass. This isolates whether the Video DiT is required for temporal consistency and high-magnitude radiance synthesis, or if log encoding plus a fine-tuned pixel decoder is sufficient.

Human color gamut, SDR, and HDR

Gamut is which chromaticities exist at all. Most SDR video is stored as Rec.709: a small triangle inside the full locus. Saturated LEDs, neon, and many camera-native colors lie outside it and are clipped onto the Rec.709 sides. An HDR working space uses a wider triangle so those chromaticities remain distinct instead of collapsing to the Rec.709 primaries.

Quantization is whether those values are a continuum or a palette. Consumer SDR is 8-bit integer per channel after a gamma curve: 256 discrete codes. Nearby radiances become the same code; an exposure pull or a grade shows banding. HDR is stored as scene-linear floating point (or 10–12-bit PQ on a display curve).

Most videos on the web are Rec.709 since Rec.709 was specified for CRT-era television: D65 white, those three primaries, and a peak the display could actually make. Cameras, broadcast, discs, and later phones and web codecs (H.264/H.265 SDR, YouTube) copied that contract because the device at the end of the chain was a Rec.709 display with an 8-bit pipeline. HDR panels exist now, but not at a scale close to Rec.709 video. The pretrained video models we adapt were trained on that Rec.709 corpus, so their VAE expects Rec.709-like statistics.

Rec.709 vs. ACEScg

At inference we decode the SDR file with the sRGB EOTF and convert Rec.709 linear to ACEScg and then to ACEScct. The reverse path writes ACEScg EXR; metrics convert ACEScg to Rec.709 linear so every method is scored in the same space as the ARRI ground truth (Appendix F).

Dual-Canvas LoRA Architecture

Following AVControl, we construct an in-context dual-canvas framework by concatenating the SDR reference canvas with the HDR target canvas in the spatial-temporal sequence dimension. The SDR condition canvas is encoded once by the frozen VAE and injected as reference tokens, while the HDR canvas contains the noisy target latents. Noisy latents are not concatenated along the channel dimension. For text-to-HDR generation, the SDR condition canvas is simply dropped (Appendix J). Training the LoRA in this dual-canvas fashion is exceptionally data-efficient because the backbone does not need to learn generative video synthesis from scratch; it merely learns a targeted dynamic-range translation from the ACEScct SDR sub-space to the full ACEScct HDR range.