Audio2Gestures: Generating Diverse Gestures From Audio

Jing Li, Di Kang, Wenjie Pei, Xuefei Zhe, Ying Zhang, Linchao Bao, Zhenyu He

TL;DR

Audio2Gestures introduces a novel conditional Variational Autoencoder (cVAE) framework that explicitly models the complex, "one-to-many" relationship between speech audio and human body language. By splitting the latent space into an audio-shared code and a motion-specific code, the model successfully generates diverse, realistic, and smooth 2D/3D gestures from a single audio clip, avoiding the plain, "averaged" motions typical of traditional deterministic models.

What Problem Does This Paper Address?

When humans speak, our gestures are inherently non-deterministic. Saying the word "completely" might be accompanied by a sweeping two-handed gesture in one instance, or a subtle nod in another, depending on our mood, posture, or environment. This is known as a one-to-many mapping problem.

Illustration of the one-to-many mapping between audio and motion where the same word "completely" yields different gestures.

Traditional deep learning approaches (like standard CNNs or RNNs) assume a strict one-to-one mapping. When trained on diverse datasets, these models try to minimize regression errors by predicting the mathematical average of all possible gestures. The result? Avatars that perform plain, boring, or unnaturally static movements. The authors tackle this gap by designing a generative framework capable of producing multiple distinct, highly realistic gesture sequences from the exact same audio input.

Methods

The core innovation is a split latent space within a conditional Variational Autoencoder (cVAE) pipeline:

  1. Shared Code ($S_A$): Extracted from the audio signal, capturing features tightly correlated with speech, such as rhythm and speed.
  2. Motion-Specific Code ($I_M$): Captures stylistic variations that are independent of the audio.

During inference, the target motion isn't available, so the motion-specific code ($I_R$) is randomly sampled from a Gaussian distribution and passed through a mapping network.

The Audio2Gestures pipeline explicitly splits the latent space into shared and motion-specific codes to enable diverse gesture generation.

Overcoming Network Degeneration

A major challenge with this architecture is that the motion decoder can easily "cheat" by ignoring the audio-shared code entirely and relying solely on the motion-specific code to reconstruct gestures (acting as a basic motion autoencoder). To prevent this, the authors introduce a suite of specialized training losses:

  • Relaxed Motion Loss: Instead of forcing the decoder to perfectly reconstruct a single ground-truth target when using a randomized motion code, this loss only penalizes joint positions if they deviate past a certain threshold ($\rho$). This gives the motion-specific code room to innovate without breaking the audio's overall control.
  • Bicycle Constraint & Diversity Loss: These prevent mode collapse, ensuring that different random seeds actually map to visibly distinct, high-quality movements.
  • Structural Dynamics Losses: Beyond standard point-wise losses (like L1 distance), they incorporate Short-term Fourier Transform (STFT) and Structural Similarity (SSIM) losses to ensure temporal smoothness and realistic motion dynamics.
The specialized training configuration featuring alignment constraints, relaxed motion loss, and bicycle constraints.

Datasets

The authors evaluated their method on both 3D and 2D gesture datasets:

  • Trinity Speech-Gesture Dataset: A large-scale 3D dataset containing 244 minutes of high-quality motion capture (MoCap) data (56 joints) paired with 44kHz audio of a male native English speaker.
  • S2G-Ellen Dataset: A 2D dataset consisting of 2D upper-body joint positions (49 joints) extracted from 504 YouTube videos of Ellen DeGeneres.

Key Insights and Ideas

  • The "Averaging" Trap is Structural: Models that lack a probabilistic or multi-modal latent space are mathematically forced to output static/mean poses when faced with multi-modal training data.
  • Point-wise Metrics are Deceptive: Standard evaluation metrics like $L_1$ joint distance or Percentage of Correct Keypoints (PCK) can assign high scores to completely static, dead poses. Incorporating frequency-domain metrics like STFT and structural metrics like SSIM as training losses drastically improves the perceived naturalness and nuance of the motion.
  • User-Controllable Timeline Editing: Because the motion-specific code strongly dictates the style of the gesture, users can manually inject specific motion codes at precise timestamps, allowing for seamless, art-directed gesture editing.

Key Results

  • Higher Diversity and Multimodality: On the Trinity dataset, Audio2Gestures achieved a multimodality score of 4.11 and a diversity score of 6.32, significantly outperforming baseline models like Speech2Gesture (which cannot generate multimodal variations) and StyleGestures (which suffered from LSTM error accumulation over long sequences).
  • Balanced Realism: Unlike GAN-based variants that introduce artifacts and jerky movements to achieve diversity, Audio2Gestures maintains a low $L_1$ positional error (7.84) close to deterministic baselines while unlocking high-fidelity variety.
  • Human Preference: Extensive user studies confirmed that motions trained with the newly introduced STFT loss were perceived as significantly more natural and detailed than those trained on standard point-wise losses alone.

Limitations and Future Work

While Audio2Gestures excels at matching the rhythm, pitch, and tempo of speech, it operates entirely on acoustic features. This means the model does not understand the semantic meaning of the words being spoken. For instance, if a speaker says "up," the model might generate a downward gesture if the acoustic rhythm dictates it.

The authors note that incorporating semantic text features—such as word embeddings (e.g., BERT)—as an additional conditioning variable is a promising direction to align both the rhythm and the meaning of co-speech gestures.

Summary updated

BibTeX
@article{li2024audio,
  author = {Jing Li and Di Kang and Wenjie Pei and Xuefei Zhe and Ying Zhang and Linchao Bao and Zhenyu He},
  title = {{Audio2Gestures: Generating Diverse Gestures From Audio}},
  journal = {IEEE Trans. Vis. Comput. Graph.},
  year = {2024},
  doi = {10.1109/tvcg.2023.3276973},
}
Figure