Linear Semantics in Generative Adversarial Networks

04/01/2021
by   Jianjin Xu, et al.
0

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.

READ FULL TEXT

page 7

page 15

page 17

page 19

page 20

page 21

page 22

page 23

research
11/30/2022

Extracting Semantic Knowledge from GANs with Unsupervised Learning

Recently, unsupervised learning has made impressive progress on various ...
research
05/31/2022

PandA: Unsupervised Learning of Parts and Appearances in the Feature Maps of GANs

Recent advances in the understanding of Generative Adversarial Networks ...
research
10/18/2021

Boosting Image Outpainting with Semantic Layout Prediction

The objective of image outpainting is to extend image current border and...
research
01/31/2023

GANravel: User-Driven Direction Disentanglement in Generative Adversarial Networks

Generative adversarial networks (GANs) have many application areas inclu...
research
07/17/2022

GANzilla: User-Driven Direction Discovery in Generative Adversarial Networks

Generative Adversarial Network (GAN) is widely adopted in numerous appli...
research
03/13/2021

Unsupervised Image Transformation Learning via Generative Adversarial Networks

In this work, we study the image transformation problem by learning the ...
research
05/15/2019

3D Semantic Scene Completion from a Single Depth Image using Adversarial Training

We address the task of 3D semantic scene completion, i.e. , given a sing...

Please sign up or login with your details

Forgot password? Click here to reset