LGMLSep 26, 2021

Be More Active! Understanding the Differences between Mean and Sampled Representations of Variational Autoencoders

arXiv:2109.12679v49 citations
Originality Incremental advance
AI Analysis

This work addresses a practical issue for users of VAEs in disentangled representation learning, offering incremental insights into representation differences.

The paper investigates why mean representations in Variational Autoencoders (VAEs) show higher correlation than sampled representations, attributing the discrepancy to passive variables that encode no useful information. It concludes that mean representations remain suitable for downstream tasks but suggests removing passive variables when using models sensitive to correlated features.

The ability of Variational Autoencoders to learn disentangled representations has made them appealing for practical applications. However, their mean representations, which are generally used for downstream tasks, have recently been shown to be more correlated than their sampled counterpart, on which disentanglement is usually measured. In this paper, we refine this observation through the lens of selective posterior collapse, which states that only a subset of the learned representations, the active variables, is encoding useful information while the rest (the passive variables) is discarded. We first extend the existing definition to multiple data examples and show that active variables are equally disentangled in mean and sampled representations. Based on this extension and the pre-trained models from disentanglement lib, we then isolate the passive variables and show that they are responsible for the discrepancies between mean and sampled representations. Specifically, passive variables exhibit high correlation scores with other variables in mean representations while being fully uncorrelated in sampled ones. We thus conclude that despite what their higher correlation might suggest, mean representations are still good candidates for downstream tasks applications. However, it may be beneficial to remove their passive variables, especially when used with models sensitive to correlated features.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes