Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

FreCaS: Efficient Higher-Resolution Image Generation via Frequency-aware Cascaded Sampling

About

While image generation with diffusion models has achieved a great success, generating images of higher resolution than the training size remains a challenging task due to the high computational cost. Current methods typically perform the entire sampling process at full resolution and process all frequency components simultaneously, contradicting with the inherent coarse-to-fine nature of latent diffusion models and wasting computations on processing premature high-frequency details at early diffusion stages. To address this issue, we introduce an efficient $\textbf{Fre}$quency-aware $\textbf{Ca}$scaded $\textbf{S}$ampling framework, $\textbf{FreCaS}$ in short, for higher-resolution image generation. FreCaS decomposes the sampling process into cascaded stages with gradually increased resolutions, progressively expanding frequency bands and refining the corresponding details. We propose an innovative frequency-aware classifier-free guidance (FA-CFG) strategy to assign different guidance strengths for different frequency components, directing the diffusion model to add new details in the expanded frequency domain of each stage. Additionally, we fuse the cross-attention maps of previous and current stages to avoid synthesizing unfaithful layouts. Experiments demonstrate that FreCaS significantly outperforms state-of-the-art methods in image quality and generation speed. In particular, FreCaS is about 2.86$\times$ and 6.07$\times$ faster than ScaleCrafter and DemoFusion in generating a 2048$\times$2048 image using a pre-trained SDXL model and achieves an FID$_b$ improvement of 11.6 and 3.7, respectively. FreCaS can be easily extended to more complex models such as SD3. The source code of FreCaS can be found at https://github.com/xtudbxk/FreCaS.

Zhengqiang Zhang, Ruihuang Li, Lei Zhang• 2024

Related benchmarks

TaskDatasetResultRank
High-Resolution Image GenerationAesthetic-4K
IR1.13
64
Text-to-Image GenerationLAION-5B 1,000 prompts
FID (Real)49.129
20
Text-to-Image Generation4K Resolution 4K x 4K (test)
CLIP IQA Score0.2704
16
Showing 3 of 3 rows

Other info

Follow for update