Skip to main content
QUICK REVIEW

[Paper Review] Ranking CGANs: Subjective Control over Semantic Image Attributes

Yassir Saquil, Kwang In Kim|arXiv (Cornell University)|Apr 11, 2018
Generative Adversarial Networks and Image SynthesisComputer Science50 references14 citations
TL;DR

RankCGAN is a novel conditional GAN architecture that enables subjective, continuous control over semantic image attributes using pairwise human comparisons. By introducing a ranking head alongside the discriminator, it learns to generate images along continuous subjective scales (e.g., 'sporty' or 'smiling') while maintaining image quality and disentangling multiple attributes, enabling applications like attribute editing and transfer with fine-grained control.

ABSTRACT

In this paper, we investigate the use of generative adversarial networks in the task of image generation according to subjective measures of semantic attributes. Unlike the standard (CGAN) that generates images from discrete categorical labels, our architecture handles both continuous and discrete scales. Given pairwise comparisons of images, our model, called RankCGAN, performs two tasks: it learns to rank images using a subjective measure; and it learns a generative model that can be controlled by that measure. RankCGAN associates each subjective measure of interest to a distinct dimension of some latent space. We perform experiments on UT-Zap50K, PubFig and OSR datasets and demonstrate that the model is expressive and diverse enough to conduct two-attribute exploration and image editing.

Motivation & Objective

  • To address the challenge of modeling subjective, continuous semantic attributes in image generation, which are ill-defined mathematically but commonly used in human perception.
  • To enable fine-grained, continuous control over image attributes (e.g., 'more sporty' or 'less smiling') rather than binary on/off control.
  • To train a generative model using only pairwise image comparisons, avoiding the need for global rankings or dense annotations.
  • To disentangle multiple semantic attributes in the latent space while preserving image quality and diversity.
  • To support practical applications such as attribute-based image editing and semantic attribute transfer.

Proposed method

  • Introduces RankCGAN, a conditional GAN with a dual-head architecture: a standard discriminator for real/fake classification and a ranking head for predicting subjective image orderings.
  • Uses pairwise human-labeled comparisons (e.g., 'Image A is more sporty than Image B') to train the ranking head, enabling the model to learn continuous subjective scales.
  • Decomposes the latent space into two parts: a random noise vector z for image diversity and a control variable r for subjective attribute strength.
  • Employs a shared generator that produces images conditioned on both z and r, allowing r to modulate attribute strength continuously.
  • Trains the model end-to-end using adversarial loss for the discriminator and ranking loss (e.g., pairwise margin loss) for the ranker.
  • Uses an encoder E_r to infer the subjective attribute strength r from real images, enabling downstream tasks like image editing and attribute transfer.

Experimental results

Research questions

  • RQ1Can a GAN-based model learn continuous, subjective representations of semantic attributes without requiring global rankings or dense annotations?
  • RQ2Can the model generate diverse and realistic images that vary smoothly along a subjective attribute scale (e.g., 'more stylish' or 'more masculine')?
  • RQ3Can multiple subjective attributes be disentangled and controlled independently in the latent space?
  • RQ4Can the model support practical applications like image editing and attribute transfer using only pairwise comparisons?
  • RQ5Does the addition of a ranking head improve control over attribute strength compared to standard CGANs?

Key findings

  • RankCGAN successfully learns continuous, disentangled representations of semantic attributes such as 'sporty' and 'masculine' across multiple datasets, including UT-Zap50K, PubFig, and OSR.
  • The model generates images that vary smoothly along the subjective attribute scale, with no abrupt changes, demonstrating effective control over attribute strength.
  • Image editing experiments show that varying only the attribute control variable r while keeping z constant produces plausible, perceptually meaningful transitions (e.g., less sporty or more smiling).
  • Attribute transfer tasks demonstrate that the model can extract the subjective strength of an attribute from a source image and apply it to a target image, even when the target is not neutral.
  • The model achieves strong performance with only pairwise comparison annotations, avoiding the need for global rankings or full attribute labeling.
  • Qualitative results show that generated images maintain high realism and diversity, and attribute progression is perceptually coherent across both one- and two-dimensional attribute spaces.

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.