On Linear Interpolation in the Latent Space of Deep Generative Models

Mike Yan Michelis, EPFL, Switzerland

Quentin Becker, EPFL, Switzerland


ICLR 2021 Workshop on Geometrical and Topological Representation Learning, 2021

(Spotlight Presentation)


Teaser figure for the paper: On Linear Interpolation in the Latent Space of Deep Generative Models

Interpolating between two fixed points in latent space of a VAE trained on MNIST digits. Top sequence is along the straight line, middle is shorter distance as defined by the pull-back metric of the generator, and bottom is according to metric with a logistic regression feature mapping on top of generator. Getting shorter paths between two prescribed generator outputs (digits in this example) allows more objectively comparing the interpolation capabilities of different generative models.

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. 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.

Cite Us

 @inproceedings{michelis2021linear,
    author = "Michelis, Mike Yan and Becker, Quentin",
    title = "On Linear Interpolation in the Latent Space of Deep Generative Models",
    month = "April",
    year = "2021",
    booktitle = "ICLR 2021 Workshop on Geometrical and Topological Representation Learning"
}