Cross-Modal Retrieval for Motion and Text via DropTriple Loss
Sheng Yan, Yang Liu, Haoqiang Wang, Xin Du, Mengyuan Liu, Hong Liu
TL;DR
This work tackles cross-modal retrieval between 3D human motion and natural language by introducing a compact dual-unimodal transformer framework and a novel DropTriple Loss. DropTriple Loss prunes false negatives—samples with high intra-modal similarity to positives—before mining genuine hard negatives, addressing semantic conflicts arising from overlapping atomic actions in motion data. Empirical results on HumanML3D and KIT-ML show consistent improvements over SH and MH losses, with notable gains in R@1, R@5, and R@10, and further improvements when fine-tuning the language model. The approach enables more reliable motion-text search and has broad implications for applications such as surveillance and action description retrieval, with potential extension to other cross-modal domains.
Abstract
Cross-modal retrieval of image-text and video-text is a prominent research area in computer vision and natural language processing. However, there has been insufficient attention given to cross-modal retrieval between human motion and text, despite its wide-ranging applicability. To address this gap, we utilize a concise yet effective dual-unimodal transformer encoder for tackling this task. Recognizing that overlapping atomic actions in different human motion sequences can lead to semantic conflicts between samples, we explore a novel triplet loss function called DropTriple Loss. This loss function discards false negative samples from the negative sample set and focuses on mining remaining genuinely hard negative samples for triplet training, thereby reducing violations they cause. We evaluate our model and approach on the HumanML3D and KIT Motion-Language datasets. On the latest HumanML3D dataset, we achieve a recall of 62.9% for motion retrieval and 71.5% for text retrieval (both based on R@10). The source code for our approach is publicly available at https://github.com/eanson023/rehamot.
