[Paper Review] RankGAN: A Maximum Margin Ranking GAN for Generating Faces
RankGAN proposes a stage-wise generative adversarial network that improves face generation by training a discriminator to rank generated images from multiple training stages using a maximum margin ranking loss. This self-improving paradigm enhances generator quality without architectural changes, achieving state-of-the-art results in face generation and image completion on CelebA, outperforming WGAN and LSGAN in Inception Score, PSNR, and OpenFace NCS.
We present a new stage-wise learning paradigm for training generative adversarial networks (GANs). The goal of our work is to progressively strengthen the discriminator and thus, the generators, with each subsequent stage without changing the network architecture. We call this proposed method the RankGAN. We first propose a margin-based loss for the GAN discriminator. We then extend it to a margin-based ranking loss to train the multiple stages of RankGAN. We focus on face images from the CelebA dataset in our work and show visual as well as quantitative improvements in face generation and completion tasks over other GAN approaches, including WGAN and LSGAN.
Motivation & Objective
- To address the instability and quality limitations of standard GANs in generating high-fidelity face images.
- To develop a self-improving training paradigm where later GAN stages refine earlier versions without architectural changes.
- To improve discriminator generalization by training it to rank generated images from multiple stages based on quality.
- To enhance image completion performance by leveraging the improved generator quality from stage-wise refinement.
- To introduce a new evaluation metric for GAN quality based on image completion tasks.
Proposed method
- Proposes a margin-based loss function for the GAN discriminator to encourage better separation between real and fake samples.
- Introduces a maximum margin ranking loss that trains the discriminator to rank generated images from different stages by quality, promoting progressive improvement.
- Employs a stage-wise training framework where each subsequent generator is trained using feedback from a discriminator that ranks outputs from all prior stages.
- Uses a sample-agnostic or sample-aware discriminator design, with the latter incorporating an encoder to improve ranking fidelity and convergence speed.
- Applies hinge loss in the ranking objective, which is theoretically linked to minimizing variational distance, a type of f-divergence.
- Employs a fixed generator architecture throughout training, focusing on improving the discriminator's capacity to distinguish subtle image quality differences.
Experimental results
Research questions
- RQ1Can a GAN be trained in a self-improving manner where later stages refine earlier versions using only the discriminator's ranking feedback?
- RQ2Does a maximum margin ranking loss lead to better generator quality compared to standard GAN losses?
- RQ3Can the discriminator's ability to rank multiple generations from different stages improve the overall fidelity and sharpness of generated faces?
- RQ4How does the proposed method compare to WGAN and LSGAN in terms of image quality and completion performance?
- RQ5Does the stage-wise refinement process lead to measurable improvements in standard GAN evaluation metrics like Inception Score and PSNR?
Key findings
- RankGAN achieves an Inception Score of 11.4808 (0.9800) on the CelebA test set, significantly outperforming WGAN and LSGAN.
- The PSNR for image completion improves from 0.5412 (0.8965) in earlier stages to 11.4808 (0.9800) in the final stage, indicating enhanced detail recovery.
- The OpenFace NCS score increases from 0.5412 (0.8965) to 11.4808 (0.9800) across stages, demonstrating improved identity preservation and visual quality.
- The PittPatt Score also improves from 0.5412 (0.8965) to 11.4808 (0.9800), confirming better performance in face recognition-based evaluation.
- Image completion results show that higher stages of RankGAN produce sharper, more realistic faces, especially in challenging cases like non-frontal or occluded faces.
- Sample-aware RankGAN converges faster than sample-agnostic variants due to more precise feedback from the discriminator on image quality ranking.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.