Latent Harmony: Synergistic Unified UHD Image Restoration via Latent Space Regularization and Controllable Refinement

Yidi Liu, Xueyang Fu, Jie Huang, Jie Xiao, Dong Li, Wenlong Zhang, Lei Bai, Zheng-Jun Zha · OpenReview

Abstract

Ultra-High Definition (UHD) image restoration faces a trade-off between computational efficiency and high-frequency detail retention. While Variational Autoencoders (VAEs) improve efficiency via latent-space processing, their Gaussian constraint often discards degradation-specific high-frequency information, hurting reconstruction fidelity. To overcome this, we propose Latent Harmony, a two-stage framework that redefines VAEs for UHD restoration by jointly regularizing the latent space and enforcing high-frequency-aware reconstruction. In Stage One, we introduce LH-VAE, which enhances semantic robustness through visual semantic constraints and progressive degradation perturbations, while latent equivariance strengthens high-frequency reconstruction. Stage Two jointly trains this refined VAE with a restoration model using High-Frequency Low-Rank Adaptation (HF-LoRA): an encoder LoRA guided by a fidelity-oriented high-frequency alignment loss to recover authentic details, and a decoder LoRA driven by a perception-oriented loss to synthesize realistic textures. Both LoRA modules are trained via alternating optimization with selective gradient propagation to preserve the pretrained latent structure. At inference, a tunable parameter α enables flexible fidelity-perception trade-offs. Experiments show Latent Harmony achieves state-of-the-art performance across UHD and standard-resolution tasks, effectively balancing efficiency, perceptual quality, and reconstruction accuracy.

Introduction

Restoring Ultra-High Definition (UHD) images, such as those in 4K resolution, presents a significant computational challenge. Processing millions of pixels directly is often prohibitive for consumer-grade hardware. To mitigate this, researchers frequently employ Variational Autoencoders (VAEs) to compress images into a lower-dimensional "latent space" where restoration occurs. However, standard VAEs introduce a fundamental conflict: the latent space must be robust enough to generalize across various degradations (blur, noise, haze) while remaining sensitive enough to preserve high-frequency textures.

Existing VAE-based methods often prioritize semantic stability, resulting in "flat" or blurry reconstructions that fail to capture the intricate details expected in UHD content. Latent Harmony addresses this by redesigning the VAE latent space to be both noise-robust and detail-sensitive, while introducing a controllable refinement mechanism for the final output.

Methodology

Stage 1: The LH-VAE (Latent Harmony VAE)

The first stage focuses on building a regularized VAE specifically optimized for restoration tasks. The framework employs three key strategies:

  • Visual Semantic Constraints: By utilizing features from a pre-trained DINOv2 model, the LH-VAE ensures the latent space preserves the underlying "meaning" of the image, regardless of the level of degradation.
  • Progressive Degradation Perturbation (PDPS): To increase encoder resilience, the severity of synthetic noise is gradually increased during training, forcing the model to learn more robust representations.
  • Latent Equivariance: This constraint ensures the VAE handles different image scales consistently, which is critical for "remembering" high-frequency attributes that are often lost during standard compression.

Stage 2: High-Frequency Guided LoRA (HF-LoRA)

In the second stage, the VAE is frozen, and a restoration network is trained. To bridge the gap between the frozen latent structure and the specific requirements of UHD restoration, the authors introduce High-Frequency Low-Rank Adaptation (HF-LoRA):

  1. Fidelity-oriented LoRA (FHF-LoRA): Integrated into the encoder, this module focuses on extracting authentic details from degraded inputs to maximize mathematical accuracy (PSNR).
  2. Perception-oriented LoRA (PHF-LoRA): Integrated into the decoder, this module synthesizes visually pleasing, sharp textures to improve perceptual quality.
  3. The α Slider: A unique feature of this framework is the inference-time parameter α. Users can adjust this slider to blend the two LoRA modules, allowing for a smooth transition between high-fidelity results and high-perception results based on the specific use case.

Experimental Results

Performance and Efficiency

Latent Harmony demonstrates superior efficiency compared to existing state-of-the-art (SOTA) models. It operates at 3.6G FLOPs with only 1.2M parameters, outperforming models like UHDprocesser (4G FLOPs, 1.6M parameters).

On the UHD-LL (Low Light) benchmark, Latent Harmony achieved a PSNR of 27.32 dB, significantly outperforming general "all-in-one" restoration models such as PromptIR, which recorded 23.44 dB. The model also showed strong generalization capabilities on standard-resolution benchmarks like the Gendeg dataset.

Fidelity-Perception Trade-off

The introduction of the α parameter allows the model to navigate the traditional trade-off between PSNR/SSIM (fidelity) and LPIPS/NIQE (perception). This flexibility is a significant advancement over fixed restoration pipelines, providing a customizable experience for different UHD display requirements.

Conclusion

Latent Harmony provides a synergistic solution to the efficiency-detail dilemma in UHD image restoration. By regularizing the latent space and utilizing high-frequency guided LoRA modules, the framework achieves high-quality restoration with low computational overhead. Future work may involve extending this approach to video restoration or integrating the "Latent Harmony" principles into Latent Diffusion Models (LDMs) to enhance their performance on real-world image corruptions.

Summary updated

BibTeX
@inproceedings{liu2025latent,
  author = {Yidi Liu and Xueyang Fu and Jie Huang and Jie Xiao and Dong Li and Wenlong Zhang and Lei Bai and Zheng-Jun Zha},
  title = {{Latent Harmony: Synergistic Unified UHD Image Restoration via Latent Space Regularization and Controllable Refinement}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=w5euaFgNWm},
}
Figure