arXiv(opens in a new tab)cs.CVAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.13495

TraVEL: Trajectory-Guided Video Embedding Learning for Driving-Video Retrieval

Yi-Chung Chen, Philip Jacobson, Tom Lampo, Yiren Lu, Jin Yao, David I. Inouye, Jing Gao, Danhua Guo, Burhan Yaman

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Efficiently retrieving relevant clips from large-scale driving logs is essential for data curation, model development, and safety analysis. Structured and rule-based retrieval systems can explicitly target driving events, but typically require expert-defined rules, auxiliary data, and multi-stage perception pipelines. Multimodal embedding models offer a simpler and more efficient alternative by representing each video with a single searchable vector. However, general-purpose models often rely on shortcuts from static scene context and struggle to distinguish motion-centric events, such as turning left versus right or accelerating versus decelerating. In this work, we study how to adapt a general-purpose multimodal embedding model to driving-video retrieval. We first fine-tune Qwen3-VL-Embedding on paired clips and reasoning traces from nuReasoning using an InfoNCE objective. While this stage substantially improves overall retrieval, caption supervision alone remains insufficient for fine-grained motion understanding. We therefore introduce TraVEL (Trajectory-Guided Video Embedding Learning), a motion-aware fine-tuning framework that uses ego-trajectory similarity as a reward within Group Relative Policy Optimization. Trajectories serve only as privileged training supervision; retrieval still operates on single-vector video embeddings without ego poses, expert rules, or auxiliary perception outputs. We further construct a driving-video retrieval benchmark from nuReasoning. Experiments show that TraVEL improves motion-centric retrieval across model scales: relative to SFT, it raises longitudinal and lateral mAP by 9.8 and 4.7 points at 2B, with corresponding gains of 7.2 and 1.5 points at 8B. TraVEL thus combines physically grounded supervision with efficient embedding-based search.

1 Introduction

Large-scale autonomous-driving fleets continuously collect vast amounts of video, yet safety-critical interactions and long-tail events constitute only a small fraction of these logs. Retrieving scenarios of interest is therefore a critical component of autonomous-driving data engines: retrieved examples can be curated for targeted annotation and model improvement [12], selected for simulation and safety validation [2, 3], or used as precedents for counterfactual assessment of candidate driving actions [19]. Such targeted data curation can support the development and evaluation of downstream driving systems [14, 29]. The value of these downstream workflows depends on whether operationally meaningful events can be reliably surfaced from large-scale driving data.

In practice, a common and dependable way to retrieve well-specified driving events is to use structured or rule-based systems that translate expert knowledge into functions over detected events and motion cues [30]. Such systems provide explicit control over the target scenario, but the relevant event definitions and decision rules must be designed in advance and calibrated to the domain. Their execution also commonly depends on auxiliary data or multi-stage perception outputs, such as object detections, tracks, map elements, and ego-motion signals. Extending them to new event vocabularies, datasets, or operating conditions can therefore incur substantial engineering cost.

In contrast, multimodal embedding models offer a direct and efficient retrieval interface. They map text and video into a shared representation space, allowing every clip to be precomputed as a single vector and searched through fast similarity matching without a structured event detector or reasoning pipeline at retrieval time. Beginning with CLIP [21], recent methods have adapted increasingly capable vision-language models into general-purpose embedding models; VLM2Vec, VLM2Vec-V2 [8, 17], and Qwen3-VL-Embedding [11] achieve strong performance across a broad range of multimodal retrieval tasks. However, this simplicity does not guarantee sensitivity to the distinctions that matter in driving. Video–text models often exploit shortcuts based on objects or static scene context and struggle with counterfactual descriptions that differ primarily in their actions [16]. Consequently, operationally opposite events, such as turning left versus right or accelerating versus decelerating, can remain difficult to distinguish when they occur in visually similar scenes.

Motivated by this tension between efficient retrieval and motion sensitivity, we ask: Can a general-purpose multimodal embedding model be adapted into an effective driving-video retriever? We first evaluate Qwen3-VL-Embedding on driving videos and observe a substantial domain gap: zero-shot retrieval varies widely across actions and is particularly weak for directional turns, lane changes, and subtle within-lane motion. We then fine-tune the model on video clips paired with reasoning-trace captions from the nuReasoning dataset [6] using the InfoNCE objective [23]. Although this supervised fine-tuning stage substantially improves overall retrieval, several motion-centric queries, including acceleration and deceleration, remain challenging even when the corresponding terms appear in the training captions. Caption supervision alone therefore does not provide a sufficiently dense signal for learning fine-grained vehicle motion.

To address this limitation, we introduce TraVEL (Trajectory-Guided Video Embedding Learning), a motion-aware fine-tuning framework that uses ego-trajectory similarity as a privileged training signal. Ego trajectories are commonly available from onboard localization and inertial sensors; when they are not, they can also be estimated directly from camera observations using visual geometry models such as DVGT [32]. TraVEL incorporates this signal through Group Relative Policy Optimization (GRPO) [4], encouraging the video embedding space to reflect the structure of vehicle motion. As illustrated in Fig. 1, TraVEL increases similarity between clips that share the same ego trajectory despite different visual contexts, while decreasing similarity between visually similar clips with incompatible motion. After training, each clip is still indexed and retrieved using a single embedding; ego poses, expert-defined rules, and auxiliary perception outputs are not required at retrieval time. TraVEL thus combines physically grounded motion supervision with the simplicity and efficiency of embedding-based search, yielding particularly clear gains on motion-centric queries.

Figure

Figure 1: Conceptual effect of TraVEL fine-tuning on the video embedding space. Before trajectory-aware fine-tuning (left), two daytime clips receive relatively high cosine similarity (0.4200.420) despite exhibiting different ego motion: an accelerating left turn versus a decelerating right turn. Meanwhile, daytime and nighttime clips that share the same accelerating left-turn trajectory have low similarity (0.1230.123). TraVEL reverses this context bias (right), reducing the similarity of the motion-incompatible pair to 0.0940.094 and increasing the similarity of the matched-trajectory pair to 0.4620.462. Thus, the learned geometry becomes more sensitive to vehicle motion and less dominated by visual context.

Our contributions are threefold:

  • We present TraVEL, a simple and effective framework for adapting general-purpose multimodal embedding models to driving-video retrieval.
  • We introduce a trajectory-derived reward and a GRPO-based fine-tuning stage that make video embeddings more sensitive to ego motion and improve downstream retrieval performance.
  • We introduce a driving-video retrieval benchmark derived from nuReasoning and demonstrate the potential of embedding-based retrieval for motion-centric driving queries.

References (29)