Abstract
Disentangled generative models map a latent code vector to a target space, while enforcing that a subset of the learned latent codes are interpretable and associated with distinct properties of the target distribution. Recent advances have been dominated by Variational AutoEncoder (VAE)-based methods, while training disentangled generative adversarial networks (GANs) remains challenging. In this work, we show that the dominant challenges facing disentangled GANs can be mitigated through the use of self-supervision. We make two main contributions: first, we design a novel approach for training disentangled GANs with self-supervision. We propose contrastive regularizer, which is inspired by a natural notion of disentanglement: latent traversal. This achieves higher disentanglement scores than state-of-the-art VAE- and GAN-based approaches. Second, we propose an unsupervised model selection scheme called ModelCentrality, which uses generated synthetic samples to compute the medoid of a collection of models. Combining contrastive regularization with ModelCentrality, we improve upon the state-of-the-art disentanglement scores significantly, without accessing the supervised data.
Introduction
In the field of representation learning, disentanglement is the goal of separating independent factors of variation in data—such as an object's rotation, color, or scale—into distinct latent variables. Historically, Variational Autoencoders (VAEs) have been the preferred architecture for this task. While Generative Adversarial Networks (GANs) produce higher-quality images, they have struggled to achieve reliable disentanglement.
Furthermore, most disentanglement research relies on supervised model selection, where researchers pick the best model from a large pool using ground-truth labels. Since these labels are rarely available in real-world scenarios, this practice limits the utility of current methods. This paper introduces InfoGAN-CR and ModelCentrality to address both the training and selection challenges.
InfoGAN-CR: Self-Supervised Training
The authors propose a new training objective called the Contrastive Regularizer (CR). This method is built on the intuition of "latent traversal": if a single latent code is modified while others are fixed, the resulting change in the image should be both noticeable and unique to that specific code.
As illustrated in the architecture above, the generator $G$ produces pairs of images where only one latent factor is shared. A dedicated "CR discriminator" ($H$) is then tasked with identifying which specific factor was held constant. This self-supervised signal forces the generator to map each latent code to a distinct, non-overlapping aspect of the image, significantly improving disentanglement stability.
ModelCentrality: Unsupervised Model Selection
To eliminate the need for ground-truth labels during model selection, the researchers developed ModelCentrality. This unsupervised scheme operates on a "consensus" principle: models that successfully capture the underlying structure of the data will tend to converge toward similar representations, while poorly trained models fail in unique, idiosyncratic ways.
By treating a pool of trained models as "pseudo-ground truths" for one another, the algorithm calculates a similarity matrix and identifies the medoid—the most "central" or representative model in the group. This approach allows for the selection of high-performing models without any external supervision.
Key Results and Evaluation
The framework was tested on several benchmarks, including dSprites (2D shapes) and CelebA (faces).
Key findings include:
- Superior Performance: InfoGAN-CR achieved a FactorVAE score of 0.88 on dSprites, outperforming top VAE-based baselines.
- Effective Selection: ModelCentrality selected models nearly as good as those chosen with ground-truth labels, outperforming previous unsupervised methods like UDR.
- Visual Fidelity: On the CelebA dataset, the model successfully separated complex factors like hair color, azimuth, and lighting while maintaining the sharp image quality characteristic of GANs.
Conclusion
By leveraging self-supervision for both training (InfoGAN-CR) and model selection (ModelCentrality), this work levels the playing field for GANs in disentangled representation learning. These techniques provide a robust, label-free framework for learning interpretable data representations in practical applications.
Summary updated