ExpCLIP: Bridging Text and Facial Expressions via Semantic Alignment

Yicheng Zhong, Huawei Wei, Peiji Yang, Zhisheng Wang

TL;DR

ExpCLIP introduces the first framework for controlling 3D speech-driven facial animation using arbitrary natural language prompts. By leveraging ChatGPT to generate a large-scale text-to-expression dataset and learning a shared CLIP-aligned embedding space between text, facial blendshapes, and images, the model enables nuanced, prompt-driven emotional control over speaking avatars without requiring reference videos or fixed emotion tags.

What Problem Does This Paper Address?

Traditional speech-driven 3D facial animation focuses primarily on lip synchronization: matching mouth shapes to phonemes. While effective for intelligibility, generated faces often look emotionally lifeless.

Prior attempts to inject emotion suffer from two major constraints:

  1. Rigid categorical labels: Conditioning on a handful of discrete classes (e.g., happy, sad, angry) cannot capture fine-grained, blended, or context-specific expressions.
  2. Impractical reference inputs: Methods relying on reference video or image templates require users to search for or record specific facial exemplars, which is cumbersome.

The ideal solution is intuitive natural language prompting (e.g., "Witnessing animal cruelty" or "Nose wrinkler and lip stretcher"). However, no large-scale paired datasets exist connecting descriptive text to 3D facial animation parameters, and manual annotation is cost-prohibitive.

Methods

The authors tackle this via a three-part pipeline:

[Emotional Text / Image] 
         │
         ▼
    [ ExpCLIP ] ──► Aligned Style Embedding ──┐
                                              ▼
[Raw Audio] ──► [Wav2Vec 2.0] ──► [Transformer Decoder] ──► [3D Facial Animation (Blendshapes)]
  • ExpCLIP Alignment Model: ExpCLIP establishes a shared latent space between 52D facial blendshapes, text descriptions, and facial images. It pairs a frozen pre-trained CLIP text/image encoder with trainable linear projectors and an 8-layer Transformer autoencoder ($E, D$) for blendshape weights. ExpCLIP is optimized via three losses: blendshape autoencoder reconstruction ($\mathcal{L}_{ae}$), cosine embedding alignment ($\mathcal{L}_{emb}$), and cross-modal reconstruction ($\mathcal{L}_{cross}$).

  • Speech-Driven Facial Animation Generator: During training, an attention-pooling module ($E_{sa}$) automatically extracts a representative expression prompt directly from training animation clips. A pre-trained Wav2Vec 2.0 model extracts contextual speech features, which are decoded into frame-wise blendshapes using a Transformer decoder conditioned on the style embedding via cross-attention. At test time, text prompts substitute the expression prompts seamlessly thanks to ExpCLIP’s shared space.

  • Expression Prompt Augmentation (EPA): To prevent the generator from collapsing on unseen emotions not present in the speech training data, the authors linearly perturb expression prompts with randomly sampled expressions from their dataset. They preserve speech fidelity using a lip motion loss ($\mathcal{L}_{lm}$), assuming adjacent-frame lip displacements remain stable regardless of emotion, alongside a style consistency loss ($\mathcal{L}_{style}$).

Datasets

  • TEAD (Text-Expression Aligned Dataset): Newly introduced. Built automatically using ChatGPT via in-context learning on an emotional corpus. ChatGPT extracts emotion tags ($e$), situation descriptions ($s$), and 36 Facial Action Coding System (FACS) Action Units (AUs). A professional facial animator created rules mapping these AUs to 52 standard blendshape weights ($b$). TEAD contains ~50,000 quadruples $(t, e, b, s)$, with 90% used for training and 10% for evaluation.
  • MEAD-3D: Derived from the MEAD talking-face video dataset. 150,000 sampled images were processed via 3D face reconstruction and blendshape solving to train ExpCLIP’s image-to-expression projection.
  • BEAT: A multimodal dataset with 52D blendshapes. The authors use roughly 35 hours of English speech from BEAT to train the speech-driven animation generator.

Key Insights and Ideas

  • LLMs as Cross-Modal Translators: ChatGPT can "imagine" facial expressions from emotional text and translate them into FACS Action Units, bypassing expensive manual rigging and annotation.
  • AUs as the Semantic Bridge: Continuous 3D blendshapes cannot be intuitively queried with text directly. Translating text $\rightarrow$ FACS Action Units $\rightarrow$ Blendshapes provides a grounded anatomical intermediate representation.
  • Training with Expressions, Inferring with Text: By aligning text and expression embeddings, the animation generator never needs paired audio-text training data. It trains purely on audio and facial expression clips, yet controls style via text at inference time.
  • Lip Displacement Invariance: Decomposing motion into dynamic lip displacement (governed by audio) and static emotional offset enables synthetic prompt augmentation (EPA) without corrupting speech synchronization.

Key Results

  • Reconstruction Accuracy: In ablation experiments, blendshape augmentation reduced ExpCLIP's blendshape reconstruction MSE from 0.051 to 0.012 on TEAD and from 0.069 to 0.021 on BEAT.
  • User Study Comparisons: Evaluated against SOTA talking-head models (EAMM, StyleTalk, PD-FGC) across 20 participants rating samples on a 1–5 scale:
  • Lip Sync: Ours-text achieved 3.63 (vs. EAMM: 2.01, PD-FGC: 3.49, StyleTalk: 3.55).
  • Emotion Consistency with Text ($EC_t$): Ours-text scored 3.93 (vs. EAMM: 1.99, PD-FGC: 3.37, StyleTalk: 3.48).
  • Emotion Consistency with Image/Video ($EC_v$): Ours-image scored 3.72, outperforming video-guided methods (EAMM: 2.11, PD-FGC: 3.55, StyleTalk: 3.63).
  • Out-of-Domain Generalization: The model successfully interprets abstract and narrative prompts (e.g., "Dobby dies in Harry's arms in 'Harry Potter'" or "Feelings when the shark attacked in 'Jaws'"), yielding appropriate facial expressions.

Limitations and Future Work

  • Lack of Quantitative Emotion Metrics: Evaluation relies heavily on qualitative inspection and user studies because automated, objective benchmarks for fine-grained 3D facial emotion control are currently lacking.
  • Handcrafted AU-to-Blendshape Rules: The mapping from ChatGPT-predicted AUs to 52 blendshapes depends on animator-designed heuristic conversion rules, which might bottleneck extreme or non-linear expressions.
  • Limited Animation Diversity: The speech generator was trained exclusively on a 35-hour English subset of BEAT at 15 FPS, leaving open questions about cross-lingual scalability and higher frame-rate temporal dynamics.

Summary updated

BibTeX
@inproceedings{zhong2024expclip,
  author = {Yicheng Zhong and Huawei Wei and Peiji Yang and Zhisheng Wang},
  title = {{ExpCLIP: Bridging Text and Facial Expressions via Semantic Alignment}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=2R0ztgwVMr},
}

Loading related content...

Figure