On Linear Interpolation in the Latent Space of Deep Generative Models

Mike Yan Michelis, Quentin Becker
5/8/2021
cs.LG

Official code: mmichelis/GenerativeLatentSpace (18 stars, Python, last commit 2021-04-24).

Abstract

The underlying geometrical structure of the latent space in deep generative models is in most cases not Euclidean, which may lead to biases when comparing interpolation capabilities of two models. Smoothness and plausibility of linear interpolations in latent space are associated with the quality of the underlying generative model.

Show full abstract

In this paper, we show that not all such interpolations are comparable as they can deviate arbitrarily from the shortest interpolation curve given by the geodesic. This deviation is revealed by computing curve lengths with the pull-back metric of the generative model, finding shorter curves than the straight line between endpoints, and measuring a non-zero relative length improvement on this straight line. This leads to a strategy to compare linear interpolations across two generative models. We also show the effect and importance of choosing an appropriate output space for computing shorter curves. For this computation we derive an extension of the pull-back metric.

View on arXivView PDF

Code Implementations(1)

Visualizing the latent space of generative models (VAE and BiGAN implemented here), as in latent vectors of testing images over the induced metric (in the background) created by the Decoder/Generator.

185PythonDec 29, 20205 years ago

Similar Papers

Cite this paper

@article{michelis2021linear,
  title  = {On Linear Interpolation in the Latent Space of Deep Generative Models},
  author = {Mike Yan Michelis and Quentin Becker},
  year   = {2021},
  eprint = {2105.03663},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.03663}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.03663.svg)](https://codeofpaper.com/paper/2105.03663)

Discussion