All Roads Lead to Rome? Exploring Representational Similarities Between Latent Spaces of Generative Image Models

Charumathi Badrinath, Usha Bhalla, Alex Oesterling, Suraj Srinivas, Himabindu Lakkaraju
7/18/2024
cs.LG

No official code found. Best implementation: charumathib/thesis-latent-spaces (1 star, last commit 2024-07-15).

Abstract

Do different generative image models secretly learn similar underlying representations? We investigate this by measuring the latent space similarity of four different models: VAEs, GANs, Normalizing Flows (NFs), and Diffusion Models (DMs). Our methodology involves training linear maps between frozen latent spaces to "stitch" arbitrary pairs of encoders and decoders and measuring output-based and probe-based metrics on the resulting "stitched'' models. Our main findings are that linear maps between latent spaces of performant models preserve most visual information even when latent sizes differ; for CelebA models, gender is the most similarly represented probe-able attribute. Finally we show on an NF that latent space representations converge early in training.

View on arXivView PDF

Code Implementations(1)

10C++, CudaDec 28, 20232 years ago

Similar Papers

Cite this paper

@article{badrinath2024roads,
  title  = {All Roads Lead to Rome? Exploring Representational Similarities Between Latent Spaces of Generative Image Models},
  author = {Charumathi Badrinath and Usha Bhalla and Alex Oesterling and Suraj Srinivas and Himabindu Lakkaraju},
  year   = {2024},
  eprint = {2407.13449},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.13449v1}
}

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/2407.13449.svg)](https://codeofpaper.com/paper/2407.13449)

Discussion