ZePo: Zero-Shot Portrait Stylization with Faster Sampling
Jin Liu, Huaibo Huang, Jie Cao, Ran He
TL;DR
ZePo tackles the bottleneck of slow, inversion-dependent portrait stylization in diffusion models by eliminating the need for fine-tuning and DDIM inversion. It leverages Latent Consistency Models to extract Consistency Features from content and reference images and introduces Style Enhancement Attention Control to fuse these features efficiently during four-sample generation. The approach yields fast, high-fidelity stylization with strong content preservation and style transfer, validated by quantitative metrics (LPIPS, CLIP-IQA) and qualitative comparisons, while maintaining practical inference times (~0.6 seconds). The authors provide ablations and comparisons against state-of-the-art baselines and release the code for public use.
Abstract
Diffusion-based text-to-image generation models have significantly advanced the field of art content synthesis. However, current portrait stylization methods generally require either model fine-tuning based on examples or the employment of DDIM Inversion to revert images to noise space, both of which substantially decelerate the image generation process. To overcome these limitations, this paper presents an inversion-free portrait stylization framework based on diffusion models that accomplishes content and style feature fusion in merely four sampling steps. We observed that Latent Consistency Models employing consistency distillation can effectively extract representative Consistency Features from noisy images. To blend the Consistency Features extracted from both content and style images, we introduce a Style Enhancement Attention Control technique that meticulously merges content and style features within the attention space of the target image. Moreover, we propose a feature merging strategy to amalgamate redundant features in Consistency Features, thereby reducing the computational load of attention control. Extensive experiments have validated the effectiveness of our proposed framework in enhancing stylization efficiency and fidelity. The code is available at \url{https://github.com/liujin112/ZePo}.
