TwinDiffusion: Enhancing Coherence and Efficiency in Panoramic Image Generation with Diffusion Models
Teng Zhou, Yongchuan Tang
TL;DR
TwinDiffusion addresses seam artifacts and efficiency bottlenecks in panoramic image generation with diffusion models by introducing Crop Fusion, a training-free stage that aligns adjacent crop areas, and Cross Sampling, an interleaved, multi-group sampling scheme that permits larger view strides without sacrificing coherence. The method formalizes crop-level fusion via a closed-form, KKT-based optimization that couples denoising guidance with overlap consistency, and leverages a cross-group sampling strategy to accelerate panorama synthesis. Extensive both qualitative and quantitative evaluations show improved panorama coherence (lower LPIPS and DISTS) with competitive fidelity (FID and IS) and faster generation times compared with baselines like MultiDiffusion. The approach demonstrates strong potential for high-quality, efficient panoramic synthesis in applications such as immersive VR and digital art, while acknowledging limitations in global layout stability and social implications of image generation. Overall, TwinDiffusion advances seamless, scalable panoramic diffusion by marrying a lightweight crop fusion mechanism with an efficient interleaved sampling paradigm.
Abstract
Diffusion models have emerged as effective tools for generating diverse and high-quality content. However, their capability in high-resolution image generation, particularly for panoramic images, still faces challenges such as visible seams and incoherent transitions. In this paper, we propose TwinDiffusion, an optimized framework designed to address these challenges through two key innovations: the Crop Fusion for quality enhancement and the Cross Sampling for efficiency optimization. We introduce a training-free optimizing stage to refine the similarity of adjacent image areas, as well as an interleaving sampling strategy to yield dynamic patches during the cropping process. A comprehensive evaluation is conducted to compare TwinDiffusion with the prior works, considering factors including coherence, fidelity, compatibility, and efficiency. The results demonstrate the superior performance of our approach in generating seamless and coherent panoramas, setting a new standard in quality and efficiency for panoramic image generation.
