ExpCLIP: Bridging Text and Facial Expressions via Semantic Alignment

Yicheng Zhong, Huawei Wei, Peiji Yang, Zhisheng Wang

Abstract

The objective of stylized speech-driven facial animation is to create animations that encapsulate specific emotional expressions. Existing methods often depend on pre-established emotional labels or facial expression templates, which may limit the necessary flexibility for accurately conveying user intent. In this research, we introduce a technique that enables the control of arbitrary styles by leveraging natural language as emotion prompts. This technique presents benefits in terms of both flexibility and user-friendliness. To realize this objective, we initially construct a Text-Expression Alignment Dataset (TEAD), wherein each facial expression is paired with several prompt-like descriptions. We propose an innovative automatic annotation method, supported by Large Language Models (LLMs), to expedite the dataset construction, thereby eliminating the substantial expense of manual annotation. Following this, we utilize TEAD to train a CLIP-based model, termed ExpCLIP, which encodes text and facial expressions into semantically aligned style embeddings. The embeddings are subsequently integrated into the facial animation generator to yield expressive and controllable facial animations. Given the limited diversity of facial emotions in existing speech-driven facial animation training data, we further introduce an effective Expression Prompt Augmentation (EPA) mechanism to enable the animation generator to support unprecedented richness in style control. Comprehensive experiments illustrate that our method accomplishes expressive facial animation generation and offers enhanced flexibility in effectively conveying the desired style.

Introduction

Speech-driven facial animation has achieved significant success in lip-synchronization, yet capturing the emotional nuance or "style" of delivery remains a persistent challenge. Traditional approaches typically rely on a constrained set of categorical labels (e.g., "happy", "sad") or require a reference video for style transfer. These methods are often inflexible, failing to capture the vast spectrum of human expression, and can be cumbersome for users who must provide specific visual references.

ExpCLIP addresses these limitations by enabling fine-grained, flexible style control through natural language prompts. By allowing users to describe desired expressions in plain English—such as "someone seeing a miracle"—the framework bridges the gap between semantic intent and 3D facial geometry.

Methodology

The core of the proposed framework is ExpCLIP, a CLIP-based autoencoder designed to align 3D facial expressions (blendshapes), textual descriptions, and facial images within a shared semantic space.

Semantic Alignment and TEAD

The researchers developed a Text-Expression Alignment Dataset (TEAD) containing 50,000 entries. To avoid the high cost of manual labeling, they employed an "LLM-in-the-loop" strategy. A Large Language Model was used to translate emotional transcripts into specific Facial Action Units (AUs) and descriptive situational prompts. These AUs were then mapped to 3D blendshape weights.

Animation Generation

The animation model utilizes a Transformer architecture that integrates speech features—extracted via wav2vec2.0—with style embeddings from ExpCLIP.

Speech input waveform used for driving facial animations.

To maintain lip-sync integrity while applying emotional styles, a lip motion constraint was implemented. This constraint ensures that while the overall facial "style" changes, the relative displacement of the lips required for speech remains consistent.

Key Results

ExpCLIP demonstrates superior performance in both quantitative metrics and qualitative assessments. The introduction of Expression Prompt Augmentation (EPA)—a technique that perturbs known expressions during training—reduced Mean Squared Error (MSE) in blendshape reconstruction by over 70% on the TEAD and BEAT datasets.

Example of a generated expressive facial expression (smile).

In user studies involving 20 volunteers, ExpCLIP's text-based control significantly outperformed state-of-the-art models like EAMM. It achieved a score of 3.93/5 for emotional consistency and lip-sync accuracy, compared to EAMM’s 1.99/5. The model successfully distinguishes between generic emotions and specific descriptive prompts, such as "brow lowerer."

Conclusion

ExpCLIP represents a significant advancement in making high-fidelity, emotional AI avatars accessible. By leveraging the semantic power of LLMs and the multimodal alignment capabilities of CLIP, the framework provides a user-friendly and flexible interface for speech-driven animation. Future work will focus on improving temporal dynamics to allow emotions to fluctuate naturally within a single sentence and further refining the balance between extreme expressions and speech legibility.

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},
}
Figure