English

Bridging CLIP and StyleGAN through Latent Alignment for Image Editing

Computer Vision and Pattern Recognition 2022-10-11 v1

Abstract

Text-driven image manipulation is developed since the vision-language model (CLIP) has been proposed. Previous work has adopted CLIP to design a text-image consistency-based objective to address this issue. However, these methods require either test-time optimization or image feature cluster analysis for single-mode manipulation direction. In this paper, we manage to achieve inference-time optimization-free diverse manipulation direction mining by bridging CLIP and StyleGAN through Latent Alignment (CSLA). More specifically, our efforts consist of three parts: 1) a data-free training strategy to train latent mappers to bridge the latent space of CLIP and StyleGAN; 2) for more precise mapping, temporal relative consistency is proposed to address the knowledge distribution bias problem among different latent spaces; 3) to refine the mapped latent in s space, adaptive style mixing is also proposed. With this mapping scheme, we can achieve GAN inversion, text-to-image generation and text-driven image manipulation. Qualitative and quantitative comparisons are made to demonstrate the effectiveness of our method.

Keywords

Cite

@article{arxiv.2210.04506,
  title  = {Bridging CLIP and StyleGAN through Latent Alignment for Image Editing},
  author = {Wanfeng Zheng and Qiang Li and Xiaoyan Guo and Pengfei Wan and Zhongyuan Wang},
  journal= {arXiv preprint arXiv:2210.04506},
  year   = {2022}
}

Comments

20 pages, 23 figures

R2 v1 2026-06-28T03:07:44.770Z