NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DiffSHEG: A Diffusion-Based Approach for Real-Time Speech-driven Holistic 3D Expression and Gesture Generation

Junming Chen, Yunfei Liu, Jianan Wang, Ailing Zeng, Yu Li, Qifeng Chen

TL;DR

DiffSHEG is a novel diffusion-based framework that generates synchronized, realistic 3D facial expressions and body gestures simultaneously from raw speech. By introducing a uni-directional information flow from expression to gesture and a training-free outpainting sampling strategy, it achieves state-of-the-art generation quality and enables real-time, infinite-length motion synthesis.

What Problem Does This Paper Address?

When humans speak, our facial expressions and body language are intrinsically linked and synchronized. However, creating lifelike virtual avatars (digital humans) that mimic this holistic behavior is challenging. Most existing speech-driven animation methods generate either facial expressions or body gestures independently.

The few methods that attempt joint generation typically suffer from two main flaws:

  1. Disconnection: They model expressions and gestures via separate pipelines, ignoring the joint distribution and resulting in a lack of harmony between the face and body.
  2. Oversimplification: They rely on deterministic models (like standard CNNs or MLPs) that struggle with the "many-to-many" nature of human speech—where the same sentence can be spoken with completely different gestures depending on the context or style.

Furthermore, generating arbitrary-length animations usually requires complex autoregressive training strategies that limit flexibility at inference time. DiffSHEG tackles these challenges to deliver a unified, real-time, and flexible solution.

Figure 1. DiffSHEG is a unified co-speech expression and gesture generation system based on diffusion models. It captures the joint expression-gesture distribution by enabling the uni-directional in- formation flow from expression to gesture inside the model.

Methods

DiffSHEG utilizes a diffusion-based architecture consisting of two primary components: advanced audio encoders (combining low-level Mel-spectrograms and high-level HuBERT features) and the Uni-directional Expression-Gesture (UniEG) Transformer Generator.

1. UniEG Transformer Generator

Instead of naively concatenating expression and gesture vectors, the UniEG architecture enforces an asymmetric, uni-directional information flow. In each denoising step, the model predicts facial expressions first, cuts off the gradient to prevent backpropagation from destabilizing the facial features, and then feeds these predicted expressions as conditioning cues into the gesture generation branch.

2. Motion-Speech Fusion Residual Block

To naturally align audio and motion without the computational overhead of cross-attention masks, the authors introduce a residual block that concatenates motion features with speech embeddings and projects them using a LayerNorm and MLP setup. This stabilizes training and accelerates convergence.

Figure 2. DiffSHEG framework overview. Left: Audio Encoders and UniEG-Transformer Generator. Given an audio clip, we encode the audio into a low-level feature Mel-Spectrogram and a high-level HuBERT feature. An audio encoder learns a mid-level representation of speech. The audio features are concatenated with other optional temporal conditions and then fed into the UniEG Transformer Denoiser. The denoising block fuses the conditions with noisy motion at diffusion step t and feeds it into style-aware transformers to get the predicted noises. The uni-directional condition flow is enforced from expression to gesture for joint distribution learning. Right: The detailed architecture of style-aware Transformer encoder and motion-condition fusion residual block.

3. FOPPAS (Fast Out-Painting-based Partial Autoregressive Sampling)

For infinite-length generation, the authors propose FOPPAS. Instead of conditioning the model on historical frames during training, DiffSHEG is trained only on short, independent clips. At inference time, long sequences are generated by treating the transition between clips as an outpainting problem—fixing the overlapping frames from the previous clip and diffusing the remainder. To achieve real-time inference, they adapt this outpainting process from a 1000-step DDPM to a 25-step DDIM sampler.

Figure 3. Illustration for outpainting-based arbitrary long se- quence inference. Given a previous clip, we generate current clip by outpainting the remaining frames (light blue) according to the overlaping frames (deep blue). Each row of blue bar represents a motion clip from a single sampling process.

Datasets

The model was evaluated on two prominent public datasets:

  • BEAT (Body Expressions Action Text): A large-scale multi-modal dataset. The authors utilized data from four subjects, downsampled to 15 frames per second (FPS), using axis-angle rotations for smooth motion representation.
  • SHOW: A recent audio-visual dataset providing SMPLX holistic 3D body parameters reconstructed from videos at 30 FPS across four individuals.

Key Insights and Ideas

  • Asymmetric Correlation: The core insight behind the UniEG generator is that the relationship between face and body is one-way. Facial expressions (especially lip movements) are strictly bound to speech acoustics. While facial expressions heavily influence body language (e.g., a surprised face precedes a startled gesture), body gestures rarely dictate lip movements. Forcing a bidirectional flow introduces noise that degrades facial realism.
  • Training-Free Autoregression: FOPPAS demonstrates that diffusion models do not need to be trained autoregressively to generate long, continuous sequences. Outpainting at test time provides a smoother, more flexible alternative that eliminates the need for initial "seed motions."

Key Results

DiffSHEG achieves state-of-the-art performance across both quantitative metrics and qualitative user evaluations:

  • Distribution Matching: DiffSHEG significantly outperformed baselines (such as CaMN, DiffGesture, and TalkSHOW) on Fréchet Motion Distance (FMD), Fréchet Gesture Distance (FGD), and Fréchet Expression Distance (FED), proving its superior ability to capture the true joint distribution of human motion.
  • Real-Time Speed: Thanks to the DDIM-adapted FOPPAS mechanism, the framework achieves an inference speed of 31.5 FPS on a single NVIDIA GeForce RTX 3090 GPU, making it fully capable of real-time streaming applications.
  • User Preference: In user studies evaluating realism, diversity, and speech-motion synchronism, DiffSHEG was dominantly preferred over all baseline methods.
Qualitative comparison on the BEAT dataset against baseline methods.

Limitations and Future Work

Because DiffSHEG is a generative model that faithfully replicates the underlying data distribution, it is highly sensitive to dataset quality. If the training data contains noise, tracking errors, or unnatural jitter (as observed in some female character samples in the BEAT dataset), the model mistakenly learns these artifacts and reproduces them in the generated output. Future work will likely focus on robust filtering techniques to prevent data-born distortions from propagating into the synthesized animations.

Summary updated

BibTeX
@misc{chen2024diffsheg,
  author = {Junming Chen and Yunfei Liu and Jianan Wang and Ailing Zeng and Yu Li and Qifeng Chen},
  title = {{DiffSHEG: A Diffusion-Based Approach for Real-Time Speech-driven Holistic 3D Expression and Gesture Generation}},
  year = {2024},
  eprint = {2401.04747},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.04747},
}
Figure