HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

High-Resolution Image Synthesis with Latent Diffusion Models

Rombach Robin ; Blattmann Andreas ; Lorenz Dominik ; Esser Patrick ; Ommer Björn

High-Resolution Image Synthesis with Latent Diffusion Models

Abstract

By decomposing the image formation process into a sequential application ofdenoising autoencoders, diffusion models (DMs) achieve state-of-the-artsynthesis results on image data and beyond. Additionally, their formulationallows for a guiding mechanism to control the image generation process withoutretraining. However, since these models typically operate directly in pixelspace, optimization of powerful DMs often consumes hundreds of GPU days andinference is expensive due to sequential evaluations. To enable DM training onlimited computational resources while retaining their quality and flexibility,we apply them in the latent space of powerful pretrained autoencoders. Incontrast to previous work, training diffusion models on such a representationallows for the first time to reach a near-optimal point between complexityreduction and detail preservation, greatly boosting visual fidelity. Byintroducing cross-attention layers into the model architecture, we turndiffusion models into powerful and flexible generators for general conditioninginputs such as text or bounding boxes and high-resolution synthesis becomespossible in a convolutional manner. Our latent diffusion models (LDMs) achievea new state of the art for image inpainting and highly competitive performanceon various tasks, including unconditional image generation, semantic scenesynthesis, and super-resolution, while significantly reducing computationalrequirements compared to pixel-based DMs. Code is available athttps://github.com/CompVis/latent-diffusion .

Code Repositories

joanrod/ocr-vqgan
pytorch
Mentioned in GitHub
compvis/stable-diffusion
pytorch
Mentioned in GitHub
benearnthof/fm_boosting
pytorch
Mentioned in GitHub
ankanbhunia/Handwriting-Transformers
pytorch
Mentioned in GitHub
vainf/diff-pruning
jax
Mentioned in GitHub
stability-ai/stablediffusion
pytorch
Mentioned in GitHub
deforum/stable-diffusion
pytorch
Mentioned in GitHub
mayuelala/followyourpose
pytorch
Mentioned in GitHub
showlab/loveu-tgve-2023
pytorch
Mentioned in GitHub
compvis/fm-boosting
pytorch
Mentioned in GitHub
baaivision/vid2vid-zero
pytorch
Mentioned in GitHub
joh-fischer/PlantLDM
pytorch
Mentioned in GitHub
geekyutao/inpaint-anything
pytorch
Mentioned in GitHub
SnailDev/github-hot-hub
pytorch
Mentioned in GitHub
spengliang/smoothvideo
pytorch
Mentioned in GitHub
fhshen2022/prunerepaint
pytorch
Mentioned in GitHub
lilijiangg/autodiffusion
pytorch
Mentioned in GitHub
glouppe/info8010-deep-learning
pytorch
Mentioned in GitHub
showlab/Tune-A-Video
pytorch
Mentioned in GitHub
clarken92/vfm
pytorch
Mentioned in GitHub
quereste/implicit-deepfake
pytorch
Mentioned in GitHub
zgctroy/layoutdiffusion
pytorch
Mentioned in GitHub
joanrod/figure-diffusion
pytorch
Mentioned in GitHub
lonnyzhang423/github-hot-hub
pytorch
Mentioned in GitHub
yangling0818/contextdiff
jax
Mentioned in GitHub
microsoft/visual-chatgpt
Mentioned in GitHub
Francis-Rings/MotionFollower
pytorch
Mentioned in GitHub
Francis-Rings/MotionEditor
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-generation-on-celeba-hq-256x256LDM-4
FID: 5.11
image-generation-on-imagenet-512x512Latent Diffusion (LDM-4-G)
FID: 3.60
Inception score: 247.67
layout-to-image-generation-on-coco-stuff-4LDM-4 (200steps)
FID: 40.96
layout-to-image-generation-on-coco-stuff-4LDM-8 (100steps)
FID: 42.06
layout-to-image-generation-on-layoutbenchLDM
AP: 9.9
text-to-image-generation-on-cocoLatent Diffusion (LDM-KL-8-G)
FID: 12.63
text-to-image-generation-on-conceptualLDM-4
FID: 17.01

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
High-Resolution Image Synthesis with Latent Diffusion Models | Papers | HyperAI