Personal project · public or synthetic data
Text-to-motion retrieval
Find a motion-capture sequence from a sentence. 1st place in the Kaggle challenge, then a rebuilt pipeline evaluated on motions never seen in training and served behind an API.
Key results
- Kaggle score (2nd team: 0.867)
- 0.898
- R@1 among 32, unseen motions
- 0.571
- query latency on CPU
- 20 ms
From a sentence to a motion
Describe a two-person interaction in English ("two people shake hands and then walk away") and retrieve the matching motion-capture sequences from a library of 6,018.
1st of 13 on Kaggle
A university data challenge on Kaggle (Université de Lille, Centrale Lille, IMT Nord Europe). Our team of three, Recall@1, finished 1st of 13 with 0.898 (2nd: 0.867, 3rd: 0.847). The score averages Recall@k for k = 1…10 weighted by 1/k, on hidden test data.
Two encoders, one shared space
A CLIP-style dual encoder: a pretrained sentence encoder for the text, a 4-layer Transformer over the motion frames, both projected to 256 dimensions and trained with a symmetric InfoNCE loss and a learnable temperature. The three descriptions of each motion act as augmentation.
Then a harder test: motions never seen
Validation check. Before rebuilding the pipeline, I checked whether the challenge’s validation folders contained motions unseen in training: they shared their motions with the training set, so they measured recognition rather than generalisation. I therefore held out whole motions to measure it. The Kaggle leaderboard itself scores hidden test data.
The rebuilt pipeline holds out 10 % of motion ids (601 motions, 1,803 descriptions) before training. On these unseen motions: R@1 0.571 with the target among 32 candidates (random: 0.031), and 0.119 against the full gallery of 601 (median rank 10).
The held-out score plateaus around epoch 20 while the training loss keeps falling: only motions truly held out reveal that plateau, which sets where to stop training.

What is still hard
A gallery R@1 of 0.12 shows that fine-grained retrieval among hundreds of similar interactions is still hard. Next: early stopping at epoch 20, hard-negative mining, a larger text encoder.