ElasticDiffusion: Training-Free Arbitrary Size Image Generation Through Global-Local Content Separation

Moayed Haji Ali, Guha Balakrishnan, Vicente Ordonez
2/14/2026

No official code found. Best implementation: MoayedHajiAli/ElasticDiffusion-official (160 stars, last commit 2024-12-24).

Abstract

Diffusion models have revolutionized image generation in recent years, yet they are still limited to a few sizes and aspect ratios. We propose ElasticDiffusion, a novel training-free decoding method that enables pretrained text-to-image diffusion models to generate images with various sizes. ElasticDiffusion attempts to decouple the generation trajectory of a pretrained model into local and global signals. The local signal controls low-level pixel information and can be estimated on local patches, while the global signal is used to maintain overall structural consistency and is estimated with a reference image. We test our method on CelebA-HQ (faces) and LAION-COCO (objects/indoor/outdoor scenes). Our experiments and qualitative results show superior image coherence quality across aspect ratios compared to MultiDiffusion and the standard decoding strategy of Stable Diffusion. Project Webpage: https://elasticdiffusion.github.io/

View on arXivView PDF

Code Implementations(1)

The official Pytorch Implementation for ElasticDiffusion: Training-free Arbitrary Size Image Generation through Global-Local Content Separation (CVPR 2024)

1608PythonNov 30, 20231 years ago

Similar Papers

Cite this paper

@article{ali2026elasticdiffusion,
  title  = {ElasticDiffusion: Training-Free Arbitrary Size Image Generation Through Global-Local Content Separation},
  author = {Moayed Haji Ali and Guha Balakrishnan and Vicente Ordonez},
  year   = {2026},
  eprint = {2311.18822},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2311.18822},
  journal = {CVPR 2023 2023}
}

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/2311.18822.svg)](https://codeofpaper.com/paper/2311.18822)

Discussion