Generative method improves text to human motion retrieval accuracy

From Matching to Generation: Learning Hierarchical Semantic Motion IDs for Generative Text-to-Motion Retrieval

Computer Vision and Pattern Recognition

Summary

Matching human motions to written descriptions is hard because existing methods only check for similarity in a shared space, which misses fine details. The authors propose a new approach that learns a hierarchy of motion identifiers to better organize motions and capture subtle differences. Their method then generates these IDs conditioned on the input text, making retrieval more precise. Tests show their method outperforms previous ones on popular motion datasets.

What this means in practice

Authors

Yizhou Chen, Guangtao Lyu, Chenghao Xu, Jiexi Yan, Yanhua Yang

Abstract

Text-to-motion retrieval aims to identify human motion sequences that match a natural language description. Existing methods primarily rely on cross-modal similarity matching in a shared embedding space, which limits deep cross-modal interaction during matching and hinders precise alignment of semantic details across modalities. Generative retrieval offers an alternative way to model relevance by enabling dynamic interaction between queries and candidate identifiers during generation, progressively refining candidate selection. However, adapting this paradigm to human motion poses two challenges: learning hierarchical semantic IDs that organize related motions while preserving fine-grained differences, and aligning ID generation with retrieval ranking. To address these challenges, we propose HiMoID, a generative framework for text-to-motion retrieval. The first stage, hierarchical semantic motion quantization, combines full-motion reconstruction with semantic prefix organization to preserve motion details and encourage semantically related motions to share prefixes. Building on this hierarchy, the second stage, retrieval-oriented semantic ID generation, uses query-conditioned branch targets and tree-structured distribution supervision to guide the generator's allocation of probability across candidate branches according to their relevance to the query. Extensive experiments on HumanML3D and KIT-ML demonstrate that HiMoID achieves state-of-the-art performance in text-to-motion retrieval.