Joint Wasserstein Distribution Matching

Jiezhang Cao, Langyuan Mo, Qing Du, Yong Guo, Peilin Zhao, Junzhou Huang, Mingkui TanarXiv 2020

Abstract

Joint distribution matching (JDM) aims to learn bidirectional mappings to match joint distributions of two domains, a task central to many machine learning applications. However, JDM is challenging due to the difficulty of exploiting sufficient information from joint distributions and the complexity of the resulting optimization problems. In this paper, we propose Joint Wasserstein Distribution Matching (JWDM), which minimizes the Wasserstein distance between joint distributions. We introduce a theorem that reduces this intractable problem into a simple optimization of auto-encoder reconstruction losses. Experiments in unsupervised image translation and cross-domain video synthesis demonstrate that JWDM significantly outperforms current state-of-the-art methods.

Introduction

In tasks like unsupervised image-to-image translation (e.g., converting a summer photo into a winter one without paired examples), the goal is to learn a mapping between two domains. Most existing methods, such as CycleGAN, focus on matching marginal distributions—ensuring the output looks like it belongs to the target domain.

However, matching marginals is an "ill-posed" problem because infinitely many mappings can satisfy the condition. This often leads to a "distribution mismatch" where the model fails to capture the deep correlations between domains, resulting in blurry images or lost structural information. The ideal solution is to match joint distributions, but doing so directly using metrics like Wasserstein distance is traditionally a computational nightmare due to intractable optimization costs.

Methodology

The authors propose JWDM, which relies on two key pillars:

  1. Optimal Transport (OT) Theory: They use Wasserstein distance to measure the divergence between joint distributions, which naturally exploits the geometric information and correlations between domains.
  2. Problem Equivalence Theorem: This is the paper's core theoretical contribution. The authors prove that the intractable primal problem of minimizing Wasserstein distance between joint distributions can be reduced to a much simpler task: minimizing the reconstruction losses of two auto-encoders ($G_1 \circ E_1$ and $G_2 \circ E_2$) while enforcing that their latent and output distributions match the target domains.

Practically, the model uses bidirectional mappings ($f: \mathcal{X} \to \mathcal{Y}$ and $g: \mathcal{Y} \to \mathcal{X}$) and employs GAN-style discriminators to ensure that generated images and latent codes follow the correct distributions.

The JWDM training and testing scheme for image translation and video synthesis.

Experiments and Results

The model was evaluated on two major benchmarks: Cityscapes (real-world street scenes) and SYNTHIA (synthetic urban videos across seasons). JWDM consistently outperformed baseline methods like CoGAN, CycleGAN, UNIT, and AGGAN across all tasks.

In image translation, JWDM achieved a Frechet Inception Distance (FID) of 21.89 on the Cityscapes scene2segmentation task, significantly better than the next best baseline, UNIT, which scored 65.89. Lower FID indicates higher quality and more realistic images. Qualitative results confirm this, showing that JWDM produces much sharper object boundaries compared to the often-blurry outputs of competitors.

Quantitative comparison of JWDM against state-of-the-art methods on Cityscapes and SYNTHIA datasets.

For video synthesis, JWDM effectively aligns the latent spaces of both domains, enabling high-quality interpolation. It achieved the best FID4Video scores (e.g., 14.14 for winter2fall), proving it maintains better temporal consistency and visual quality during frame interpolation than specialized video translation models.

Discussion and Conclusion

The paper demonstrates that matching joint distributions is fundamentally superior to matching marginals because it forces the model to learn cross-domain correlations. The realization that complex distribution matching can be solved via auto-encoder reconstruction is a powerful simplification that bridges the gap between high-level Optimal Transport theory and practical deep learning.

A current limitation is the sensitivity to the trade-off hyperparameter $\lambda_z$, which controls the adversarial loss in the latent space. Future work could involve exploring more sophisticated cost functions or applying this joint matching framework to other multi-modal generative tasks where shared latent structures are more complex.

Summary updated

BibTeX
@misc{cao2020joint,
  author = {Jiezhang Cao and Langyuan Mo and Qing Du and Yong Guo and Peilin Zhao and Junzhou Huang and Mingkui Tan},
  title = {{Joint Wasserstein Distribution Matching}},
  year = {2020},
  eprint = {2003.00389},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.00389},
}
Figure