Assembling Semantically-Disentangled Representations for Predictive-Generative Models via Adaptation from Synthetic Domain

Burkay Donderici, Caleb New, Chenliang XuarXiv 2020

Abstract

Deep neural networks can form high-level hierarchical representations of input data. Various researchers have demonstrated that these representations can be used to enable a variety of useful applications. However, such representations are typically based on the statistics within the data, and may not conform with the semantic representation that may be necessitated by the application. Conditional models are typically used to overcome this challenge, but they require large annotated datasets which are difficult to come by and costly to create. In this paper, we show that semantically-aligned representations can be generated instead with the help of a physics based engine. This is accomplished by creating a synthetic dataset with decoupled attributes, learning an encoder for the synthetic dataset, and augmenting prescribed attributes from the synthetic domain with attributes from the real domain. It is shown that the proposed (SYNTH-VAE-GAN) method can construct a conditional predictive-generative model of human face attributes without relying on real data labels.

Introduction

Deep learning models are notoriously "statistically greedy." In standard datasets, features often co-occur—for instance, a dataset might have a high correlation between blonde hair and blue eyes. A standard model will typically conflate these features into a single latent variable, a phenomenon known as entanglement. This makes it difficult to gain independent control over specific features for generative tasks.

Illustration of statistical entanglement (Z1) versus semantic disentanglement (Z1', Z2').

To achieve independent control over specific features (semantic disentanglement), researchers typically turn to conditional models. However, these require massive, accurately labeled datasets, which are expensive and time-consuming to produce. While unsupervised methods like $\beta$-VAE attempt to discover factors of variation without labels, they often fail to align these factors with human-understandable concepts. This paper introduces SYNTH-VAE-GAN, a framework that leverages synthetic data from physics-based engines to achieve semantic disentanglement in real-world images without requiring manual labeling of the real data.

Methodology

The proposed approach utilizes a two-step "Synthetic-to-Real" adaptation process to bridge the gap between perfectly labeled synthetic data and unlabeled real-world imagery.

Synthetic Domain Training

The researchers use the MakeHuman physics-based 3D modeling engine to generate 500,000 face images. Because the engine parameters are controlled, the attributes are perfectly decoupled and "whitened" (uniformly distributed). A Synthetic Image Encoder is trained to map these images back to their known parameters, establishing a baseline for semantic understanding.

SYNTH-VAE-GAN Architecture

To adapt this knowledge to real-world images (such as the Celeb-A dataset), a hybrid VAE-GAN architecture is employed. The latent space is partitioned into two distinct components:

  1. Domain Adapted Code ($z_{da}$): Attributes inherited from the synthetic encoder, such as yaw, smile, and beard.
  2. Real Domain Code ($z_r$): A residual encoder that learns features unique to real images that the synthetic engine might miss, such as specific lighting conditions or skin textures.
The SYNTH-VAE-GAN architecture, showing the synthetic-to-real adaptation pipeline and regularization components.

Regularization Techniques

Two key regularizers are used to improve generalization across the domain gap:

  • Equalizing Regularization: Pixel-wise noise is injected during training to help the synthetic encoder generalize from clean 3D renders to noisy real photos.
  • Exploratory Regularization: Latent codes are randomly perturbed during training to ensure the decoder can handle the full range of possible attribute combinations, including rare or "improbable" pairings that standard models often suppress.

Key Results

The model was evaluated using the Celeb-A dataset, with its labels used strictly as a ground truth reference for evaluation rather than training.

  • Superior Disentanglement: SYNTH-VAE-GAN achieved a 5-fold improvement in disentanglement compared to standard unsupervised models. When the model was tasked with changing a "smile," it successfully isolated that feature without inadvertently shifting head pose or skin tone.
  • Correlation Reduction: The average absolute correlation between attributes in the latent space was reduced by 2x compared to traditional conditional VAE-GANs (0.22 vs 0.43).
  • Qualitative Success: The model demonstrated high-fidelity "transformative processing" on real images, accurately adding or removing features like smiles while preserving the subject's identity.

Conclusion

By treating physics engines as "perfect labelers," SYNTH-VAE-GAN provides a scalable path toward semantically-aligned representations. This approach allows for the creation of robust, controllable generative models without the prohibitive cost of manual data annotation. Future work will focus on narrowing the domain gap and extending this framework to other complex fields, such as robotics or medical imaging, where labels are even harder to obtain.

Summary updated

BibTeX
@misc{donderici2020assembling,
  author = {Burkay Donderici and Caleb New and Chenliang Xu},
  title = {{Assembling Semantically-Disentangled Representations for Predictive-Generative Models via Adaptation from Synthetic Domain}},
  year = {2020},
  eprint = {2002.09818},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.09818},
}
Figure