Training-free Content Injection using h-space in Diffusion Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Jeong, Jaeseok, Kwon, Mingi, Uh, Youngjung
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910286851604480
author Jeong, Jaeseok
Kwon, Mingi
Uh, Youngjung
author_facet Jeong, Jaeseok
Kwon, Mingi
Uh, Youngjung
contents Diffusion models (DMs) synthesize high-quality images in various domains. However, controlling their generative process is still hazy because the intermediate variables in the process are not rigorously studied. Recently, the bottleneck feature of the U-Net, namely $h$-space, is found to convey the semantics of the resulting image. It enables StyleCLIP-like latent editing within DMs. In this paper, we explore further usage of $h$-space beyond attribute editing, and introduce a method to inject the content of one image into another image by combining their features in the generative processes. Briefly, given the original generative process of the other image, 1) we gradually blend the bottleneck feature of the content with proper normalization, and 2) we calibrate the skip connections to match the injected content. Unlike custom-diffusion approaches, our method does not require time-consuming optimization or fine-tuning. Instead, our method manipulates intermediate features within a feed-forward generative process. Furthermore, our method does not require supervision from external networks. The code is available at https://curryjung.github.io/InjectFusion/
format Preprint
id arxiv_https___arxiv_org_abs_2303_15403
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Training-free Content Injection using h-space in Diffusion Models
Jeong, Jaeseok
Kwon, Mingi
Uh, Youngjung
Computer Vision and Pattern Recognition
Diffusion models (DMs) synthesize high-quality images in various domains. However, controlling their generative process is still hazy because the intermediate variables in the process are not rigorously studied. Recently, the bottleneck feature of the U-Net, namely $h$-space, is found to convey the semantics of the resulting image. It enables StyleCLIP-like latent editing within DMs. In this paper, we explore further usage of $h$-space beyond attribute editing, and introduce a method to inject the content of one image into another image by combining their features in the generative processes. Briefly, given the original generative process of the other image, 1) we gradually blend the bottleneck feature of the content with proper normalization, and 2) we calibrate the skip connections to match the injected content. Unlike custom-diffusion approaches, our method does not require time-consuming optimization or fine-tuning. Instead, our method manipulates intermediate features within a feed-forward generative process. Furthermore, our method does not require supervision from external networks. The code is available at https://curryjung.github.io/InjectFusion/
title Training-free Content Injection using h-space in Diffusion Models
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2303.15403