Abstract
Generating realistic human motion in response to environmental stimuli is a critical challenge in character animation. While existing methods focus on text, music, or speech, they often ignore the spatial characteristics of ambient sounds. We introduce MOSPA (Human Motion generation driven by Spatial Audio), a diffusion-based framework designed to generate kinematic human responses to binaural audio. To support this task, we present the SAM dataset, the first large-scale collection of paired spatial audio and human motion. Our results demonstrate that MOSPA significantly outperforms existing audio-to-motion baselines in generating nuanced, spatially-aware reactions.
Introduction
In virtual character animation, significant progress has been made in generating motion from text, music, and speech. However, environmental spatial audio—a key driver of human behavior—has been largely overlooked. In the real world, humans constantly react to their soundscape; a sudden noise to the right might trigger a startle response or a defensive posture. Current models typically focus on rhythmic or semantic audio features, failing to capture the directional and intensity-based cues necessary for realistic environmental reactions. This paper addresses this gap by proposing the task of mapping binaural audio stimuli to kinematic human responses.
Methods
We propose MOSPA (Human MOtion generation driven by SPatial Audio), a diffusion-based generative framework. The model architecture is designed to bridge the gap between 3D audio perception and physical movement.
Audio Feature Extraction
Unlike traditional models, MOSPA extracts features that capture both the intensity and spatial dynamics of sound. This includes Root Mean Square (RMS) energy and "active frame" detection alongside standard temporal features like MFCCs. These metrics allow the model to interpret the distance and loudness of sound sources.
Diffusion Architecture and Conditioning
MOSPA utilizes a Transformer-encoder to reverse a Markov chain diffusion process. A key architectural choice is the direct prediction of the clean motion sequence ($\hat{x}_0$) at each step, which enhances temporal consistency in continuous motion. The model is conditioned on three primary inputs:
- Extracted Audio Features: Capturing the physical properties of the sound.
- Sound Source Location (SSL): Providing directional context.
- Motion Genre: A categorical input (dull, neutral, or sensitive) that dictates the personality and intensity of the reaction.
To ensure physical realism, the model is trained with a combination of Mean Squared Error (MSE) and geometric losses, including forward kinematics and foot contact constraints.
The SAM Dataset
As no existing datasets paired spatial audio with human motion, we curated the SAM (Spatial Audio-Driven Human Motion) dataset. It comprises over 9 hours of motion capture data (4 million+ frames) mapped to the SMPL-X body model. The dataset covers 27 common spatial audio scenarios and 20 distinct reaction types. Recordings were made using a Vicon mocap system synchronized with binaural microphones on the actors' ears, ensuring the audio perfectly reflects the actor's perspective.
Key Results
MOSPA was compared against adapted versions of state-of-the-art audio-to-motion baselines, including EDGE and Bailando. MOSPA significantly outperformed these models across both quantitative and qualitative metrics.
- Quantitative Performance: MOSPA achieved a Top-1 R-precision of 0.937 and a Fréchet Inception Distance (FID) of 7.981, indicating a high degree of realism and alignment with ground truth distributions.
- Qualitative Nuance: The model successfully generates context-appropriate behaviors, such as turning toward a subtle sound or seeking cover from a loud explosion.
- User Evaluation: In a study with 25 participants, MOSPA was preferred over baselines in terms of intent alignment, motion quality, and similarity to ground truth.
Discussion and Future Work
While MOSPA establishes a strong baseline, it is currently limited by a lack of environmental scene awareness; characters may react to sounds without considering surrounding geometry (e.g., walking through walls). Furthermore, the current model focuses on the 25 main body joints, omitting fine-grained facial and hand expressions. Future research will explore integrating physics-based control and scene affordance prediction to further enhance the realism of generated motions.
Summary updated