How do Variational Autoencoders Learn? Insights from Representational Similarity

Lisa Bonheme, Marek Grzes
5/17/2022
cs.LG

Official code: bonheml/VAE_learning_dynamics (7 stars, Python, Apache-2.0, last commit 2023-09-04).

Abstract

The ability of Variational Autoencoders (VAEs) to learn disentangled representations has made them popular for practical applications. However, their behaviour is not yet fully understood.

Show full abstract

For example, the questions of when they can provide disentangled representations, or suffer from posterior collapse are still areas of active research. Despite this, there are no layerwise comparisons of the representations learned by VAEs, which would further our understanding of these models. In this paper, we thus look into the internal behaviour of VAEs using representational similarity techniques. Specifically, using the CKA and Procrustes similarities, we found that the encoders' representations are learned long before the decoders', and this behaviour is independent of hyperparameters, learning objectives, and datasets. Moreover, the encoders' representations in all but the mean and variance layers are similar across hyperparameters and learning objectives.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
72Python, CJul 14, 20203 years agoApache-2.0

Similar Papers

Cite this paper

@article{bonheme2022variational,
  title  = {How do Variational Autoencoders Learn? Insights from Representational Similarity},
  author = {Lisa Bonheme and Marek Grzes},
  year   = {2022},
  eprint = {2205.08399},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.08399}
}

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

Discussion