NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Variational learning across domains with triplet information

Rita KuznetsovaOpenReview 2022

TL;DR

This paper introduces the Variational Bi-domain Triplet Autoencoder (VBTA), a novel deep generative model that learns a joint distribution across different data domains. By incorporating probabilistic triplet constraints from a shared latent space, VBTA improves performance on tasks like image translation and cross-lingual classification, demonstrating the power of combining generative and metric learning approaches.

What Problem Does This Paper Address?

The core challenge this paper tackles is how to effectively leverage data from one domain to build models for another, especially when direct paired data is scarce. Traditional deep generative models often struggle to bridge these domain gaps. The authors aim to create a model that can learn a shared representation space for objects from different domains, enabling tasks like translating images from one style to another or classifying documents in one language using a model trained on another. This is particularly relevant for scenarios where collecting perfectly aligned cross-domain data is difficult or impossible.

Methods

The proposed method, Variational Bi-domain Triplet Autoencoder (VBTA), extends the variational autoencoder (VAE) framework. The key innovation lies in learning a joint distribution of objects from different domains (X and Y) by introducing a shared latent space. This shared space is regularized using probabilistic triplet constraints. Specifically, the model samples triplets of objects from this shared latent space and uses their relative distances to inform the learning objective. This effectively combines deep generative modeling with metric learning principles. The VBTA's objective function includes terms for reconstruction, cycle-consistency, and a novel "triplet likelihood" that encourages similar objects from different domains to be closer in the latent space. The authors also propose a negative sampling method for selecting triplets unsupervised during training.

Datasets

The paper evaluates VBTA on several datasets:

  • MNIST: Used for image-to-image translation, specifically transposing MNIST digits.
  • CelebA: Used for bi-directional image generation, treating faces of men and women as distinct domains.
  • RCV1/RCV2 Corpora: Used for cross-lingual document classification, pairing English and German documents based on topics rather than direct translation.

Key Insights and Ideas

  • Bridging Domains with Shared Latent Space: The central idea is that a well-learned shared latent space can capture commonalities between different domains, enabling cross-domain transfer.
  • Triplets for Metric Learning: Incorporating triplet constraints directly into the generative model's objective function is a powerful way to enforce desired relationships (e.g., similarity) in the latent space, going beyond simple reconstruction.
  • Unsupervised Triplet Sampling: The ability to sample triplets in an unsupervised manner from the shared latent space is crucial for making the triplet information useful without requiring explicit labels or paired data.
  • Cycle-Consistency as a Foundation: The underlying assumption of cycle-consistency (reconstructing an object after encoding and decoding through both domains) provides a robust framework for learning these cross-domain mappings.

Key Results

The VBTA model demonstrated strong performance across various tasks:

  • Image-to-Image Translation (MNIST-transpose): VBTA achieved competitive classification accuracy, outperforming models like DiscoGAN and Triple GAN in some configurations, reaching up to 90.44% accuracy with 100 triplet samples.
  • Bi-directional Image Generation (CelebA): The model successfully generated realistic and similar faces for both male and female domains from a single latent space sample, showcasing its ability to capture domain-specific characteristics while maintaining cross-domain coherence.
  • Cross-Lingual Document Classification: VBTA achieved state-of-the-art results, reaching 94.3% accuracy for English-to-German classification and 82.8% for German-to-English, significantly outperforming previous methods that often relied on parallel corpora.

Limitations and Future Work

  • Assumptions: The model relies on the assumption that objects from different domains are generated independently by the same latent variable and that for each pair (x, y), a shared latent space variable z exists from which both can be reconstructed. This assumption might not hold for all domain pairs.
  • Triplet Sampling Strategy: While unsupervised sampling is a strength, the paper mentions a "negative sampling method" without detailing its specifics, which could be an area for further exploration.
  • Future Work: The paper implicitly suggests that exploring different triplet sampling strategies and applying the VBTA to a wider range of cross-domain tasks would be valuable future directions. The authors also mention that the model's performance is demonstrated on specific tasks, implying that further validation on diverse datasets and problem types would be beneficial.

Summary updated

BibTeX
@misc{kuznetsova2022variational,
  author = {Rita Kuznetsova},
  title = {{Variational learning across domains with triplet information}},
  year = {2022},
  url = {https://openreview.net/forum?id=a5yF_lhJIu2},
  howpublished = {OpenReview},
}
Figure