[Paper Review] Contrastively Disentangled Sequential Variational Autoencoder
This paper proposes Contrastively Disentangled Sequential Variational Autoencoder (C-DSVAE), a novel method for self-supervised disentangled representation learning in sequential data by explicitly separating static (time-invariant) and dynamic (time-variant) factors in the latent space. It uses a contrastive estimation of mutual information to encourage disentanglement while leveraging data augmentation to inject inductive biases, achieving state-of-the-art performance on video and audio benchmarks.
Self-supervised disentangled representation learning is a critical task in sequence modeling. The learnt representations contribute to better model interpretability as well as the data generation, and improve the sample efficiency for downstream tasks. We propose a novel sequence representation learning method, named Contrastively Disentangled Sequential Variational Autoencoder (C-DSVAE), to extract and separate the static (time-invariant) and dynamic (time-variant) factors in the latent space. Different from previous sequential variational autoencoder methods, we use a novel evidence lower bound which maximizes the mutual information between the input and the latent factors, while penalizes the mutual information between the static and dynamic factors. We leverage contrastive estimations of the mutual information terms in training, together with simple yet effective augmentation techniques, to introduce additional inductive biases. Our experiments show that C-DSVAE significantly outperforms the previous state-of-the-art methods on multiple metrics.
Motivation & Objective
- To learn disentangled representations in sequential data that separate static (time-invariant) and dynamic (time-variant) factors for improved interpretability and sample efficiency.
- To address the challenge of learning meaningful disentanglement without strong inductive biases, especially in high-dimensional sequential data.
- To improve representation quality by incorporating contrastive learning and data augmentation to enhance mutual information estimation.
- To develop a principled framework that synergistically combines contrastive estimation with sequential VAEs for disentangled representation learning.
Proposed method
- C-DSVAE models the joint likelihood of input sequences using a factorized latent space with static factor $ s $ and dynamic factors $ z_{1:T} $, assuming $ p(s, z_{1:T}) = p(s)p(z_{1:T}) $.
- It introduces a novel evidence lower bound (ELBO) that maximizes mutual information between input $ x_{1:T} $ and latent factors $ s, z_{1:T} $, while minimizing mutual information between $ s $ and $ z_{1:T} $.
- Contrastive estimation is used to approximate the mutual information terms, with augmented views: motion-augmented $ x_{1:T}^m $ and content-augmented $ x_{1:T}^c $, to create positive pairs.
- The model uses data augmentation to create positive samples for contrastive learning—$ z_{1:T}^m $ as positive for $ z_{1:T} $ w.r.t. motion, and $ s^c $ as positive for $ s $ w.r.t. content.
- The training objective includes contrastive estimation for $ I(s; x_{1:T}) $ and $ I(z_{1:T}; x_{1:T}) $, while $ I(s; z_{1:T}) $ is estimated via minibatch weighted sampling (MWS).
- The architecture employs LSTMs for sequential encoding and decodes frames using both $ s $ and $ z_i $, enabling disentangled generation.
Experimental results
Research questions
- RQ1Can contrastive mutual information estimation improve disentanglement in sequential variational autoencoders?
- RQ2How effective is the combination of contrastive learning and data augmentation in learning invariant representations for sequential data?
- RQ3Does separating static and dynamic factors lead to better disentanglement and downstream performance compared to standard VAEs?
- RQ4To what extent do contrastive estimations outperform standard MWS-based MI estimation in disentangled representation learning?
- RQ5Can the model maintain smooth and meaningful interpolation in the latent space while preserving content and motion independently?
Key findings
- C-DSVAE achieves 81.16% accuracy on the MUG dataset, significantly outperforming DSVAE (54.29%) and DSVAE with all MWS estimation (66.25%).
- On SM-MNIST, C-DSVAE reaches 97.84% accuracy, surpassing DSVAE (88.19%) and DSVAE with all MWS (91.81%).
- The model improves Fréchet Audio Distance (FAD) and Inception Score (IS) on TIMIT, with a content EER of 4.03% and motion EER of 31.81% at batch size 256.
- Contrastive estimation of mutual information leads to a monotonic increase in $ I(s; x_{1:T}) $, as measured by MWS, indicating effective representation learning.
- Latent space interpolation shows smooth content transitions while preserving motion, demonstrating disentanglement and continuity in the latent space.
- Ablation studies confirm that contrastive estimation contributes more to performance than MWS-based MI estimation, highlighting its role in injecting useful inductive biases.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.