Variational methods for conditional multimodal deep learning.

Gaurav Pandey, Ambedkar DukkipatiIJCNN 2017

TL;DR

This paper introduces the Conditional Multimodal Autoencoder (CMMA), a novel deep learning model designed for generating one modality (e.g., an image) given another (e.g., attributes). CMMA excels at conditional generation by explicitly learning conditional distributions between modalities, outperforming existing methods like CGAN and CVAE in both generating realistic faces from attributes and modifying existing faces based on attribute changes.

What Problem Does This Paper Address?

The paper tackles the challenge of conditional modality learning, where the goal is to generate data from one modality (like an image) based on information from another modality (like textual descriptions or attributes). While learning a joint distribution across multiple modalities is common in deep learning, existing models often struggle with effective conditional generation. This means they might learn to represent the data well, but fail to accurately produce one modality when conditioned on another. The authors highlight that this is particularly problematic when the task requires generating specific outputs based on specific inputs, such as creating a face that precisely matches a given set of attributes.

Methods

The core contribution is the Conditional Multimodal Autoencoder (CMMA). Unlike models that learn a single joint distribution, CMMA focuses on learning conditional distributions between modalities. It employs variational methods to maximize the conditional log-likelihood. A key innovation is forcing the latent representation derived from a single modality to be "close" to the joint representation derived from multiple modalities. This is achieved through a variational lower bound that includes a reconstruction error term and a KL-divergence term. The KL-divergence explicitly encourages the latent representation of the conditioning modality to be similar to the latent representation of the generated modality, conditioned on both. The model uses a reparameterization trick for efficient training with gradient-based methods.

Datasets

The primary dataset used for experiments is the Labeled Faces in the Wild (LFW) dataset. This dataset consists of cropped face images and associated attributes. The authors used a subset of 13,233 faces with 73 attributes for training and validation, noting that it's a challenging dataset due to many individuals having only one image and unique attribute combinations.

Key Insights and Ideas

  • Conditional Distributions are Key: The paper argues that directly learning conditional distributions is more effective for conditional generation than solely relying on joint distributions.
  • "Closeness" in Latent Space: CMMA's innovation lies in explicitly enforcing that the latent representation of the conditioning modality is "close" to the joint latent representation. This is crucial for accurate attribute-based generation.
  • KL-Divergence for Alignment: The KL-divergence term in the variational bound acts as a mechanism to align latent representations across modalities, directly addressing the conditional generation problem.
  • Flexibility for Modification: CMMA's architecture allows for modifying existing faces by changing attributes, a capability lacking in unidirectional models like CGAN.

Key Results

  • Quantitative Performance: CMMA achieved a better conditional log-likelihood on the LFW dataset compared to CVAE and CGAN, indicating superior performance in generating faces given attributes.
  • Qualitative Generation: Faces generated by CMMA from attributes were found to be more representative of those attributes than those generated by CVAE and CGAN. Changes in attributes (e.g., "mouth open," "spectacles") were clearly reflected in CMMA-generated faces.
  • Face Modification: CMMA demonstrated a strong ability to modify existing faces by changing attributes, such as adding spectacles or changing nose shape, with these modifications being clearly visible and representative of the attribute changes. CVAE showed some ability, but CGAN was not suitable for this task.

Limitations and Future Work

  • Computational Cost: Training the models, including CMMA, CGAN, and CVAE, took approximately one day on a Tesla K40 GPU for 500 iterations.
  • Hyperparameter Sensitivity: The paper notes that CGAN was found to be quite unstable to the selection of hyperparameters, requiring careful tuning.
  • Future Work: The authors express a desire to explore the applicability of CMMA for other tasks where modalities need to be conditioned and generated, such as text translation or speech transliteration. They also suggest exploring the model's use in problems involving missing attributes.

Summary updated

BibTeX
@inproceedings{pandey2017variational,
  author = {Gaurav Pandey and Ambedkar Dukkipati},
  title = {{Variational methods for conditional multimodal deep learning.}},
  booktitle = {IJCNN},
  year = {2017},
  url = {https://openreview.net/forum?id=CzVIOUpIwe9},
}
Figure