Disentangled Dynamic Representations from Unordered Data

Leonhard Helminger, Abdelaziz Djelouah, Markus H. Gross, Romann M. WeberarXiv 2018

Abstract

Traditional unsupervised representation learning for video often relies on temporal order, using recurrent architectures to capture dynamics. This paper proposes a deep generative model that disentangles static (content) and dynamic (pose/motion) features from unordered data. By utilizing a factorized Variational Autoencoder (VAE) and pairwise frame comparisons, the model learns a structured latent space capable of high-quality synthesis and identity-motion transfer without requiring sequential constraints.

Introduction

A major goal in unsupervised representation learning is disentanglement: the separation of independent factors of variation within data. For visual sequences, this typically involves isolating "what" is in the scene (static features like identity or style) from "how" it moves (dynamic features like pose or expression).

Most existing methods leverage the temporal order of video frames, employing Recurrent Neural Networks (RNNs) or LSTMs. However, the authors argue that the regularities defining a sequence exist regardless of the order in which frames are viewed. For instance, a set of shuffled photos of the same person still contains consistent identity information and varied expressions. By moving away from sequence-dependent models, we can simplify architectures and better exploit the combinatorial nature of data.

Methodology

The proposed framework is a factorized Variational Autoencoder (VAE) that utilizes two distinct latent variables:

  • $f$ (Static): Captures information common across all frames in a sequence (e.g., identity).
  • $z$ (Dynamic): Captures information specific to an individual frame (e.g., a specific pose).

The Unordered Innovation

Instead of an RNN, the model uses an inference network that randomly samples $N$ frames from a sequence. To extract the static feature $f$, the encoder performs pairwise comparisons between these frames. By identifying what remains constant across different pairs, the model is forced to encode identity into $f$. The dynamic variables $z$ are sampled from a conditional distribution $p(z|f)$, allowing dynamics to be dependent on the specific content.

Graphical model and architecture for disentangled representation learning.

Experiments and Key Results

The model was evaluated on three datasets: Moving MNIST (MMNIST), Sprites, and Aff-Wild (real-world faces).

Identity via Commonality

The architecture effectively acts as a "commonality filter." By forcing the static encoder to process multiple frames simultaneously, the model minimizes loss by storing non-changing elements in $f$ and changing elements in $z$. This combinatorial training approach allows the model to take advantage of the massive number of possible frame combinations, making it effective even on smaller datasets.

Coherent Latent Manifolds

Qualitative results demonstrate successful disentanglement. Visualizations of the low-dimensional $z$ space show that the model naturally organizes dynamics into coherent manifolds. In the Sprites dataset, for example, the model can fix the character's identity ($f$) while smoothly transitioning through different poses by traversing the $z$ space.

Latent space traversal of dynamic variables z1 and z2 for the Sprites dataset.

In the Aff-Wild dataset, dimensions of $z$ were found to correspond to specific human expressions like "smiling" or "astonishment," despite the model receiving no explicit labels during training.

Conclusion

This work demonstrates that temporal order is not a prerequisite for learning disentangled dynamic representations. By focusing on commonalities across unordered frames, the model achieves a well-organized latent space suitable for synthesis and style transfer. Future work may address current limitations, such as scaling to higher-dimensional dynamic spaces and incorporating lightweight temporal layers to learn specific motion trajectories while maintaining the benefits of disentanglement.

Summary updated

BibTeX
@misc{helminger2018disentangled,
  author = {Leonhard Helminger and Abdelaziz Djelouah and Markus H. Gross and Romann M. Weber},
  title = {{Disentangled Dynamic Representations from Unordered Data}},
  year = {2018},
  eprint = {1812.03962},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.03962},
}
Figure