CLIP2StyleGAN: Unsupervised Extraction of StyleGAN Edit Directions

Rameen Abdal, Peihao Zhu, John Femiani, Niloy Mitra, Peter Wonka

Research output: Chapter in Book/Report/Conference proceedingConference contribution


The success of StyleGAN has enabled unprecedented semantic editing capabilities, on both synthesized and real images. However, such editing operations are either trained with semantic supervision or annotated manually by users. In another development, the CLIP architecture has been trained with internet-scale loose image and text pairings, and has been shown to be useful in several zero-shot learning settings. In this work, we investigate how to effectively link the pretrained latent spaces of StyleGAN and CLIP, which in turn allows us to automatically extract semantically-labeled edit directions from StyleGAN, finding and naming meaningful edit operations, in a fully unsupervised setup, without additional human guidance. Technically, we propose two novel building blocks; one for discovering interesting CLIP directions and one for semantically labeling arbitrary directions in CLIP latent space. The setup does not assume any pre-determined labels and hence we do not require any additional supervised text/attributes to build the editing framework. We evaluate the effectiveness of the proposed method and demonstrate that extraction of disentangled labeled StyleGAN edit directions is indeed possible, revealing interesting and non-trivial edit directions.
Original languageEnglish (US)
Title of host publicationSpecial Interest Group on Computer Graphics and Interactive Techniques Conference Proceedings
StatePublished - Jul 24 2022


Dive into the research topics of 'CLIP2StyleGAN: Unsupervised Extraction of StyleGAN Edit Directions'. Together they form a unique fingerprint.

Cite this