Multi-Modal Motion Retrieval by Learning a Fine-Grained Joint Embedding Space

Shiyao Yu, Zi-An Wang, Kangning Yin, Zheng Tian, Mingyuan Zhang, Weixin Si, Shihao Zou · DOI

TL;DR

This paper introduces a novel four-modal motion retrieval system (text, audio, video, motion) that leverages a fine-grained, sequence-level alignment to achieve superior performance. By incorporating audio for the first time and developing a more nuanced embedding space, it significantly improves motion retrieval accuracy and user experience.

What Problem Does This Paper Address?

Human motion acquisition is vital for applications like animation, gaming, and virtual reality. While motion generation exists, it often lacks control and predictability. Motion retrieval offers a more precise and controllable alternative. Existing multi-modal retrieval methods typically use text or visual inputs and often employ "global" alignment, which can miss crucial sequential details within the data. This limits their effectiveness, especially for modalities like text and audio where specific phrases or sounds correspond to only brief moments in a motion. The paper aims to bridge this gap by creating a more intuitive and accurate retrieval system that can handle multiple modalities, including audio, and better capture the fine-grained temporal relationships within them.

Methods

The core of the proposed framework is a fine-grained joint embedding space that aligns four modalities: text, audio, video, and motion.

  • Motion Encoder: This encoder processes human motion by first decomposing poses into individual body parts (limbs, torso) and then using a multi-stage transformer to capture both spatial relationships between body parts and temporal dependencies within the sequence.
  • Sequence-Level Contrastive Learning: Instead of global alignment, the system uses a sequence-level contrastive learning approach. This means it aligns individual tokens (e.g., words, audio frames, video frames) from one modality with their most relevant counterparts in another. This is achieved by computing token-to-token similarities and selecting the maximum similarity score, allowing the model to focus on critical moments.
  • Audio Processing: A novel memory-retrieval-based module is introduced to handle the variable lengths and sparsity of audio signals. It uses WavLM for feature extraction and a memory module to condense these features into more manageable representations.
  • Multi-Modal Alignment: The alignment is enforced using a combination of losses, including a bidirectional KL divergence loss for text-motion alignment and a reconstruction loss that encourages the model to reconstruct masked motion tokens using information from other modalities.

Datasets

The authors created two new multi-modal motion retrieval datasets by augmenting existing ones:

  • HumanML3D [10] and KIT-ML [9]: These are standard text-to-motion datasets.
  • Augmented Datasets: The authors synthesized audio recordings from the text descriptions in HumanML3D and KIT-ML. They used ChatGPT to rephrase descriptions into a more conversational style and then employed the Tortoise text-to-speech model to generate diverse audio clips. This resulted in two new datasets:
  • Original Dataset: Paired text and motion.
  • Oral Dataset: Paired conversational audio and motion.

Key Insights and Ideas

  • Audio as a Retrieval Modality: Incorporating audio significantly enhances user immersion and convenience in motion retrieval, offering a more intuitive interaction mode.
  • Sequence-Level Alignment is Crucial: Global alignment methods miss fine-grained temporal details. Aligning sequences at the token level (e.g., matching specific words to specific motion frames) leads to much more accurate retrieval.
  • Body-Part Decomposition Improves Motion Encoding: Treating human motion as a collection of interacting body parts, rather than a monolithic sequence, allows for a more nuanced understanding of motion.
  • Handling Audio Variability: The proposed memory-retrieval-based audio processing module is effective in dealing with the inherent variability in audio signal lengths, a common challenge in audio-based tasks.
  • Conversational Audio is Key: Models trained on conversational audio (Oral Dataset) perform significantly better than those trained on more formal text-to-speech outputs, highlighting the importance of realistic, natural language for practical applications.

Key Results

  • Superior Performance: The 4-modal framework achieved state-of-the-art results on the HumanML3D dataset, with a 10.16% improvement in R@10 for text-to-motion retrieval and a 25.43% improvement in R@1 for video-to-motion retrieval compared to previous methods.
  • Multi-Modal Advantage: The 4-modal framework consistently outperformed its 3-modal counterpart, demonstrating the value of incorporating audio.
  • KIT-ML Performance: Similar improvements were observed on the KIT-ML dataset, with the 4-modal approach achieving 60.22% R@10 for text-to-motion retrieval.
  • Audio-Motion Retrieval: The model showed competitive performance in audio-to-motion retrieval, comparable to text-to-motion retrieval.
  • Generalization: The model trained on synthetic audio demonstrated strong generalization to real-world audio, including noisy conditions.

Limitations and Future Work

  • Motion Sequence Length Limit: The current model has a fixed motion sequence length limit (196 frames at 20 FPS), which can affect retrieval for very long textual descriptions. The authors suggest solutions like splitting long sentences, reducing FPS, or using more efficient Transformer architectures.
  • Dataset Scale: While the augmented datasets are valuable, the performance difference between HumanML3D and KIT-ML suggests that larger, more diverse datasets are still beneficial for robust generalization.
  • Future Work: The authors suggest exploring more advanced audio processing techniques, investigating different alignment strategies, and further optimizing the model for real-time applications. The success of the 4-modal approach also opens doors for incorporating even more modalities.

Summary updated

BibTeX
@misc{yu2025multi,
  author = {Shiyao Yu and Zi-An Wang and Kangning Yin and Zheng Tian and Mingyuan Zhang and Weixin Si and Shihao Zou},
  title = {{Multi-Modal Motion Retrieval by Learning a Fine-Grained Joint Embedding Space}},
  year = {2025},
  eprint = {2507.23188},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.23188},
}
Figure