Skip to main content
QUICK REVIEW

[Paper Review] PandA: Unsupervised Learning of Parts and Appearances in the Feature Maps of GANs

J. E. Oldfield, Christos Tzelepis|arXiv (Cornell University)|May 31, 2022
Generative Adversarial Networks and Image SynthesisComputer Science10 citations
TL;DR

PandA proposes an architecture-agnostic, unsupervised method for jointly discovering interpretable parts and appearance factors in the feature maps of pre-trained GANs using semi-nonnegative tensor factorization. It enables context-aware, pixel-level local image editing without supervision, achieving superior accuracy and 1/400th the training time of state-of-the-art methods.

ABSTRACT

Recent advances in the understanding of Generative Adversarial Networks (GANs) have led to remarkable progress in visual editing and synthesis tasks, capitalizing on the rich semantics that are embedded in the latent spaces of pre-trained GANs. However, existing methods are often tailored to specific GAN architectures and are limited to either discovering global semantic directions that do not facilitate localized control, or require some form of supervision through manually provided regions or segmentation masks. In this light, we present an architecture-agnostic approach that jointly discovers factors representing spatial parts and their appearances in an entirely unsupervised fashion. These factors are obtained by applying a semi-nonnegative tensor factorization on the feature maps, which in turn enables context-aware local image editing with pixel-level control. In addition, we show that the discovered appearance factors correspond to saliency maps that localize concepts of interest, without using any labels. Experiments on a wide range of GAN architectures and datasets show that, in comparison to the state of the art, our method is far more efficient in terms of training time and, most importantly, provides much more accurate localized control. Our code is available at: https://github.com/james-oldfield/PandA.

Motivation & Objective

  • To develop a general-purpose, architecture-agnostic method for interpreting and editing GAN-generated images without supervision.
  • To jointly discover spatial parts and their appearance factors in feature maps of pre-trained GANs in an unsupervised manner.
  • To enable precise, context-aware local image editing with pixel-level control, avoiding reliance on manual region annotations or segmentation masks.
  • To significantly reduce training time compared to existing gradient-based or optimization-heavy approaches.
  • To identify saliency maps for learned concepts without using any labels.

Proposed method

  • The method applies semi-nonnegative tensor factorization to a dataset of deep feature maps $\mathcal{Z} \in \mathbb{R}^{M \times H \times W \times C}$ from a pre-trained GAN.
  • It decomposes the feature maps into global parts factors and appearance factors through constrained optimization, enabling disentangled representation learning.
  • The parts factors are learned via alternating optimization, initialized using higher-order singular value decomposition (HOSVD) to improve convergence and interpretability.
  • Appearance factors are refined by gradient descent on a reconstruction loss, allowing them to correspond to salient, semantically meaningful patterns.
  • The method avoids expensive Jacobian or gradient computation per region, relying instead on a single, efficient factorization step.
  • The framework is compatible with diverse GAN architectures, including StyleGAN, ProgressiveGAN, and BigGAN, without architectural modifications.

Experimental results

Research questions

  • RQ1Can we discover interpretable parts and appearance factors in GAN feature maps without any human-annotated regions or segmentation masks?
  • RQ2Can we achieve pixel-level control for local image editing using only unsupervised feature map decomposition?
  • RQ3Does the proposed method significantly reduce training time compared to state-of-the-art methods requiring iterative optimization or gradient computation?
  • RQ4Do the discovered appearance factors correspond to meaningful saliency maps for concepts of interest without supervision?
  • RQ5Can the method generalize across diverse GAN architectures without architectural-specific tuning?

Key findings

  • PandA reduces training time to less than 1/400th of LowRankGAN and 1/170th of StyleSpace, demonstrating a major efficiency gain.
  • The method achieves more accurate localized image editing than SOTA methods, with no need for manual region annotation.
  • Appearance factors discovered by PandA correspond to meaningful saliency maps for concepts such as 'background' or 'skin', even without labels.
  • The parts factors remain stable and semantically interpretable across different ranks and training iterations, indicating robustness.
  • The method successfully discovers common concepts like 'background' across all tested GAN architectures, including StyleGAN1, StyleGAN2, StyleGAN3, and ProgressiveGAN.
  • The use of HOSVD initialization improves convergence and leads to more interpretable initial factors compared to SVD-based alternatives.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.