Merging and Splitting Diffusion Paths for Semantically Coherent Panoramas

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Quattrini, Fabio, Pippi, Vittorio, Cascianelli, Silvia, Cucchiara, Rita
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914927435841536
author Quattrini, Fabio
Pippi, Vittorio
Cascianelli, Silvia
Cucchiara, Rita
author_facet Quattrini, Fabio
Pippi, Vittorio
Cascianelli, Silvia
Cucchiara, Rita
contents Diffusion models have become the State-of-the-Art for text-to-image generation, and increasing research effort has been dedicated to adapting the inference process of pretrained diffusion models to achieve zero-shot capabilities. An example is the generation of panorama images, which has been tackled in recent works by combining independent diffusion paths over overlapping latent features, which is referred to as joint diffusion, obtaining perceptually aligned panoramas. However, these methods often yield semantically incoherent outputs and trade-off diversity for uniformity. To overcome this limitation, we propose the Merge-Attend-Diffuse operator, which can be plugged into different types of pretrained diffusion models used in a joint diffusion setting to improve the perceptual and semantical coherence of the generated panorama images. Specifically, we merge the diffusion paths, reprogramming self- and cross-attention to operate on the aggregated latent space. Extensive quantitative and qualitative experimental analysis, together with a user study, demonstrate that our method maintains compatibility with the input prompt and visual quality of the generated images while increasing their semantic coherence. We release the code at https://github.com/aimagelab/MAD.
format Preprint
id arxiv_https___arxiv_org_abs_2408_15660
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Merging and Splitting Diffusion Paths for Semantically Coherent Panoramas
Quattrini, Fabio
Pippi, Vittorio
Cascianelli, Silvia
Cucchiara, Rita
Computer Vision and Pattern Recognition
Diffusion models have become the State-of-the-Art for text-to-image generation, and increasing research effort has been dedicated to adapting the inference process of pretrained diffusion models to achieve zero-shot capabilities. An example is the generation of panorama images, which has been tackled in recent works by combining independent diffusion paths over overlapping latent features, which is referred to as joint diffusion, obtaining perceptually aligned panoramas. However, these methods often yield semantically incoherent outputs and trade-off diversity for uniformity. To overcome this limitation, we propose the Merge-Attend-Diffuse operator, which can be plugged into different types of pretrained diffusion models used in a joint diffusion setting to improve the perceptual and semantical coherence of the generated panorama images. Specifically, we merge the diffusion paths, reprogramming self- and cross-attention to operate on the aggregated latent space. Extensive quantitative and qualitative experimental analysis, together with a user study, demonstrate that our method maintains compatibility with the input prompt and visual quality of the generated images while increasing their semantic coherence. We release the code at https://github.com/aimagelab/MAD.
title Merging and Splitting Diffusion Paths for Semantically Coherent Panoramas
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2408.15660