Representation learning aims to map high-dimensional data, such as video or audio, into a lower-dimensional latent space. A key challenge in this field is achieving disentanglement, where specific latent dimensions control independent attributes. In sequential data, this typically involves separating time-invariant "static" factors (e.g., identity, timbre) from time-varying "dynamic" factors (e.g., motion, speech content).
While unsupervised methods often struggle with realistic data and supervised methods require expensive manual labeling, S3VAE (Self-Supervised Sequential VAE) leverages self-supervision to bridge this gap, achieving performance that rivals fully supervised models.
The S3VAE Framework
The S3VAE architecture explicitly partitions the latent variable $z$ into a static component $z_f$ and a dynamic component $z_t$. To ensure effective separation without human labels, the framework introduces three primary self-supervised regularizers:
- Static Consistency Constraint ($L_{SCC}$): This constraint uses a triplet loss to ensure $z_f$ captures only static information. It encourages the $z_f$ of a video to remain consistent even when the frames are shuffled, while remaining distinct from the $z_f$ of different videos.
- Dynamic Factor Prediction ($L_{DFP}$): This forces $z_t$ to capture motion by tasking the model with predicting "free" supervisory signals. For video, this includes predicting the location of maximum motion (via optical flow) or facial landmark distances. For audio, it involves predicting voice activity based on volume.
- Mutual Information Regularization ($L_{MI}$): This term minimizes the mutual information between $z_f$ and $z_t$, preventing information leakage between the two components and ensuring they remain independent.
Experimental Evaluation
The model was rigorously tested on four datasets across two modalities: Stochastic Moving MNIST (SMMNIST), Sprite (animated characters), MUG (facial expressions), and TIMIT (audio speech).
Quantitative results demonstrate that S3VAE rivals supervised performance. On the MUG dataset, S3VAE achieved a facial expression classification accuracy of 70.51%, significantly higher than the unsupervised DSVAE baseline (53.83%) and nearly matching the supervised upper bound (72.32%). In audio tasks using the TIMIT dataset, the model achieved an Equal Error Rate (EER) of 4.80% for speaker verification, confirming successful isolation of timbre from speech content.
Qualitative Performance
A major strength of S3VAE is its ability to perform representation swapping. By combining the static features ($z_f$) of one sequence with the dynamic features ($z_t$) of another, the model can generate realistic synthetic sequences that preserve identity while adopting new motions. This capability highlights the model's success in disentangling the underlying factors of the data.
Conclusion and Future Work
S3VAE demonstrates that "free" supervisory signals—such as temporal shuffling and coarse motion indicators—provide sufficient inductive bias for high-quality representation disentanglement. While the current model is limited to lower resolutions ($64 \times 64$) and relatively simple backgrounds, it sets a strong foundation for future work in high-definition video generation and image-to-video animation.
Summary updated