mlsanityData to 7 Oct 2026

Linear Semantics in Generative Adversarial Networks

arXiv 2104.00487 ↗First posted 1 Apr 2021cs.CV cs.AIcited by 25

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

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  3. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
  4. 2016Image-to-Image Translation with Conditional Adversarial Networkscited by 4,510
  5. 2014Deep Learning Face Attributes in the Wildcited by 3,679
  6. 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,580
  7. 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,967
  8. 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,609
  9. 2017Rethinking Atrous Convolution for Semantic Image Segmentationcited by 2,154
  10. 2015Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networkscited by 2,048
  11. 2017Arbitrary Style Transfer in Real-time with Adaptive Instance Normalizationcited by 1,998
  12. 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,350
27 more
  1. 2017High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANscited by 1,176
  2. 2016InfoGAN: Interpretable Representation Learning by Information Maximizing Generative Adversarial Netscited by 858
  3. 2018Self-Attention Generative Adversarial Networkscited by 809
  4. 2019Interpreting the Latent Space of GANs for Semantic Face Editingcited by 691
  5. 2019MaskGAN: Towards Diverse and Interactive Facial Image Manipulationcited by 624
  6. 2016StackGAN: Text to Photo-realistic Image Synthesis with Stacked Generative Adversarial Networkscited by 575
  7. 2016Conditional Image Synthesis With Auxiliary Classifier GANscited by 562
  8. 2020In-Domain GAN Inversion for Real Image Editingcited by 420
  9. 2020Closed-Form Factorization of Latent Semantics in GANscited by 407
  10. 2019Image2StyleGAN++: How to Edit the Embedded Images?cited by 356
  11. 2016Generative Visual Manipulation on the Natural Image Manifoldcited by 348
  12. 2020StyleFlow: Attribute-conditioned Exploration of StyleGAN-Generated Images using Conditional Continuous Normalizing Flowscited by 348
  13. 2020Unsupervised Discovery of Interpretable Directions in the GAN Latent Spacecited by 288
  14. 2020StyleRig: Rigging StyleGAN for 3D Control over Portrait Imagescited by 267
  15. 2019SEAN: Image Synthesis with Semantic Region-Adaptive Normalizationcited by 253
  16. 2019On the "steerability" of generative adversarial networkscited by 247
  17. 2016Adversarially Learned Inferencecited by 216
  18. 2015Deep Generative Image Models using a Laplacian Pyramid of Adversarial Networkscited by 214
  19. 2020Editing in Style: Uncovering the Local Semantics of GANscited by 183
  20. 2016Neural Photo Editing with Introspective Adversarial Networkscited by 109
  21. 2019Semantic Hierarchy Emerges in Deep Generative Representations for Scene Synthesiscited by 106
  22. 2020Rewriting a Deep Generative Modelcited by 105
  23. 2020Image GANs meet Differentiable Rendering for Inverse Graphics and Interpretable 3D Neural Renderingcited by 101
  24. 2018Deep Feature Factorization For Concept Discoverycited by 64
  25. 2020GIF: Generative Interpretable Facescited by 53
  26. 2016Stacked Generative Adversarial Networkscited by 44
  27. 2018Spatially Controllable Image Synthesis with Internal Representation Collagingcited by 23

Built on by

Cited by year

Citing papers per year: 2021: 4; 2022: 8; 2023: 5; 2024: 5; 2025: 3.

25 papers.

Sort:

By area:

  1. 2021Label-Efficient Semantic Segmentation with Diffusion Modelscited by 495
  2. 2021EditGAN: High-Precision Semantic Image Editingcited by 156
  3. 2022BigDatasetGAN: Synthesizing ImageNet with Pixel-wise Annotationscited by 99
  4. 2024EmerDiff: Emerging Pixel-level Semantic Knowledge in Diffusion Modelscited by 42
  5. 2023Exploiting Diffusion Prior for Generalizable Dense Predictioncited by 37
  6. 2022State-of-the-Art in the Architecture, Methods and Applications of StyleGANcited by 34
  7. 2022CoordGAN: Self-Supervised Dense Correspondences Emerge from GANscited by 17
  8. 2023Personalized Face Inpainting with Diffusion Models by Parallel Visual Attentioncited by 13
  9. 2022Generator Knows What Discriminator Should Learn in Unconditional GANscited by 7
  10. 2025Line of Sight: On Linear Representations in VLLMscited by 6
  11. 2021Optimizing Latent Space Directions For GAN-based Local Image Editingcited by 5
  12. 2022Extracting Semantic Knowledge from GANs with Unsupervised Learningcited by 5
13 more
  1. 2023Householder Projector for Unsupervised Latent Semantics Discoverycited by 5
  2. 2021Towards Full-to-Empty Room Generation with Structure-Aware Feature Encoding and Soft Semantic Region-Adaptive Normalizationcited by 4
  3. 2022One-Shot Synthesis of Images and Segmentation Maskscited by 4
  4. 2025SeaLion: Semantic Part-Aware Latent Point Diffusion Models for 3D Generationcited by 4
  5. 2022Polymorphic-GAN: Generating Aligned Samples across Multiple Domains with Learned Morph Mapscited by 3
  6. 2024Semantic Image Synthesis with Unconditional Generatorcited by 3
  7. 2024InvSeg: Test-Time Prompt Inversion for Semantic Segmentationcited by 2
  8. 2022Interpreting Class Conditional GANs with Channel Awarenesscited by 1
  9. 2023Enhancing Semantic Communication with Deep Generative Models -- An ICASSP Special Session Overviewcited by 1
  10. 2024Latent Space Imagingcited by 1
  11. 2024Label-Efficient 3D Brain Segmentation via Complementary 2D Diffusion Models with Orthogonal Viewscited by 1
  12. 2023Rethinking the editing of generative adversarial networks: a method to estimate editing vectors based on dimension reductioncited by 0
  13. 2025A Training-Free Approach for Multi-ID Customization via Attention Adjustment and Spatial Controlcited by 0