VTrajEmbed: Aligning Text with Video Object Trajectories via Spatiotemporal Embeddings
Organizations: Xingchen AGI Lab, China Telecom Artificial Intelligence Technology (Beijing) Co., Ltd. · Peking University · Nanjing University · Xi’an Jiaotong University
Abstract
Fine-grained alignment between text and video object trajectories is a core challenge in multimodal understanding. Existing embedding models excel at global retrieval, yet their single global representation entangles multiple objects and their spatiotemporal dynamics, limiting direct object-level grounding. To address this issue, we propose VTrajEmbed, an embedding model that decomposes a video into object trajectories and aligns each trajectory embedding with text for object-level grounding through retrieval. Our main contributions: (1)Slow-Fast Trajectory Encoding, a dual-branch architecture that establishes trajectory representations by densely sampling low-resolution frames for high-frequency motion cues and sparsely selecting high-resolution frames for scene context, aggregated by a shared LLM backbone; (2)Mask-Guided Contrastive Learning, a training objective built upon these representations that couples an intra-group loss and a batch-level bidirectional loss under a relation mask, excluding unverified relations and preventing confirmed matches from becoming false negatives; (3)Text2Traj-Bench, a trajectory-level text-video benchmark with model-assisted construction and human-verified query--trajectory relations. Experimental results show that VTrajEmbed-5B improves text-to-trajectory and trajectory-to-text R@1 over Qwen3-VL-Embedding-8B by 15.48 and 18.05 percentage points, respectively, and achieves 49.48% average R@1 across five global retrieval benchmarks, compared with 42.86% for Qwen3-VL-Embedding-8B.
Figures & tables
| Variant | R@1 | R@3 | mAP |
|---|---|---|---|
| Full model | 69.67 | 98.51 | 83.72 |
| w/o Slow branch | 64.58(5.09 ) | 95.49(3.02 ) | 79.86(3.86 ) |
| w/o Fast branch | 41.08(28.59 ) | 87.01(11.50 ) | 64.94(18.78 ) |
| Fast observations: 32 16 | 64.31(5.36 ) | 95.05(3.46 ) | 79.81(3.91 ) |
| w/o (group only) | 49.29(20.38 ) | 93.55(4.96 ) | 71.10(12.62 ) |
| w/o (bidirectional only) | 48.06(21.61 ) | 81.45(17.06 ) | 66.27(17.45 ) |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Symbol | Meaning |
|---|---|
| Task and candidate ranking | |
| , | Input video and natural-language query, respectively. |
| , | A candidate object trajectory and the fixed candidate pool for video . Each trajectory stores boxes and original timestamps. |
| , | Highest-scoring retrieved trajectory and designated benchmark target, respectively. |
| Retrieval logit: . | |
| Number of candidates in an evaluation pool; uniform random selection succeeds with probability . | |
Multimodal Embedding
Multimodal embedding maps text, images, audio, video, and other data into representations that support comparison and retrieval across modalities.
See all 159 papers