TALE:无需训练的跨域图像合成框架,自适应潜空间操控与能量引导优化
TALE: Training-free Cross-domain Image Composition via Adaptive Latent Manipulation and Energy-guided Optimization
TALE 是一个无需训练的跨域图像合成框架,直接在潜空间对合成过程提供显式引导,包含自适应潜空间操控与能量引导潜空间优化两种机制。前者利用对应时间步的背景与前景潜变量构建并引导合成过程,后者通过指定能量函数优化中间潜变量以满足特定条件。实验显示 TALE 在多种写实与艺术域的图像引导合成中超越此前基线,达到 state-of-the-art 性能。
arXiv:2408.03637v2 Announce Type: replace Abstract: We present TALE, a novel training-free framework harnessing the generative capabilities of text-to-image diffusion models to address the cross-domain image composition task that focuses on flawlessly incorporating user-specified objects into a designated visual contexts regardless of domain disparity. Previous methods often involve either training auxiliary networks or finetuning diffusion models on customized datasets, which are expensive and may undermine the robust textual and visual priors of pre-trained diffusion models. Some recent works attempt to break the barrier by proposing training-free workarounds that rely on manipulating attention maps to tame the denoising process implicitly. However, composing via attention maps does not necessarily yield desired compositional outcomes. These approaches could only retain some semantic information and usually fall short in preserving identity characteristics of input objects or exhibit limited background-object style adaptation in generated images. In contrast, TALE is a novel method that operates directly on latent space to provide explicit and effective guidance for the composition process to resolve these problems. Specifically, we equip TALE with two mechanisms dubbed Adaptive Latent Manipulation and Energy-guided Latent Optimization. The former formulates noisy latents conducive to initiating and steering the composition process by directly leveraging background and foreground latents at corresponding timesteps, and the latter exploits designated energy functions to further optimize intermediate latents conforming to specific conditions that complement the former to generate desired final results. Our experiments demonstrate that TALE surpasses prior baselines and attains state-of-the-art performance in image-guided composition across various photorealistic and artistic domains.
来源:arXiv (AI + Vision + Imaging) · arxiv.org