Skip to main content
QUICK REVIEW

[Paper Review] CodeTalker: Speech-Driven 3D Facial Animation with Discrete Motion Prior

Jinbo Xing, Menghan Xia|arXiv (Cornell University)|Jan 6, 2023
Face recognition and analysisComputer Science9 citations
TL;DR

CodeTalker casts speech-driven 3D facial animation as a code query problem over a learned discrete motion codebook, yielding more vivid, lip-synced motions and natural expressions than prior methods.

ABSTRACT

Speech-driven 3D facial animation has been widely studied, yet there is still a gap to achieving realism and vividness due to the highly ill-posed nature and scarcity of audio-visual data. Existing works typically formulate the cross-modal mapping into a regression task, which suffers from the regression-to-mean problem leading to over-smoothed facial motions. In this paper, we propose to cast speech-driven facial animation as a code query task in a finite proxy space of the learned codebook, which effectively promotes the vividness of the generated motions by reducing the cross-modal mapping uncertainty. The codebook is learned by self-reconstruction over real facial motions and thus embedded with realistic facial motion priors. Over the discrete motion space, a temporal autoregressive model is employed to sequentially synthesize facial motions from the input speech signal, which guarantees lip-sync as well as plausible facial expressions. We demonstrate that our approach outperforms current state-of-the-art methods both qualitatively and quantitatively. Also, a user study further justifies our superiority in perceptual quality.

Motivation & Objective

  • Motivate a robust, high-fidelity speech-to-3D-face mapping by reducing cross-modal uncertainty with a discrete motion prior.
  • Learn a finite, expressive codebook of motion primitives from real facial motions via VQ-VAE to represent the motion space.
  • Develop a temporal autoregressive model that queries the motion codebook from speech and style inputs to synthesize sequences.
  • Demonstrate improved lip synchronization and expressive dynamics on standard benchmarks and via user studies.

Proposed method

  • Learn a discrete facial motion codebook Z = {z_k} by self-reconstructing real facial motions with a transformer-based VQ-VAE (encoder E, decoder D).
  • Quantize latent motion features to nearest codebook entries Q(ĤZ) to form motion primitives for a finite proxy space.
  • Freeze the codebook and decoder; train a speech-conditioned autoregressive model with wav2vec 2.0-based speech encoder and a cross-modal transformer decoder to predict motion codes from speech and a style vector s.
  • Use a style embedding with M learnable basis vectors to allow talking style conditioning and style interpolation during inference.
  • Train with a motion-level L1 loss plus codebook alignment losses (VQ loss) and a motion reconstruction loss, employing straight-through gradients for the non-differentiable quantizer.
  • During inference, recursively predict motion tokens from speech and style, query the code sequence to obtain motions via D, and accumulate M1:T for animation.

Experimental results

Research questions

  • RQ1Does a discrete motion prior improve the realism and variability of speech-driven 3D facial animation compared to continuous/regression-based methods?
  • RQ2Can a cross-modal autoregressive model over a learned motion codebook achieve accurate lip-sync and natural expressions under diverse talking styles?
  • RQ3Is a speaker-agnostic, generic motion prior more effective than speaker-specific representations for generalization?
  • RQ4How do quantitative metrics and perceptual studies compare CodeTalker to VOCA, MeshTalk, and FaceFormer on standard datasets?

Key findings

  • CodeTalker achieves lower lip vertex error and upper-face dynamics deviation (FDD) than VOCA, MeshTalk, and FaceFormer on BIWI-Test-A, demonstrating better lip synchronization and dynamic expressions (Lip Vertex Error: 4.7914 vs 6.5563, 5.9181, 5.3077; FDD: 4.1170 vs 8.1816, 5.1025, 4.6408).
  • In user studies, participants preferred CodeTalker over VOCA (Lip Sync 86.02%, Realism 84.95%), over MeshTalk (Lip Sync 95.70%, Realism 92.47%), and over FaceFormer (Lip Sync 70.97%, Realism 69.89%).
  • CodeTalker exhibits superior upper-face motion statistics, indicating more natural and expressive dynamics beyond lip synchronization.
  • Ablation shows motion-based codebook (vs shape-entangled codes) yields better reconstruction and lip accuracy, validating the discrete motion prior approach.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.