Which Style Makes Me Attractive? Interpretable Control Discovery and Counterfactual Explanation on StyleGAN

Bo Li, Qiulin Wang, Jiquan Pei, Yu Yang, Xiangyang Ji
1/24/2022
cs.CVcs.AIcs.LG

Official code: prclibo/ice (16 stars, Jupyter Notebook, PyTorch, last commit 2022-01-05).

Abstract

The semantically disentangled latent subspace in GAN provides rich interpretable controls in image generation. This paper includes two contributions on semantic latent subspace analysis in the scenario of face generation using StyleGAN2.

Show full abstract

First, we propose a novel approach to disentangle latent subspace semantics by exploiting existing face analysis models, e.g., face parsers and face landmark detectors. These models provide the flexibility to construct various criterions with very concrete and interpretable semantic meanings (e.g., change face shape or change skin color) to restrict latent subspace disentanglement. Rich latent space controls unknown previously can be discovered using the constructed criterions. Second, we propose a new perspective to explain the behavior of a CNN classifier by generating counterfactuals in the interpretable latent subspaces we discovered. This explanation helps reveal whether the classifier learns semantics as intended. Experiments on various disentanglement criterions demonstrate the effectiveness of our approach. We believe this approach contributes to both areas of image manipulation and counterfactual explainability of CNNs. The code is available at \url{https://github.com/prclibo/ice}.

View on arXivView PDF

Code Implementations(1)

prclibo/iceOfficial100%
PyTorch

Interpretable Control Exploration and Counterfactual Explanation (ICE) on StyleGAN

169Jupyter Notebook, PythonNov 25, 20214 years agoNOASSERTION
counterfactual-explanationsexplainabilityexplainable-aiexplainable-artificial-intelligenceexplainable-machine-learning+10 more

Similar Papers

Cite this paper

@article{li2022which,
  title  = {Which Style Makes Me Attractive? Interpretable Control Discovery and Counterfactual Explanation on StyleGAN},
  author = {Bo Li and Qiulin Wang and Jiquan Pei and Yu Yang and Xiangyang Ji},
  year   = {2022},
  eprint = {2201.09689},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.09689}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.09689.svg)](https://codeofpaper.com/paper/2201.09689)

Discussion