Linear Semantics in Generative Adversarial Networks
Not on the map. Why?
Abstract (arXiv)
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 findings, 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 user-provided semantic layout, and control the synthesized image semantics. We have made the code publicly available.
Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). Builds on 39 of its 45 references that are in the map. First posted on arXiv 1 Apr 2021.
Builds on
39 of 45 references.
References · 39
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
- 2016Image-to-Image Translation with Conditional Adversarial Networkscited by 4,510
- 2014Deep Learning Face Attributes in the Wildcited by 3,679
- 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,580
- 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,967
- 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,609
- 2017Rethinking Atrous Convolution for Semantic Image Segmentationcited by 2,154
- 2015Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networkscited by 2,048
- 2017Arbitrary Style Transfer in Real-time with Adaptive Instance Normalizationcited by 1,998
- 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,350
27 more
- 2017High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANscited by 1,176
- 2016InfoGAN: Interpretable Representation Learning by Information Maximizing Generative Adversarial Netscited by 858
- 2018Self-Attention Generative Adversarial Networkscited by 809
- 2019Interpreting the Latent Space of GANs for Semantic Face Editingcited by 691
- 2019MaskGAN: Towards Diverse and Interactive Facial Image Manipulationcited by 624
- 2016StackGAN: Text to Photo-realistic Image Synthesis with Stacked Generative Adversarial Networkscited by 575
- 2016Conditional Image Synthesis With Auxiliary Classifier GANscited by 562
- 2020In-Domain GAN Inversion for Real Image Editingcited by 420
- 2020Closed-Form Factorization of Latent Semantics in GANscited by 407
- 2019Image2StyleGAN++: How to Edit the Embedded Images?cited by 356
- 2016Generative Visual Manipulation on the Natural Image Manifoldcited by 348
- 2020StyleFlow: Attribute-conditioned Exploration of StyleGAN-Generated Images using Conditional Continuous Normalizing Flowscited by 348
- 2020Unsupervised Discovery of Interpretable Directions in the GAN Latent Spacecited by 288
- 2020StyleRig: Rigging StyleGAN for 3D Control over Portrait Imagescited by 267
- 2019SEAN: Image Synthesis with Semantic Region-Adaptive Normalizationcited by 253
- 2019On the "steerability" of generative adversarial networkscited by 247
- 2016Adversarially Learned Inferencecited by 216
- 2015Deep Generative Image Models using a Laplacian Pyramid of Adversarial Networkscited by 214
- 2020Editing in Style: Uncovering the Local Semantics of GANscited by 183
- 2016Neural Photo Editing with Introspective Adversarial Networkscited by 109
- 2019Semantic Hierarchy Emerges in Deep Generative Representations for Scene Synthesiscited by 106
- 2020Rewriting a Deep Generative Modelcited by 105
- 2020Image GANs meet Differentiable Rendering for Inverse Graphics and Interpretable 3D Neural Renderingcited by 101
- 2018Deep Feature Factorization For Concept Discoverycited by 64
- 2020GIF: Generative Interpretable Facescited by 53
- 2016Stacked Generative Adversarial Networkscited by 44
- 2018Spatially Controllable Image Synthesis with Internal Representation Collagingcited by 23
Built on by
Citing papers per year: 2021: 4; 2022: 8; 2023: 5; 2024: 5; 2025: 3.
25 papers.
Sort:
By area:
- 2021Label-Efficient Semantic Segmentation with Diffusion Modelscited by 495
- 2021EditGAN: High-Precision Semantic Image Editingcited by 156
- 2022BigDatasetGAN: Synthesizing ImageNet with Pixel-wise Annotationscited by 99
- 2024EmerDiff: Emerging Pixel-level Semantic Knowledge in Diffusion Modelscited by 42
- 2023Exploiting Diffusion Prior for Generalizable Dense Predictioncited by 37
- 2022State-of-the-Art in the Architecture, Methods and Applications of StyleGANcited by 34
- 2022CoordGAN: Self-Supervised Dense Correspondences Emerge from GANscited by 17
- 2023Personalized Face Inpainting with Diffusion Models by Parallel Visual Attentioncited by 13
- 2022Generator Knows What Discriminator Should Learn in Unconditional GANscited by 7
- 2025Line of Sight: On Linear Representations in VLLMscited by 6
- 2021Optimizing Latent Space Directions For GAN-based Local Image Editingcited by 5
- 2022Extracting Semantic Knowledge from GANs with Unsupervised Learningcited by 5
13 more
- 2023Householder Projector for Unsupervised Latent Semantics Discoverycited by 5
- 2021Towards Full-to-Empty Room Generation with Structure-Aware Feature Encoding and Soft Semantic Region-Adaptive Normalizationcited by 4
- 2022One-Shot Synthesis of Images and Segmentation Maskscited by 4
- 2025SeaLion: Semantic Part-Aware Latent Point Diffusion Models for 3D Generationcited by 4
- 2022Polymorphic-GAN: Generating Aligned Samples across Multiple Domains with Learned Morph Mapscited by 3
- 2024Semantic Image Synthesis with Unconditional Generatorcited by 3
- 2024InvSeg: Test-Time Prompt Inversion for Semantic Segmentationcited by 2
- 2022Interpreting Class Conditional GANs with Channel Awarenesscited by 1
- 2023Enhancing Semantic Communication with Deep Generative Models -- An ICASSP Special Session Overviewcited by 1
- 2024Latent Space Imagingcited by 1
- 2024Label-Efficient 3D Brain Segmentation via Complementary 2D Diffusion Models with Orthogonal Viewscited by 1
- 2023Rethinking the editing of generative adversarial networks: a method to estimate editing vectors based on dimension reductioncited by 0
- 2025A Training-Free Approach for Multi-ID Customization via Attention Adjustment and Spatial Controlcited by 0
- 2025A Training-Free Approach for Multi-ID Customization via Attention Adjustment and Spatial Control25 Nov 2025
- 2025Line of Sight: On Linear Representations in VLLMs5 Jun 2025
- 2025SeaLion: Semantic Part-Aware Latent Point Diffusion Models for 3D Generation23 May 2025
- 2024InvSeg: Test-Time Prompt Inversion for Semantic Segmentation15 Oct 2024
- 2024Label-Efficient 3D Brain Segmentation via Complementary 2D Diffusion Models with Orthogonal Views17 Jul 2024
- 2024Latent Space Imaging9 Jul 2024
- 2024Semantic Image Synthesis with Unconditional Generator22 Feb 2024
- 2024EmerDiff: Emerging Pixel-level Semantic Knowledge in Diffusion Models22 Jan 2024
- 2023Personalized Face Inpainting with Diffusion Models by Parallel Visual Attention6 Dec 2023
- 2023Exploiting Diffusion Prior for Generalizable Dense Prediction30 Nov 2023
- 2023Enhancing Semantic Communication with Deep Generative Models -- An ICASSP Special Session Overview5 Sep 2023
- 2023Householder Projector for Unsupervised Latent Semantics Discovery16 Jul 2023
13 more
- 2023Rethinking the editing of generative adversarial networks: a method to estimate editing vectors based on dimension reduction7 Mar 2023
- 2022Extracting Semantic Knowledge from GANs with Unsupervised Learning30 Nov 2022
- 2022One-Shot Synthesis of Images and Segmentation Masks15 Sep 2022
- 2022Generator Knows What Discriminator Should Learn in Unconditional GANs27 Jul 2022
- 2022Polymorphic-GAN: Generating Aligned Samples across Multiple Domains with Learned Morph Maps6 Jun 2022
- 2022CoordGAN: Self-Supervised Dense Correspondences Emerge from GANs30 Mar 2022
- 2022Interpreting Class Conditional GANs with Channel Awareness21 Mar 2022
- 2022State-of-the-Art in the Architecture, Methods and Applications of StyleGAN28 Feb 2022
- 2022BigDatasetGAN: Synthesizing ImageNet with Pixel-wise Annotations12 Jan 2022
- 2021Towards Full-to-Empty Room Generation with Structure-Aware Feature Encoding and Soft Semantic Region-Adaptive Normalization10 Dec 2021
- 2021Label-Efficient Semantic Segmentation with Diffusion Models6 Dec 2021
- 2021Optimizing Latent Space Directions For GAN-based Local Image Editing24 Nov 2021
- 2021EditGAN: High-Precision Semantic Image Editing4 Nov 2021
- 2021Label-Efficient Semantic Segmentation with Diffusion Modelscited by 495
- 2024EmerDiff: Emerging Pixel-level Semantic Knowledge in Diffusion Modelscited by 42
- 2023Exploiting Diffusion Prior for Generalizable Dense Predictioncited by 37
- 2023Personalized Face Inpainting with Diffusion Models by Parallel Visual Attentioncited by 13
- 2025SeaLion: Semantic Part-Aware Latent Point Diffusion Models for 3D Generationcited by 4
- 2024InvSeg: Test-Time Prompt Inversion for Semantic Segmentationcited by 2
- 2024Label-Efficient 3D Brain Segmentation via Complementary 2D Diffusion Models with Orthogonal Viewscited by 1
- 2025SeaLion: Semantic Part-Aware Latent Point Diffusion Models for 3D Generation23 May 2025
- 2024InvSeg: Test-Time Prompt Inversion for Semantic Segmentation15 Oct 2024
- 2024Label-Efficient 3D Brain Segmentation via Complementary 2D Diffusion Models with Orthogonal Views17 Jul 2024
- 2024EmerDiff: Emerging Pixel-level Semantic Knowledge in Diffusion Models22 Jan 2024
- 2023Personalized Face Inpainting with Diffusion Models by Parallel Visual Attention6 Dec 2023
- 2023Exploiting Diffusion Prior for Generalizable Dense Prediction30 Nov 2023
- 2021Label-Efficient Semantic Segmentation with Diffusion Models6 Dec 2021
- 2021EditGAN: High-Precision Semantic Image Editingcited by 156
- 2022BigDatasetGAN: Synthesizing ImageNet with Pixel-wise Annotationscited by 99
- 2022State-of-the-Art in the Architecture, Methods and Applications of StyleGANcited by 34
- 2022CoordGAN: Self-Supervised Dense Correspondences Emerge from GANscited by 17
- 2022Generator Knows What Discriminator Should Learn in Unconditional GANscited by 7
- 2025Line of Sight: On Linear Representations in VLLMscited by 6
- 2021Optimizing Latent Space Directions For GAN-based Local Image Editingcited by 5
- 2022Extracting Semantic Knowledge from GANs with Unsupervised Learningcited by 5
- 2023Householder Projector for Unsupervised Latent Semantics Discoverycited by 5
- 2021Towards Full-to-Empty Room Generation with Structure-Aware Feature Encoding and Soft Semantic Region-Adaptive Normalizationcited by 4
- 2022One-Shot Synthesis of Images and Segmentation Maskscited by 4
- 2022Polymorphic-GAN: Generating Aligned Samples across Multiple Domains with Learned Morph Mapscited by 3
12 most cited of 18 All 18 (JSON)
- 2025A Training-Free Approach for Multi-ID Customization via Attention Adjustment and Spatial Control25 Nov 2025
- 2025Line of Sight: On Linear Representations in VLLMs5 Jun 2025
- 2024Latent Space Imaging9 Jul 2024
- 2024Semantic Image Synthesis with Unconditional Generator22 Feb 2024
- 2023Enhancing Semantic Communication with Deep Generative Models -- An ICASSP Special Session Overview5 Sep 2023
- 2023Householder Projector for Unsupervised Latent Semantics Discovery16 Jul 2023
- 2023Rethinking the editing of generative adversarial networks: a method to estimate editing vectors based on dimension reduction7 Mar 2023
- 2022Extracting Semantic Knowledge from GANs with Unsupervised Learning30 Nov 2022
- 2022One-Shot Synthesis of Images and Segmentation Masks15 Sep 2022
- 2022Generator Knows What Discriminator Should Learn in Unconditional GANs27 Jul 2022
- 2022Polymorphic-GAN: Generating Aligned Samples across Multiple Domains with Learned Morph Maps6 Jun 2022
- 2022CoordGAN: Self-Supervised Dense Correspondences Emerge from GANs30 Mar 2022
12 newest of 18 All 18 (JSON)