Abstract
Conditional Generative Adversarial Networks (cGANs) for image attribute editing generally rely on precise, absolute annotations. However, obtaining such labels for subjective traits like age or attractiveness is challenging and prone to significant inter-annotator disagreement. We introduce PC-GAN, a framework designed to train cGANs using only "weak" pairwise comparisons. By integrating a Bayesian Elo rating system to estimate attribute intensities and their associated uncertainties, PC-GAN achieves competitive performance with fully supervised models while demonstrating significant robustness to noisy feedback.
Introduction
Image attribute editing via cGANs has seen remarkable success, yet the dependency on massive datasets with absolute labels (e.g., exact age) remains a major bottleneck. Humans are often better at making relative comparisons—identifying which of two images displays more of an attribute—than providing absolute values. PC-GAN addresses this by bridging the gap between relative signals and generative modeling, allowing for high-quality synthesis without expensive ground-truth labels.
Methods
The PC-GAN framework consists of a two-stage pipeline designed to handle the transition from relative comparisons to continuous attribute control.
1. Attribute Rating Network
The first stage employs a Bayesian Siamese network inspired by the Elo rating system used in competitive gaming. It processes pairs of images to learn a scalar "rating" for the target attribute. Crucially, the model utilizes Bayesian neural networks (approximated via dropout) to estimate both aleatoric and epistemic uncertainty. This allows the system to distinguish between inherent data noise and areas where data is sparse, leading to a characteristic "U-shaped" uncertainty curve where the model is most certain at attribute extremes.
2. Pairwise Comparison GAN (PC-GAN)
The second stage is a conditional GAN that uses the learned ratings as conditioning signals. To ensure robustness, the model incorporates a "corrupted" label training strategy, forcing the generator to produce high-quality images even when the discriminator receives noisy ratings. A mutual information maximization loss is also employed to ensure the generated image's attribute intensity matches the requested rating.
Results and Discussion
PC-GAN was evaluated on diverse datasets including MNIST (stroke thickness), CACD and UTKFace (age), and CelebA (attractiveness).
Quantitative Performance
In classification accuracy tests on synthesized images, PC-GAN achieved an average rank of 1.67, significantly outperforming unsupervised baselines like CycleGAN (5.67) and BiGAN (5.33). Human validation via Amazon Mechanical Turk (AMT) further confirmed that the quality of images generated by PC-GAN is nearly indistinguishable from those produced by fully supervised models.
Qualitative Smoothness
The model produces exceptionally smooth attribute transitions. In age editing tasks, it naturally learns to introduce complex features like receding hairlines and smile lines as the conditioning rating increases, despite the lack of explicit feature labels or definitions of wrinkles.
Conclusion
PC-GAN demonstrates that relative comparisons are a powerful and efficient alternative to absolute labels for training conditional generative models. By explicitly modeling uncertainty and employing noise-tolerant training, the framework provides a robust solution for subjective image editing tasks where precise ground truth is unavailable. Future work will explore extending this Elo-based system to multi-dimensional or categorical traits.
Summary updated