Linear Semantics in Generative Adversarial Networks
Jianjin Xu, Changxi Zheng
Abstract
Generative Adversarial Networks (GANs) are able to generate high-quality images, but it remains difficult to explicitly specify the semantics of synthesized images. In this work, we aim to better understand the semantic representation of GANs, and thereby enable semantic control in GAN's generation process. Interestingly, we find that a well-trained GAN encodes image semantics in its internal feature maps in a surprisingly simple way: a linear transformation of feature maps suffices to extract the generated image semantics. To verify this simplicity, we conduct extensive experiments on various GANs and datasets; and thanks to this simplicity, we are able to learn a semantic segmentation model for a trained GAN from a small number (e.g., 8) of labeled images. Last but not least, leveraging our finding, we propose two few-shot image editing approaches, namely Semantic-Conditional Sampling and Semantic Image Editing. Given a trained GAN and as few as eight semantic annotations, the user is able to generate diverse images subject to a userprovided semantic layout, and control the synthesized image semantics. We have made the code publicly available 1 .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
11 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Closed-Form Factorization of Latent Semantics in GANs cites On the "steerability" of generative adversarial networks
- Closed-Form Factorization of Latent Semantics in GANs cites Unsupervised Discovery of Interpretable Directions in the GAN Latent Space
- Unsupervised Discovery of Interpretable Directions in the GAN Latent Space cites On the "steerability" of generative adversarial networks
- EmerDiff: Emerging Pixel-level Semantic Knowledge in Diffusion Models cites Editing in Style: Uncovering the Local Semantics of GANs
- EmerDiff: Emerging Pixel-level Semantic Knowledge in Diffusion Models cites Label-Efficient Semantic Segmentation with Diffusion Models
- EmerDiff: Emerging Pixel-level Semantic Knowledge in Diffusion Models cites BigDatasetGAN: Synthesizing ImageNet with Pixel-wise Annotations
- Label-Efficient Semantic Segmentation with Diffusion Models cites Unsupervised Discovery of Interpretable Directions in the GAN Latent Space
- EditGAN: High-Precision Semantic Image Editing cites On the "steerability" of generative adversarial networks
- EditGAN: High-Precision Semantic Image Editing cites Editing in Style: Uncovering the Local Semantics of GANs
- EditGAN: High-Precision Semantic Image Editing cites Closed-Form Factorization of Latent Semantics in GANs
- EditGAN: High-Precision Semantic Image Editing cites Unsupervised Discovery of Interpretable Directions in the GAN Latent Space
- EditGAN: High-Precision Semantic Image Editing cites Image GANs meet Differentiable Rendering for Inverse Graphics and Interpretable 3D Neural Rendering
- Householder Projector for Unsupervised Latent Semantics Discovery cites On the "steerability" of generative adversarial networks
- Householder Projector for Unsupervised Latent Semantics Discovery cites Editing in Style: Uncovering the Local Semantics of GANs
- Householder Projector for Unsupervised Latent Semantics Discovery cites Closed-Form Factorization of Latent Semantics in GANs
- Householder Projector for Unsupervised Latent Semantics Discovery cites Unsupervised Discovery of Interpretable Directions in the GAN Latent Space
- Householder Projector for Unsupervised Latent Semantics Discovery cites EditGAN: High-Precision Semantic Image Editing
Cited by top-tier papers11
- Label-Efficient Semantic Segmentation with Diffusion ModelsDmitry Baranchuk, Andrey Voynov, Ivan Rubachev, Valentin Khrulkov et al.ICLR 2022 · 700 citations
- EditGAN: High-Precision Semantic Image EditingHuan Ling, Karsten Kreis, Daiqing Li, Seung Wook Kim et al.NeurIPS 2021 · 248 citations
- BigDatasetGAN: Synthesizing ImageNet with Pixel-wise AnnotationsDaiqing Li, Huan Ling, Seung Wook Kim, Karsten Kreis et al.CVPR 2022 · 71 citations
- EmerDiff: Emerging Pixel-level Semantic Knowledge in Diffusion ModelsKoichi Namekata, Amirmojtaba Sabour, Sanja Fidler, Seung Wook KimICLR 2024 · 41 citations
- Householder Projector for Unsupervised Latent Semantics DiscoveryYue Song, Jichao Zhang, Nicu Sebe, Wei WangICCV 2023 · 9 citations
Builds on9
- Unsupervised Discovery of Interpretable Directions in the GAN Latent SpaceAndrey Voynov, Artem BabenkoICML 2020 · 459 citations
- On the "steerability" of generative adversarial networksAli Jahanian, Lucy Chai, Phillip IsolaICLR 2020 · 421 citations
- Image GANs meet Differentiable Rendering for Inverse Graphics and Interpretable 3D Neural RenderingYuxuan Zhang, Wenzheng Chen, Huan Ling, Jun Gao et al.ICLR 2021 · 140 citations
- Editing in Style: Uncovering the Local Semantics of GANsEdo Collins, Raja Bala, Bob Price, Sabine SüsstrunkCVPR 2020
- Closed-Form Factorization of Latent Semantics in GANsYujun Shen, Bolei ZhouCVPR 2021
Related papers
- FEditNet: Few-Shot Editing of Latent Semantics in GAN SpacesMengfei Xia, Yezhi Shu, Yuji Wang, Yu-Kun Lai et al.AAAI 2023 · 4 citations
- Repurposing GANs for One-Shot Semantic Part SegmentationNontawat Tritrong, Pitchaporn Rewatbowornwong, Supasorn SuwajanakornCVPR 2021
- Attribute Group Editing for Reliable Few-shot Image GenerationGuanqi Ding, Xinzhe Han, Shuhui Wang, Shuzhe Wu et al.CVPR 2022 · 36 citations
- Semantic Image Analogy with a Conditional Single-Image GANJiacheng Li, Zhiwei Xiong, Dong Liu, Xuejin Chen et al.ACM MM 2020 · 4 citations
- Interpreting the Latent Space of GANs for Semantic Face EditingYujun Shen, Jinjin Gu, Xiaoou Tang, Bolei ZhouCVPR 2020
