Introduction
Diffusion models have revolutionized image generation but face significant challenges when scaling to high resolutions. Standard models trained at $512^2$ or $1024^2$ often produce structural hallucinations—such as duplicated limbs or warped geometry—when forced to generate at 2K or 4K resolutions. Existing solutions typically rely on slow pixel-space super-resolution or computationally expensive multi-stage diffusion passes.
The Latent Upscale Adapter (LUA) introduces a more efficient alternative: performing high-quality super-resolution directly within the latent space. By upscaling the latent representation before it reaches the VAE decoder, LUA leverages the compact nature of the latent space (typically 1/64th the size of pixel space) to achieve state-of-the-art fidelity with minimal overhead.
Architecture and Methodology
LUA is designed as a lightweight, drop-in module positioned between the diffusion generator and the VAE decoder. Its core architecture utilizes a Swin Transformer-style backbone with scale-specific pixel-shuffle heads for $\times2$ and $\times4$ upscaling.
The effectiveness of LUA stems from a specialized Three-Stage Training Curriculum:
- Latent Alignment: Initial mapping of low-resolution to high-resolution latents using MSE and Fourier losses.
- Joint Latent-Pixel Consistency: Introduction of pixel-domain constraints to ensure the upscaled latents remain within the VAE's expected distribution.
- Edge-aware Refinement: Utilization of an "EAGLE" loss to sharpen final output edges and eliminate artifacts like grid patterns.
A key architectural advantage is LUA's cross-model generalization. By swapping only the initial convolution layer, the same backbone can be adapted for diverse models including SDXL, SD3, and FLUX.
Experimental Results
The model was trained on 3.8 million crops from the OpenImages dataset and evaluated against a held-out set of 1,000 images with GPT-generated prompts.
Performance and Efficiency
LUA demonstrates significant improvements in both speed and image quality:
- Speed: Upscaling a 512px latent to 1024px adds only +0.42 seconds, nearly 4.5x faster than pixel-space SwinIR (+1.87s).
- Fidelity: LUA achieves the lowest Fréchet Inception Distance (FID) and highest CLIP scores at 2K and 4K resolutions compared to other single-decode pipelines.
- Structural Integrity: By inheriting the global structure from a stable low-resolution generation, LUA effectively prevents the "hallucination" problems common in direct high-resolution sampling.
Conclusion and Future Work
The Latent Upscale Adapter provides a highly efficient path to high-resolution diffusion. While it is a powerful upscaler, it remains dependent on the quality of the base generator; it will faithfully upscale any errors present in the initial low-resolution latent. Future research will focus on extending LUA to video upscaling to address temporal consistency and exploring joint refinement modules to further suppress artifacts from the base model.
Summary updated