Unsupervised Panoptic Interpretation of Latent Spaces in GANs Using Space-Filling Vector Quantization

Mohammad Hassan Vali, Tom Bäckström
10/27/2024
cs.CVcs.AIcs.LG

No official code found. Best implementation: MHVali/Interpretable-GANs-by-SFVQ (0 stars, MIT, last commit 2026-03-16).

Abstract

Generative adversarial networks (GANs) learn a latent space whose samples can be mapped to real-world images. Such latent spaces are difficult to interpret. Some earlier supervised methods aim to create an interpretable latent space or discover interpretable directions, which requires exploiting data labels or annotated synthesized samples for training. However, we propose using a modification of vector quantization called space-filling vector quantization (SFVQ), which quantizes the data on a piece-wise linear curve. SFVQ can capture the underlying morphological structure of the latent space, making it interpretable. We apply this technique to model the latent space of pre-trained StyleGAN2 and BigGAN networks on various datasets. Our experiments show that the SFVQ curve yields a general interpretable model of the latent space such that it determines which parts of the latent space correspond to specific generative factors. Furthermore, we demonstrate that each line of the SFVQ curve can potentially refer to an interpretable direction for applying intelligible image transformations. We also demonstrate that the points located on an SFVQ line can be used for controllable data augmentation.

View on arXivView PDF

Code Implementations(1)

MIT
00PythonOct 27, 20247 months agoMIT

Similar Papers

Cite this paper

@article{vali2024unsupervised,
  title  = {Unsupervised Panoptic Interpretation of Latent Spaces in GANs Using Space-Filling Vector Quantization},
  author = {Mohammad Hassan Vali and Tom Bäckström},
  year   = {2024},
  eprint = {2410.20573},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.20573v2}
}

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/2410.20573.svg)](https://codeofpaper.com/paper/2410.20573)

Discussion