Audio2Face: Generating Speech/Face Animation from Single Audio with Attention-Based Bidirectional LSTM Networks

Guanzhong Tian, Yi Yuan, Yong Liu

Abstract

Generating realistic 3D facial animations from raw audio is a complex task due to the non-deterministic relationship between speech and expression. We present Audio2Face, an end-to-end deep learning framework that utilizes bidirectional Long Short-Term Memory (Bi-LSTM) networks and an attention mechanism to synthesize high-fidelity facial animations. By capturing long-range vocal context and nuanced speaking styles, the model drives a 51-dimensional blendshape model in real-time with sub-millisecond latency, effectively addressing issues of temporal consistency and coarticulation.

Introduction

Traditional facial animation typically relies on vision-based performance capture, which is resource-intensive and requires specialized equipment. Audio-driven animation offers a more scalable alternative for applications in gaming and virtual agents. However, it faces two primary challenges: the "one-to-many" mapping problem, where identical audio can correspond to multiple expressions, and the need for temporal smoothness to avoid robotic or jittery transitions. Audio2Face addresses these by leveraging a deep neural architecture that "listens" to the nuances of speech to produce stable, life-like animations.

Methodology

The Audio2Face framework consists of two main phases: training and animation. During training, synchronized audio and video data are processed to extract phonetic and visual features, which are then used to train the neural network.

System architecture overview illustrating the training and animation pipelines.

Feature Extraction and Network Architecture

The system extracts Mel-frequency cepstral coefficients (MFCCs) from raw audio to represent the power spectrum of sound. These features are fed into a Bidirectional LSTM (Bi-LSTM) layer, which processes the audio sequence both forward and backward in time. This bidirectional approach allows the model to account for coarticulation—the way mouth shapes are influenced by both preceding and succeeding sounds.

A key component of the architecture is the attention mechanism. Not all segments of an audio window contribute equally to a specific facial pose; the attention layer allows the model to "focus" on the most relevant acoustic features, such as pitch shifts, to better recognize latent speaking styles and affective states.

Optimization and Loss Functions

To ensure the generated animation is both accurate and fluid, the model employs a dual-loss approach. Huber Loss is used for target prediction to minimize sensitivity to outliers. Additionally, a temporal smoothness loss based on Cosine Distance is applied to penalize abrupt jumps between adjacent frames, ensuring natural transitions.

Datasets

The researchers recorded high-quality datasets using a professional depth-camera system (Faceshift) to capture ground-truth blendshape parameters. The data includes approximately 60 minutes of training material per actor, covering a wide range of scripts that focus on both phonetic accuracy and full-face emotional expressions.

Key Results and Discussion

Quantitative performance metrics show that the proposed method consistently achieves lower Root Mean Squared Error (RMSE) compared to traditional Hidden Markov Models (HMM) and standard LSTM approaches.

  • Real-Time Performance: The inference process is highly efficient, taking only 0.68ms to process one audio window on an Nvidia GTX 1080i. This is well within the 33.3ms threshold required for 30 FPS real-time applications.
  • Model Scaling: Experiments revealed that while 256 nodes per layer are sufficient for lip-syncing, 512 nodes are necessary to accurately capture the complexity of full-face expressions.
  • Retargeting: The model successfully retargeted animations from human training data to stylized 3D characters, demonstrating the versatility of the learned parameters.

Conclusion

Audio2Face provides a robust, real-time solution for generating facial animations from audio. While the model excels at speech-driven movement, it currently does not account for non-correlated physiological reflexes like blinking. Future work will focus on integrating semi-random blink patterns and expanding the model's compatibility with diverse blendshape topologies.

Summary updated

BibTeX
@inproceedings{tian2019audio,
  author = {Guanzhong Tian and Yi Yuan and Yong Liu},
  title = {{Audio2Face: Generating Speech/Face Animation from Single Audio with Attention-Based Bidirectional LSTM Networks}},
  booktitle = {Workshops @ ICME},
  year = {2019},
  url = {https://openreview.net/forum?id=_2f615J42-},
}
Figure