Facial Expression Transfer with Input-Output Temporal Restricted Boltzmann Machines

Matthew D. Zeiler, Graham W. Taylor, Leonid Sigal, Iain A. Matthews, Rob FergusNeurIPS 2011

TL;DR

This paper introduces the Input-Output Temporal Restricted Boltzmann Machine (IOTRBM), a generative model designed to map one sequence to another while capturing complex, nonlinear dynamics. By applying this to facial expression transfer—mapping the movements of one person's face onto another—the authors demonstrate that their model significantly outperforms traditional linear and autoregressive baselines in both 2D and 3D settings.

The Challenge of Facial Expression Transfer

Facial expression transfer, or "motion retargeting," is a staple of computer graphics used to animate digital characters based on human actors. The primary challenge lies in the fact that every face is geometrically and dynamically different; a simple linear mapping often fails to capture the subtle, nonlinear nuances of speech and emotion.

Existing solutions generally fall into two camps:

  1. Linear Models: These are computationally inexpensive but often miss the "soul" of the movement because they fail to account for temporal dynamics or complex, nonlinear geometry.
  2. Probabilistic Models (like HMMs): While these handle sequences well, they are often limited by a simple discrete state space. This makes them too "shallow" to effectively represent high-dimensional, continuous data like a human face in motion.

The authors sought a model capable of handling high-dimensional data, learning nonlinear relationships, and maintaining a "memory" of past frames to ensure smooth, realistic motion.

Methods: Evolving the TRBM

The authors build upon the Temporal Restricted Boltzmann Machine (TRBM). While a standard RBM models static data, a TRBM conditions its current state on a short history of previous frames. The paper's primary innovation is extending this architecture to handle distinct input and output sequences.

Progression of models: (a) TRBM, (b) IOTRBM, and (c) Factored Third-Order IOTRBM.
  • IOTRBM: The authors modified the TRBM energy function so that the model is conditioned not just on its own history, but also on an external input sequence (the "source" face). This allows the model to define a probability distribution of the target face's next frame given the source's current and past frames.
  • Factored Third-Order IOTRBM (FIOTRBM): For more complex data, the authors introduced "multiplicative interactions." Instead of just adding up influences, the input, hidden states, and output interact through a three-way tensor. To keep the number of parameters manageable, they used a "low-rank approximation," factoring this massive tensor into three smaller matrices.

Training is performed using Contrastive Divergence (CD), an efficient approximate learning algorithm that allows these complex models to be trained on real-world datasets.

Datasets and Key Results

The model was evaluated on two distinct datasets:

  1. 2D Motion Capture: 186 trials of two subjects speaking the same phrases. Data consisted of $(x, y)$ coordinates for 90 facial markers, reduced to 30 dimensions via PCA.
  2. 3D Motion Capture: A more challenging set where subjects performed exaggerated facial movements. This involved ~1,000 dimensions per frame, reduced to 50 dimensions via PCA. Unlike the 2D set, the marker layouts between subjects were entirely different, requiring the model to learn a true cross-mapping.
Facial expression transfer mapping input source frames (blue) to predicted target frames (red).

Performance Breakthroughs

  • Superior Accuracy: In 2D speech transfer, the IOTRBM achieved a Mean RMS error of 5.28 mm, significantly better than Linear Regression (6.15 mm) and Autoregressive models (5.47 mm).
  • 3D Breakthrough: On the exaggerated 3D dataset, the FIOTRBM was the clear winner with an error of 1.54 mm, outperforming the standard IOTRBM (2.27 mm) and a Multilayer Perceptron (1.63 mm).
  • Noise Tolerance: Because the model is generative (it learns the underlying distribution), it is remarkably robust to noise. When the authors added Gaussian noise to the inputs, the IOTRBM maintained low error rates and could "hallucinate" plausible next frames, whereas baseline models became unusable.

Key Insights

  • Distributed Latent States: Unlike Hidden Markov Models (HMMs), which are limited to $K$ states, a TRBM with $K$ binary hidden units can represent $2^K$ configurations. This exponential expressiveness allows it to capture the vast variety of human facial expressions.
  • The Power of Multiplicative Interactions: In the 3D experiments, the standard IOTRBM struggled, but the FIOTRBM excelled. This suggests that for highly nonlinear, exaggerated motion, simply adding up input signals isn't enough; the model needs to learn how different features modulate each other.

Limitations and Future Work

While highly effective, the model has a few limitations. Currently, it learns a direct mapping between two specific people and cannot yet "factor out" style—for example, taking the "anger" from Person A and applying it to Person B's "happy" baseline. The authors suggest exploring "style-based contextual variables" in future iterations. Additionally, training higher-order factored models is computationally intensive, and the authors noted that initializing parameters using a simpler autoregressive model was necessary to navigate the complex energy landscape effectively.

Summary updated

BibTeX
@inproceedings{zeiler2011facial,
  author = {Matthew D. Zeiler and Graham W. Taylor and Leonid Sigal and Iain A. Matthews and Rob Fergus},
  title = {{Facial Expression Transfer with Input-Output Temporal Restricted Boltzmann Machines}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2011},
  url = {https://openreview.net/forum?id=HJVvlvbObr},
}
Figure