logo TALE: Training-free Cross-domain Image Composition via Adaptive Latent Manipulation and Energy-guided Optimization

1HKUST
scrolling image

Abstract

We present TALE, a novel training-free framework harnessing the power of text-driven diffusion models to tackle cross-domain image composition task that aims at seamlessly incorporating user-provided objects into a specific visual context 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 pretrained 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.


Qualitative Comparisons

Qualitative comparison of TALE with prior SOTA and concurrent works in cross-domain image-guided composition.

results_sketch

Photorealism-Sketching cross-domain composition results.


results_oil

Photorealism-Oil painting cross-domain composition results.


results_real

Photorealism same-domain composition results.

results_comic

Photorealism-Comic cross-domain composition results.


results_watercolor

Photorealism-Watercolor painting cross-domain composition results.


results_cartoon

Photorealism-Cartoon animation cross-domain composition results.


Quantitative Comparisons

results_quantitative_cross

Quantitative comparison of TALE with prior SOTA works in cross-domain composition on the baseline benchmark with sketching, oil painting, and cartoon animation domains, and on the extended benchmark containing mixture of other domains such as comic and watercolor painting.


results_quantitative_same Quantitative performance achieved by different methods for photorealism same-domain composition. Our results are shown in bold, the best and runner-up are in red and blue.
results_userstudy User preference of TALE over prior works.

More Results

scrolling image 2