FAM Diffusion: Frequency and Attention Modulation for High-Resolution Image Generation with Stable Diffusion

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yang, Haosen, Bulat, Adrian, Hadji, Isma, Pham, Hai X., Zhu, Xiatian, Tzimiropoulos, Georgios, Martinez, Brais
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916497489657856
author Yang, Haosen
Bulat, Adrian
Hadji, Isma
Pham, Hai X.
Zhu, Xiatian
Tzimiropoulos, Georgios
Martinez, Brais
author_facet Yang, Haosen
Bulat, Adrian
Hadji, Isma
Pham, Hai X.
Zhu, Xiatian
Tzimiropoulos, Georgios
Martinez, Brais
contents Diffusion models are proficient at generating high-quality images. They are however effective only when operating at the resolution used during training. Inference at a scaled resolution leads to repetitive patterns and structural distortions. Retraining at higher resolutions quickly becomes prohibitive. Thus, methods enabling pre-existing diffusion models to operate at flexible test-time resolutions are highly desirable. Previous works suffer from frequent artifacts and often introduce large latency overheads. We propose two simple modules that combine to solve these issues. We introduce a Frequency Modulation (FM) module that leverages the Fourier domain to improve the global structure consistency, and an Attention Modulation (AM) module which improves the consistency of local texture patterns, a problem largely ignored in prior works. Our method, coined Fam diffusion, can seamlessly integrate into any latent diffusion model and requires no additional training. Extensive qualitative results highlight the effectiveness of our method in addressing structural and local artifacts, while quantitative results show state-of-the-art performance. Also, our method avoids redundant inference tricks for improved consistency such as patch-based or progressive generation, leading to negligible latency overheads.
format Preprint
id arxiv_https___arxiv_org_abs_2411_18552
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle FAM Diffusion: Frequency and Attention Modulation for High-Resolution Image Generation with Stable Diffusion
Yang, Haosen
Bulat, Adrian
Hadji, Isma
Pham, Hai X.
Zhu, Xiatian
Tzimiropoulos, Georgios
Martinez, Brais
Computer Vision and Pattern Recognition
Diffusion models are proficient at generating high-quality images. They are however effective only when operating at the resolution used during training. Inference at a scaled resolution leads to repetitive patterns and structural distortions. Retraining at higher resolutions quickly becomes prohibitive. Thus, methods enabling pre-existing diffusion models to operate at flexible test-time resolutions are highly desirable. Previous works suffer from frequent artifacts and often introduce large latency overheads. We propose two simple modules that combine to solve these issues. We introduce a Frequency Modulation (FM) module that leverages the Fourier domain to improve the global structure consistency, and an Attention Modulation (AM) module which improves the consistency of local texture patterns, a problem largely ignored in prior works. Our method, coined Fam diffusion, can seamlessly integrate into any latent diffusion model and requires no additional training. Extensive qualitative results highlight the effectiveness of our method in addressing structural and local artifacts, while quantitative results show state-of-the-art performance. Also, our method avoids redundant inference tricks for improved consistency such as patch-based or progressive generation, leading to negligible latency overheads.
title FAM Diffusion: Frequency and Attention Modulation for High-Resolution Image Generation with Stable Diffusion
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2411.18552