VeRVE: Versatile Retrieval for Videos via Unified Embeddings

Shaunak Halbe, Bhagyashree Puranik, Jayakrishnan Unnikrishnan, Kushan Thakkar, Vimal Bhat, Toufiq ParagarXiv 2026

TL;DR

VeRVE is a versatile video retrieval framework that bridges the gap between rigid, specialized dual-encoders and flexible but underperforming Multimodal Large Language Models (MLLMs). By contrastively aligning a single MLLM backbone using LoRA, VeRVE handles corpus-level text-to-video search, zero-shot composed video retrieval, and zero-shot moment localization within a single architecture, achieving state-of-the-art results with a fraction of the training data used by specialized models.

What Problem Does This Paper Address?

Video retrieval is a multi-faceted challenge. Users might want to find a video from a massive collection using text (corpus-level retrieval), pinpoint a specific timestamp within a video (moment retrieval), or search using a combination of a video and text modifiers (composed video retrieval, e.g., "find a video like this clip, but set in a snowy environment").

Historically, solving these tasks required a trade-off:

  1. Specialized Dual-Encoders: Models like InternVideo2 excel at standard text-to-video retrieval by training on hundreds of millions of samples, but their rigid architecture cannot natively process complex, composed multimodal queries.
  2. MLLM-Based Retrievers: While MLLMs naturally understand interleaved text and visual inputs, their retrieval performance on standard benchmarks lags significantly behind specialized systems because they are primarily optimized for generation rather than embedding alignment.

VeRVE addresses this disconnect by providing a unified, retrieval-centric MLLM framework that excels at all three tasks simultaneously without sacrificing performance or requiring task-specific architectural modifications.

Figure 1. VeRVE supports corpus-level retrieval with reranking, zero-shot composed video retrieval, and zero-shot moment localization within a single architecture. The table highlights that VeRVE uniquely offers unified embeddings and versatile capabilities. ⋄indicates models that, while architecturally capable of processing multimodal inputs, have not demonstrated composed video retrieval capability.

Methods

The authors introduce a two-stage framework built on top of a shared Qwen2.5-VL 7B MLLM backbone:

To turn a generative MLLM into an efficient embedding model, VeRVE repurposes the final hidden state of the end-of-sequence (EOS) token as a unified embedding anchor. Because of the causal attention mechanism, this token inherently aggregates the full multimodal context.

The model is trained using an InfoNCE contrastive loss with Low-Rank Adaptation (LoRA) to align visual and textual embeddings. The training follows a smart two-step recipe: first, it establishes a strong conceptual prior on image-caption data, and then it fine-tunes on video-text data to capture temporal dynamics.

Figure 2. VeRVE-Embed uses the final hidden state of the EOS token as an embedding anchor, and aligns visual content and text descriptions through contrastive learning.

2. VeRVE-Ranker (Candidate Refinement)

For corpus-level search, the top-K candidates from the embedding search are passed to a re-ranking stage. Instead of generating a simple "Yes/No" text response, VeRVE-Ranker uses a linear projection head on top of the joint query-video EOS embedding to output a precise matching score between 0 and 1.

To train the ranker effectively, the authors use a joint objective combining random negatives, mined hard negatives (via BCE loss), and a preference-based loss (Bradley-Terry formulation). The preference loss ensures the model learns correct relative orderings without forcing absolute zero scores on hard negatives that might share partial semantic overlap with the query.

Figure 3. VeRVE-Ranker re-scores each query–video pair by feed- ing them jointly through the MLLM and projecting the EOS hid- den state to a pointwise matching score.

3. Zero-Shot Extensions

  • Moment Retrieval: VeRVE-Embed extracts frame-level embeddings to compute a temporal similarity signal against the text query. It applies Gaussian smoothing to remove noise, detects peaks, dynamically expands temporal windows, and filters overlaps using Non-Maximum Suppression (NMS).
  • Composed Video Retrieval: Because the underlying MLLM natively supports interleaved sequences, a composed query is constructed simply by concatenating the source video, the modification text, and an instruction prompt.

Datasets

  • Training: CC-595K (image-text pairs) for Stage 1; PEVideo (105K video-text pairs from the Segment Anything corpus) for Stage 2.
  • Text-to-Video Evaluation: MSR-VTT, DiDeMo, and MSVD.
  • Composed Video Retrieval Evaluation: CoVR.
  • Moment Retrieval Evaluation: Charades-STA and ActivityNet-Captions.

Key Insights and Ideas

  • The EOS Token as a Global Anchor: Leveraging the causal attention of the MLLM's EOS token proves to be a highly effective way to extract fixed-dimensional embeddings for retrieval without losing semantic complexity.
  • Image-to-Video Transfer Efficiency: Training on image-text data before video-text data provides a robust semantic prior. This allows the model to achieve highly competitive video retrieval capabilities using only ~105K video training samples.
  • Preference-Based Ranking: Standard binary cross-entropy treats all negatives equally. Introducing a preference-based loss allows the re-ranker to handle partially relevant hard negatives gracefully, leading to much sharper discriminative performance.

Key Results

  • Text-to-Video Retrieval: On the DiDeMo dataset, VeRVE-Embed achieved 46.6% Recall@1, outperforming the specialized state-of-the-art model InternVideo2 by 4.8 percentage points in the embedding-only category. With the VeRVE-Ranker active, it reached 58.8% Recall@1.
  • Composed Video Retrieval: VeRVE set a new zero-shot state-of-the-art on the CoVR benchmark with 55.49% Recall@1, beating the previous best method by roughly 8%. When fine-tuned directly on CoVR data, it pushed further to 68.3% Recall@1.
  • Zero-Shot Moment Retrieval: Without any task-specific training or temporal annotations, VeRVE achieved top-tier performance, capturing the best mean IoU (33.4) on ActivityNet-Captions compared to other MLLM-based methods.

Limitations and Future Work

While VeRVE achieves remarkable data efficiency, it was trained on a relatively modest dataset (~700K total pairs). The authors note that scaling up to larger video-text corpora with richer, more detailed descriptions will likely unlock even stronger retrieval performance. Additionally, extending the framework to handle composed moment retrieval (localizing a modified moment within a video) remains an open direction for future exploration.

Summary updated

BibTeX
@misc{halbe2026verve,
  author = {Shaunak Halbe and Bhagyashree Puranik and Jayakrishnan Unnikrishnan and Kushan Thakkar and Vimal Bhat and Toufiq Parag},
  title = {{VeRVE: Versatile Retrieval for Videos via Unified Embeddings}},
  year = {2026},
  eprint = {2601.12193},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.12193},
}
Figure