Generative Autotransporters

Jiqing Wu, Zhiwu Huang, Wen Li, Luc Van Gool

Abstract

In generative modeling, the Wasserstein distance (WD) has emerged as a useful metric to measure the discrepancy between generated and real data distributions. Unfortunately, it is challenging to approximate the WD of high-dimensional distributions. In contrast, the sliced Wasserstein distance (SWD) factorizes high-dimensional distributions into their multiple one-dimensional marginal distributions and is thus easier to approximate. In this paper, we introduce novel approximations of the primal and dual SWD. Instead of using a large number of random projections, as it is done by conventional SWD approximation methods, we propose to approximate SWDs with a small number of parameterized orthogonal projections in an end-to-end deep learning fashion. As concrete applications of our SWD approximations, we design two types of differentiable SWD blocks to equip modern generative frameworks—Auto-Encoders (AE) and Generative Adversarial Networks (GAN). In the experiments, we not only show the superiority of the proposed generative models on standard image synthesis benchmarks, but also demonstrate the state-of-the-art performance on challenging high resolution image and video generation in an unsupervised manner.

Introduction

Generative modeling has long been dominated by two primary paradigms: Variational Autoencoders (VAEs) and Generative Adversarial Networks (GANs). While powerful, both frameworks possess inherent weaknesses. VAEs typically rely on rigid Gaussian assumptions that can restrict their ability to model the intricate manifolds of high-dimensional data. Conversely, GANs are notoriously unstable, requiring a delicate "min-max" adversarial game between a generator and a discriminator that often leads to mode collapse or training divergence.

To address these challenges, researchers have turned to Optimal Transport (OT) theory, specifically the Wasserstein distance, as a mathematically grounded metric for distribution matching. However, calculating the WD in high dimensions is computationally prohibitive. This paper introduces Generative Autotransporters (GAT), a framework that leverages the Sliced Wasserstein Distance (SWD) to bridge the gap between the stability of autoencoders and the generative power of OT.

The Generative Autotransporter Architecture

The core innovation of GAT is the replacement of the traditional "black box" encoder with a learnable, geometrically constrained component called the Transporter. Unlike standard encoders that map data to a latent space through unconstrained non-linearities, the Transporter uses a sequence of Radon optimal transport blocks.

Comparison of generative architectures: (a) Variational Autoencoders, (b) Generative Adversarial Nets, and (c) the proposed Generative Autotransporters.

These blocks project high-dimensional data onto one-dimensional axes using the Radon Transform. In one dimension, the optimal transport problem becomes trivial to solve via histogram matching. To make this process compatible with deep learning, the authors developed a "soft-assignment" strategy for differentiable histogram estimation, allowing gradients to flow through the binning process during backpropagation.

Optimization and Stability

A key requirement for the Transporter is that its projection axes remain orthogonal. To maintain this constraint during training, the authors generalized the Adam optimizer to operate on Stiefel manifolds. This approach utilizes Riemannian geometry—specifically parallel transport and QR-based retraction—to ensure that weight updates keep the parameters on the manifold.

Because the Transporter explicitly aligns the source and target distributions, GAT bypasses the need for a complex discriminator. Instead, it can be trained using a simple $l_1$ reconstruction loss. Crucially, in GAT, this loss correlates directly with visual quality; as the loss decreases, image fidelity visibly improves, providing a level of training transparency that GANs lack.

Experimental Results

The GAT model was evaluated on standard benchmarks, including CelebA and CIFAR-10. On the CelebA dataset, GAT produced high-quality facial images with fine details such as skin texture and accessories, rivaling state-of-the-art models like BEGAN.

Beyond standard generation, the model demonstrated impressive "real-to-real" transfer capabilities. By using one dataset (e.g., CIFAR-10) as the input distribution for a model trained on another (e.g., CelebA), the Transporter successfully mapped arbitrary source distributions to the target manifold. Furthermore, latent space interpolations showed smooth transitions between features, indicating that the model learns a continuous and meaningful representation of the data.

Conclusion

Generative Autotransporters offer a compelling alternative to traditional generative models by treating distribution alignment as a "white box" geometric problem. By combining the mathematical rigor of Sliced Wasserstein Distance with manifold-constrained optimization, GAT achieves stable, high-quality image synthesis without the instability of adversarial training or the rigid priors of VAEs. Future work aims to explore "pure" transporters that might eventually eliminate the need for standard neural decoders entirely.

Summary updated

Abstract

In generative modeling, the Wasserstein distance (WD) has emerged as a useful metric to measure the discrepancy between generated and real data distributions. Unfortunately, it is challenging to approximate the WD of high-dimensional distributions. In contrast, the sliced Wasserstein distance (SWD) factorizes high-dimensional distributions into their multiple one-dimensional marginal distributions and is thus easier to approximate. In this paper, we introduce novel approximations of the primal and dual SWD. Instead of using a large number of random projections, as it is done by conventional SWD approximation methods, we propose to approximate SWDs with a small number of parameterized orthogonal projections in an end-to-end deep learning fashion. As concrete applications of our SWD approximations, we design two types of differentiable SWD blocks to equip modern generative frameworks---Auto-Encoders (AE) and Generative Adversarial Networks (GAN). In the experiments, we not only show the superiority of the proposed generative models on standard image synthesis benchmarks, but also demonstrate the state-of-the-art performance on challenging high resolution image and video generation in an unsupervised manner.
BibTeX
@inproceedings{wu2019generative,
  author = {Jiqing Wu and Zhiwu Huang and Wen Li and Luc Van Gool},
  title = {{Generative Autotransporters}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  url = {https://openreview.net/forum?id=LjEoCFDbUew},
}
Figure