Skip to main content
QUICK REVIEW

[Paper Review] GeneGAN: Learning Object Transfiguration and Attribute Subspace from Unpaired Data

Shuchang Zhou, Taihong Xiao|arXiv (Cornell University)|May 14, 2017
Generative Adversarial Networks and Image SynthesisComputer Science22 references49 citations
TL;DR

GeneGAN proposes a deterministic generative model that learns disentangled object attribute subspaces from unpaired, weakly labeled data—using only 0/1 labels indicating presence/absence of attributes like eyeglasses or smiles. By leveraging adversarial training and cyclic reconstruction, it enables precise object transfiguration, such as swapping eyeglasses between faces, even without paired images or explicit object segmentation.

ABSTRACT

Object Transfiguration replaces an object in an image with another object from a second image. For example it can perform tasks like "putting exactly those eyeglasses from image A on the nose of the person in image B". Usage of exemplar images allows more precise specification of desired modifications and improves the diversity of conditional image generation. However, previous methods that rely on feature space operations, require paired data and/or appearance models for training or disentangling objects from background. In this work, we propose a model that can learn object transfiguration from two unpaired sets of images: one set containing images that "have" that kind of object, and the other set being the opposite, with the mild constraint that the objects be located approximately at the same place. For example, the training data can be one set of reference face images that have eyeglasses, and another set of images that have not, both of which spatially aligned by face landmarks. Despite the weak 0/1 labels, our model can learn an "eyeglasses" subspace that contain multiple representatives of different types of glasses. Consequently, we can perform fine-grained control of generated images, like swapping the glasses in two images by swapping the projected components in the "eyeglasses" subspace, to create novel images of people wearing eyeglasses. Overall, our deterministic generative model learns disentangled attribute subspaces from weakly labeled data by adversarial training. Experiments on CelebA and Multi-PIE datasets validate the effectiveness of the proposed model on real world data, in generating images with specified eyeglasses, smiling, hair styles, and lighting conditions etc. The code is available online.

Motivation & Objective

  • Address the challenge of object transfiguration without requiring paired training data or explicit object segmentation.
  • Enable fine-grained control over image generation using exemplar images to specify desired attributes like eyeglasses or facial expressions.
  • Learn disentangled attribute subspaces from weakly supervised data (0/1 labels) to support diverse and realistic image manipulations.
  • Develop a symmetric, stable training framework using cyclic reconstruction loss to improve generative model training without requiring invertible mappings.

Proposed method

  • Train a conditional generative model with an encoder-decoder architecture that disentangles background features from object-specific features.
  • Use adversarial training to ensure realistic image reconstruction and generation, with a cyclic consistency loss to stabilize training.
  • Leverage spatial alignment via landmarks (e.g., face landmarks) to align images across two unpaired datasets—one with the attribute (e.g., glasses), one without.
  • Project object features into a learned attribute subspace that supports interpolation, scaling, and swapping of attributes across images.
  • Enable object transfiguration by replacing the object feature vector in the decoder while keeping the background feature fixed.
  • Use a linear feature space assumption to perform operations like feature addition or swapping in the latent space for natural-looking edits.

Experimental results

Research questions

  • RQ1Can a generative model learn disentangled attribute subspaces from unpaired, weakly labeled data without paired images or explicit segmentation?
  • RQ2Can object transfiguration be achieved with only 0/1 labels indicating attribute presence, using a symmetric training objective?
  • RQ3Can the model generalize to unseen data and perform realistic attribute swapping (e.g., eyeglasses, hair style, lighting) across identities?
  • RQ4Does the learned attribute subspace support meaningful interpolation and manipulation of attributes without artifacts?
  • RQ5How does the model compare to GANs with cyclic losses in terms of reconstruction quality and attribute consistency?

Key findings

  • GeneGAN successfully learns an 'eyeglasses' attribute subspace from unpaired data, enabling precise swapping of eyeglasses between faces without paired examples.
  • The model generalizes well to unseen data, as demonstrated on the Wider Face dataset, where it produces realistic edits despite less constrained environments.
  • Interpolation within the learned attribute subspace produces natural transitions between different hair styles and facial attributes, confirming disentanglement.
  • GeneGAN outperforms DiscoGAN in reconstruction consistency and attribute fidelity, with minimal artifacts and better preservation of identity and background.
  • The cyclic reconstruction loss improves training stability and enables symmetric learning, even when source and target domains have different intrinsic dimensions.
  • Object transfiguration via feature swapping produces high-quality, realistic images, with results showing strong alignment to source attribute styles (e.g., hair direction, smile intensity).

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.