TL;DR
RectifiedHR is a training-free framework that enables diffusion models to efficiently generate high-resolution images without requiring additional sampling steps. By combining a "noise refresh" strategy to fix semantic distortions with an "energy rectification" method to counteract image blurriness, it delivers state-of-the-art visual quality at up to double the speed of existing baseline methods.
What Problem Does This Paper Address?
Standard diffusion models excel at generating images at their native training resolutions (e.g., $1024 \times 1024$), but their performance degrades drastically when tasked with producing higher-resolution content. This mismatch typically results in repetitive patterns (like an animal having multiple heads) and broken semantic structures.
While several training-free methods have been proposed to fix this, they suffer from severe inefficiencies. Techniques like sliding-window denoising introduce massive computational overhead due to overlapping regions, while others rely on multi-step upscaling loops (such as SDEdit) or complex classifier-free guidance (CFG) variants that add extra sampling steps. The challenge addressed here is achieving high-quality, high-resolution scaling seamlessly and efficiently without altering the underlying model architecture or increasing the inference step count.
Methods
RectifiedHR introduces a progressive resolution upscaling strategy during the standard denoising process, driven by two novel components:
- Noise Refresh: Naively interpolating the latent space fails because VAE latents do not share the same mathematical properties as RGB pixels, and resizing an active latent vector distorts its Gaussian noise distribution. To circumvent this, RectifiedHR isolates the "predicted $x_0$" ($p_{x_0}^t$) at specific timesteps, decodes it into RGB space, resizes the image to the target resolution, re-encodes it back to latent space, and injects fresh Gaussian noise. This preserves a valid latent distribution while scaling up the resolution.
- Energy Rectification: The authors discovered that resizing the predicted image introduces spatial correlations that reduce pixel-wise independence, leading to a phenomenon they term energy decay. This decay directly causes the upscaled images to look blurry. To fix this, they introduce a scheduling formula that dynamically increases the CFG hyperparameter ($\omega$) during the upscaled sampling phases, boosting the latent energy back to its optimal level and restoring sharp details.
Datasets
The authors validated their approach using SDXL as the base model. To benchmark text-to-image generation performance, they randomly sampled 1,000 prompts from the LAION-5B dataset. Quantitative and qualitative evaluations were primarily focused on upsampling images to target resolutions of $2048 \times 2048$ and $4096 \times 4096$.
Key Insights and Ideas
- The Latent Resizing Trap: Standard image interpolation techniques cannot be directly applied to VAE latent spaces. Resizing an active latent vector corrupts the noise distribution, pushing the representation outside the diffusion model's valid domain.
- Discovery of Energy Decay: This paper is the first to identify that progressive upscaling systematically drains the average latent energy of the generation process. This energy drop is the root cause of the blurriness typically observed in naive progressive generation methods.
- CFG as an Energy Lever: The classifier-free guidance parameter ($\omega$) acts as a direct control knob for average latent energy. Increasing $\omega$ according to a precise schedule provides a zero-overhead mechanism to counteract energy decay and eliminate blurriness.
Key Results
- Substantial Speedup: At $4096 \times 4096$ resolution, RectifiedHR generates images in just 37 seconds. This makes it roughly twice as fast as the next fastest training-free methods (HiDiffusion at 71s, FreCas at 74s) and over 16x faster than window-based approaches like DemoFusion (605s).
- State-of-the-Art Quality: RectifiedHR consistently outperforms or matches competing methods across FID, KID, Inception Score (IS), and CLIP scores at both $2x$ and $4x$ upscaling factors.
- Downstream Versatility: The framework is highly adaptable and was successfully integrated into multiple advanced diffusion pipelines, including image editing, customized generation (DreamBooth), controllable generation (ControlNet), and high-resolution video generation (using the WAN model).
Limitations and Future Work
The primary bottleneck of RectifiedHR is that the "noise refresh" module requires a full round-trip through the VAE (decoding the latent state to RGB space to resize it, and then re-encoding it back to latent space). These VAE operations add noticeable computational overhead to the overall runtime.
As a direction for future work, the authors aim to investigate performing the resizing and noise-refresh operations directly within the latent space, completely bypassing the VAE round-trip to unlock even greater inference speeds.
Summary updated