Abstract
There are many forms of feature information present in video data. Principle among them are object identity information which is largely static across multiple video frames, and object pose and style information which continuously transforms from frame to frame. Most existing models confound these two types of representation by mapping them to a shared feature space. In this paper we propose a probabilistic approach for learning separable representations of object identity and pose information using unsupervised video data. Our approach leverages a deep generative model with a factored prior distribution that encodes properties of temporal invariances in the hidden feature set. Learning is achieved via variational inference. We present results of learning identity and pose information on a dataset of moving characters as well as a dataset of rotating 3D objects. Our experimental results demonstrate our model's success in factoring its representation, and demonstrate that the model achieves improved performance in transfer learning tasks.
Introduction
Deep learning models are highly effective at extracting features from complex data like video, but these features are often "entangled." A single neuron's activation might represent a mix of an object's shape, its color, and its current position. This lack of structure makes it difficult to interpret what the model has learned and limits the "transferability" of those features to new tasks.
In video, there is a natural semantic divide: some attributes stay the same (e.g., the identity of a person's face), while others change continuously (e.g., their expression or head tilt). Most existing models ignore this distinction, mapping both types of information into a shared feature space. This research aims to exploit the inherent temporal structure of video to force a model to learn these two distinct semantic categories separately without requiring human-labeled data.
Methods
The proposed framework builds upon the Variational Auto-encoder (VAE) but introduces a novel factored prior distribution. The latent representation $h$ is split into two distinct components:
- Static Factor ($h^s$): This component is constrained to remain nearly constant throughout a video sequence. It uses a hierarchical Gaussian prior where each frame's static feature is sampled from a distribution centered around a global "sequence mean."
- Temporal Factor ($h^t$): This component is designed to change smoothly over time. It follows a first-order Gaussian random walk, where the feature for the current frame is conditioned on the feature of the previous frame.
To train the model, the authors use a modified VAE objective function (similar to a $\beta$-VAE) that penalizes deviations from this structured prior. A key technical contribution is the derivation of an analytic solution for the KL-divergence term across an entire sequence, which provides more stable gradients than standard Monte Carlo estimation.
Datasets
The model was evaluated on two synthetic datasets where "static" and "temporal" factors are clearly defined:
- Bouncing MNIST: Hand-written digits moving around a frame. The "static" factor is the digit's identity (e.g., a '3' vs. a '9'), and the "temporal" factor is its $(x, y)$ coordinates.
- Rotating Chairs (ShapeNet): 3D chair models rotating. The "static" factor is the specific chair model (leg type, back shape), and the "temporal" factor is its orientation.
Key Insights
- Time as a Teacher: The temporal continuity of video serves as a powerful signal for unsupervised learning. The model leverages the fact that the identity of an object remains constant across frames even as its position or pose changes.
- The Difficulty of Identity: Static features (identity) are harder for the model to learn than motion features. At low regularization strengths ($\beta=1$), the model tends to collapse all information into the temporal factor.
- Pressure for Disentanglement: Increasing the weight of the KL-divergence term ($\beta > 1$) acts as a "bottleneck" that forces the model to be more efficient. This pressure drives the model to correctly categorize features into the static and temporal "buckets" provided by the prior.
Key Results
The model demonstrated significant success in both qualitative and quantitative evaluations:
- Qualitative Success: The authors performed "feature swaps," taking the static identity of one chair and the temporal orientation of another. The decoder successfully generated a new video of the first chair rotating exactly like the second.
- Disentanglement Score: Using linear classifiers to measure disentanglement, the model achieved a D-Score of 6.82 on Bouncing MNIST, vastly outperforming a standard VAE (1.71).
- Transfer Learning: Features learned by this model were significantly better for downstream tasks. On Bouncing MNIST, using just the static features yielded 88% accuracy in digit identification, compared to only 51% for a standard VAE.
Limitations and Future Work
While successful on controlled datasets, the model is sensitive to the choice of $\beta$ and the size of the latent space. Furthermore, the current model assumes a clean split between "static" and "moving" components. Real-world video is often messier, with shifting backgrounds or deformable objects. Future work will focus on scaling this approach to high-resolution, natural video where the factors of variation are more numerous and complex.
Summary updated