Merging and Splitting Diffusion Paths for Semantically Coherent Panoramas

Fabio Quattrini, Vittorio Pippi, Silvia Cascianelli, Rita Cucchiara
2/14/2026

No official code found. Best implementation: aimagelab/MAD (16 stars, last commit 2025-07-09).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

aimagelab/MADCommunity100%

Official PyTorch implementation for "Merging and Splitting Diffusion Paths for Semantically Coherent Panoramas", presenting the Merge-Attend-Diffuse operator (ECCV24)

161PythonNov 17, 20231 years ago
consistency-modelsdiffusion-modelsgenerative-modelimage-generationstable-diffusion+3 more

Similar Papers

Cite this paper

@article{quattrini2026merging,
  title  = {Merging and Splitting Diffusion Paths for Semantically Coherent Panoramas},
  author = {Fabio Quattrini and Vittorio Pippi and Silvia Cascianelli and Rita Cucchiara},
  year   = {2026},
  eprint = {2408.15660},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2408.15660},
  journal = {ECCV 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.15660.svg)](https://codeofpaper.com/paper/2408.15660)

Discussion