VEDJE: Video-Efficient Discriminative Joint Encoder for Scalable Video-Text Retrieval
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: Today's paper: "VEDJE: Video-Efficient Discriminative Joint Encoder for Scalable Video-Text Retrieval".
Jane: The gist Finding compact evidence encoded once and reused as new queries arrive allows accurate video search to operate on compact evidence,
Tom: First, who's behind it and why it matters.
Title and authors: Tom: So we've touched on the name and what it promises, but let’s look at who wrote this thing. The paper is called VEDJE: Video-Efficient Discriminative Joint Encoder for Scalable Video-Text Retrieval, and the authors are Shahaf Wagner, Gabriele Serussi, Dan Ben Ami, Tomer Galanti, and Chaim Baskin.
Jane: Yeah, it’s good to see a team from different places contributing to this work. It tells you they’re bringing in expertise from various directions when building these kinds of systems.
Lu: From what I can gather about their work, they are addressing the problem that finding the right video often requires distinguishing similar scenes in which different events occur, which is something joint matching helps with but processing rich video representations for each query is costly.
Meng: That cost is huge when you think about scaling up retrieval systems. So VEDJE’s approach seems to be a direct response to that cost by focusing on compressing features within sampled frames while keeping their representations separate in a reusable cache.
Lalam: They are using feature-change prediction as an auxiliary training signal, which they say improves retrieval from those compressed tokens even without needing an inference time predictor at query time.
The paper's summary: Tom: Let's unpack the core idea of the VEDJE paper. They’re compressing features inside sampled frames and keeping their representations separate across different sampled times to create this cache, which is what they call Z(v) equals
Z1;...;ZT: . What does that mean for how we store video evidence?
Jane: It means they are managing to keep evidence for different objects, actions, and moments in a video while keeping the total storage budget small enough for scale. They achieve this compression through that specific feature-change supervision they use during training.
Lu: The feature-change supervision is a clever trick because it allows them to train the compressed representation using future delta prediction, which helps improve retrieval from those compact tokens without needing an inference time predictor at query time.
Meng: That sounds like a way to get better performance on tight storage budgets without adding extra computation when someone is actually searching for something, which is exactly what engineers care about in deployment.
Lalam: And they show that this setup, with the lightweight joint encoder reading the cache alongside the query text and first-stage score, improves R@one in both retrieval directions across benchmarks like MSR-VTT and MSVD.
The paper's improvements: Tom: So let’s look at what they actually suggest as specific improvements in their methodology. They mention a few things that really stand out when you look at how they organized the cache and trained the system.
Jane: First, they focus on building compact frame-indexed caches, which means they compress information inside the sampled frames while keeping those frame groups separate. This gives the joint scorer access to evidence from across the whole sequence under a fixed storage budget.
Lu: They also have this feature-change supervision for compression, which is training them to predict differences between frozen features of sampled frames and then predicting those differences helps improve retrieval from the compressed representation.
Meng: I like that they show the benefit of retaining separate frame groups over pooling in their controlled comparisons, because it shows that organizing the cache differently actually boosts R@one by two points in both directions when storage stays fixed.
Lalam: They also used hardware-aware precision controls, like FP8 or FP4 quantization, and found that this reinforces the R@one reading and leaves text-to-video recall within zero point two points from the BF16 reference.
Conclusion: Tom: We’re wrapping up with the conclusion now for VEDJE. So what’s the big picture here for video search right now? What does this paper really mean for someone who only listens to our show?
Jane: The main point is establishing a practical path to joint video search where you compute compact evidence once and reuse it for later queries. This cache is query-blind, meaning it serves every subsequent query about a specific video, so selectively reading or expanding the cache at query time becomes a natural next step.
Lu: They also noted that the first and second stages aren't trained jointly yet, so closing that loop is another direction for future work. And they did mention that these evaluations span different video lengths but didn't establish performance on multilingual video retrieval.
Meng: For practical deployment, it shows a configuration like VideoPrism where shrinking the per-video cache fourfold to twelve kilobytes still keeps text-to-video recall within zero point two points, which is really impressive for resource constraints.
Lalam: And I think the final point is about how this system provides a flexible query pipeline by integrating a residual prior where the score is calculated as sθ(q, v) equals hψ(˜c(q, v)), which combines that joint representation with an embedded first-stage score to produce a final ranking.
Tom: So VEDJE shows how you can get high accuracy on video retrieval by making the evidence compact and reusing it intelligently for many queries without needing massive online computation. That’s the picture we have today on VEDJE.
Insight Lab, Ben-Gurion University of the Negev · Texas A&M University
cs.CV
Submitted: 2026-10-08
Updated: 2026-10-12
License: http://creativecommons.org/licenses/by-nc-nd/4.0/
Importance score: 90/100
The gist: The gist Finding compact evidence encoded once and reused as new queries arrive allows accurate video search to operate on compact evidence, encoded once and reused as new queries arrive VEDJE
Key concepts
- Compact frame-indexed video caches
- This technique compresses information from sampled frames during an offline indexing step. Instead of storing every frame, VEDJE creates ordered caches where features are compressed while keeping separate groups for different frames. This allows the joint scorer to access evidence across the entire video sequence within a strict storage limit.
- Feature-change supervision for compression
- This is a training method used to teach the compressor how to create efficient representations. The system trains the compressed features by predicting future differences between frozen, sampled frames. This helps the model learn to compress data effectively without needing an expensive predictor during actual search queries.
- Joint encoder and reranking
- A small joint encoder processes a query alongside the compact cache and a first-stage score. This component is then used in an online reranking stage, which uses a larger 33M encoder to refine the results. This allows for accurate video search by combining the query information with the pre-computed evidence.
Terminology
Summary
The gist Finding compact evidence encoded once and reused as new queries arrive allows accurate video search to operate on compact evidence, encoded once and reused as new queries arrive
VEDJE Overview
VEDJE addresses the problem of needing a reusable video cache that must retain evidence for different objects, actions, and moments while remaining small enough to store at scale It achieves this by compressing features within sampled frames while keeping their representations separate across sampled times The system involves an offline frozen visual encoder processing each video once, which then writes a compact representation that a small joint encoder later reads at query time alongside the query text and the scalar first-stage score
VEDJE Pipeline
The VEDJE pipeline consists of three main components: (A) Offline indexing where compression of frame-indexed features yields the ordered cache Z(v) = [Z1;...;ZT] (B) Training-only feature-change supervision which predicts differences between the frozen features of sampled frames and (C) Online reranking where a 33M joint encoder processes the query, cache, and first-stage score
Key Contributions
The paper makes three main contributions to this work
-
Compact frame-indexed video caches: Building on cached joint encoding, we compress information within sampled frames while retaining separate frame groups, giving the joint scorer access to evidence from across the sequence under a fixed storage budget
-
Feature-change supervision for compression: We train the compressed representation with future-delta feature prediction, improving retrieval under tight storage budgets without an inference-time predictor
-
Accuracy and efficiency evaluation: Across four benchmarks, VEDJE improves R@1 in both directions over matched first stages
Training and Loss Function
VEDJE jointly trains the compressor, joint encoder, prior embedding, score head, and auxiliary training heads with four objectives defined by the loss function L = Lvtm + Lvtc + Lmlm + Ldelta The matching loss Lvtm supervises the pairwise score sθ(q, v) with cross-entropy over matched and negative pairs The contrastive loss Lvtc aligns projected text CLS representations with frozen video embeddings from the corresponding backbone through symmetric in-batch InfoNCE The masked-language loss Lmlm predicts masked caption tokens from the surrounding text with cached video tokens in context Finally, Ldelta supplies the frame-level feature-change targets by predicting differences between the frozen features of sampled frames, defined by ∆b t = Fω(Zt) ∈ R
Retrieval Performance
Across MSR-VTT (Xu et al., 2016), MSVD (Chen & Dolan, 2011), DiDeMo (Hendricks et al., 2017), and ActivityNet (Krishna et al., 2017), VEDJE consistently improves R@1 in both retrieval directions over matched first-stage retrievers On MSR-VTT, it reaches 59.8 text-to-video R@1 with a fine-tuned VideoCLIP-XL first stage (Figure 1) In the VideoPrism configuration, shrinking the per-video cache fourfold to 12 KiB preserves text-to-video recall within 0.2 points
Controlled Comparisons and Efficiency
The paper evaluates VEDJE across various cache structures, feature-change training, and joint scoring methods Feature-change supervision improves retrieval from the compressed representation without adding computation to the query path Controlled comparisons show that retaining separate frame groups over pooling improves R@1 by 2.0 points in both directions when storage remains fixed The complete VideoPrism query pipeline on an NVIDIA L40S takes 5.79 ms with a 64-token configuration, compared to approximately 4.3 ms for first-stage retrieval alone This configuration has approximately 143M total online parameters, including the 33M reranker
Conclusion
The findings establish a practical route to joint video search in which compact evidence is computed once and reused for later queries The cache is query-blind, serving every later query about v, so selectively reading or expanding the cache at query time is a natural extension The first and second stages are not currently trained jointly; closing that loop is another direction Finally, these evaluations span different video lengths but do not establish performance on multilingual video retrieval
AI Use Statement
Generative AI was used to assist in writing the manuscript and in writing code, as well as in organizing material and checking consistency The empirical results were supplied by the authors, who take full responsibility for the entire content of this submission
Ethics Statement
This work collects no new data and involves no crowdsourcing, human-subject study, biometric processing, facial recognition, or identity annotation Deployments should therefore require lawful and authorized data use, role-based access, purpose limitation, query logging and auditing
Reproducibility Statement
Algorithm 1 specifies indexing and reranking; Appendices A.2–A.5 give architecture, optimization, cache quantization, compute, code release The official VideoPrism-Base and VideoPrism-LvT-B model cards declare Apache License 2.0 The MiniLM (Wang et al., 2020) checkpoint is distributed under the MIT license The MSR-VTT, MSVD, DiDeMo, and ActivityNet are used under their original release terms
References
Daniel Bolya, Po-Yao Huang, Peize Sun, Jang Hyun Cho, Andrea Madotto, Chen Wei, Tengyu Ma, Jiale Zhi, Jathushan Rajasegaran, Hanoona Bangalath, Junke Wang, Marco Monteiro, Hu Xu, Shiyu Dong (2011). Collecting highly parallel data for paraphrase evaluation Zuozhuo Dai, Kaihui Cheng (2025). Text–video retrieval re-ranking via multi-grained cross attention and frozen image encoders Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova (2019). BERT: Pre-training of deep bidirectional transformers for language understanding Lisa Anne Hendricks, Oliver Wang, Eli Shechtman, Josef Sivic, Trevor Darrell, and Bryan Russell (2017). Localizing moments in video with natural language Omar Khattab and Matei Zaharia (2020). ColBERT: Efficient and effective passage search via contextualized late interaction over BERT Dohwan Ko, Ji Soo Lee, Minhyuk Choi, Zihang Meng, and Hyunwoo J. Kim (2025). Bidirectional likelihood estimation with multi-modal large language models for text-video retrieval Sanjay Krishna, Kenji Hata, Frederic Ren, Li Fei-Fei, and Juan Carlos Niebles (2017). Dense-captioning events in videos Ji Soo Lee, Byungoh Ko, Jaewon Cho, Howoong Lee, Jaewoon Byun, and Hyunwoo J. Kim (2025). Captioning for text-video retrieval via dual-group direct preference optimization Junnan Li, Dongxu Li, Caiming Xiong, and Steven Hoi (2022). BLIP: Bootstrapping language-image pre-training for unified vision-language understanding and generation Junnan Li, Dongxu Li, Silvio Savarese, and Steven Hoi (2023a). BLIP-2: Bootstrapping language-image pre-training with frozen image encoders and large language models Kunchang Li, Yali Wang, Yizhuo Li, Yi Wang, Yinan He, Limin Wang, and Yu Qiao (2024a). Unmasked teacher: Towards training-efficient video foundation models Huaishao Luo, Lei Ji (2022). CLIP4Clip: An empirical study of CLIP for end to end video clip retrieval and captioning Yiwei Ma, Guohai Xu, Xiaoshuai Sun, Ming Yan, Ji Zhang, and Rongrong Ji (2023). X-CLIP: End-toend multi-grained contrastive learning for video-text retrieval Alec Radford et al. (2021). Learning transferable visual models from natural language supervision Arun Reddy et al. (2025). Video-ColBERT: Contextualized late interaction for text-to-video retrieval Mitchell Keren Taraday, Shahaf Wagner, and Chaim Baskin (2026).
Improvements for AI systems
-
No query-time visual encoding is required, which
indexed videos require no query-time visual encoding
(Page 2). This allows for a system that processescompact evidence, encoded once and reused as new queries arrive,
significantly reducing latency and computational overhead at runtime compared to methods that re-encode candidates online. -
The VEDJE architecture supports
joint matching
by combining cached video tokens with the query text, achieving a retrieval score ofc(q, v) = c(q, v) + eρρ(q, v)
(Equation 5). This enables the system to refine the coarse relevance estimate from a first-stage retriever using joint content between text and compressed visual evidence. -
Feature-change supervision allows for improved retrieval
without adding computation to the query path
by training a predictor Fω that learnsfeature changes from Zt and predicts differences between the frozen features of sampled frames
(Equation 3). This auxiliary signal improves performance on tight storage budgets without increasing the latency of the actual search. -
The system can achieve significant compression while maintaining high recall, as shown by the VideoPrism configuration which achieves
shrinking the per-video cache fourfold to 12 KiB
whilepreserving text-to-video recall within 0.2 points
(Page 1). This demonstrates that accurate video search can operate oncompact evidence, encoded once and reused as new queries.
-
The system provides a flexible query pipeline by integrating a residual prior, where the score is calculated as
sθ(q, v) = hψ(˜c(q, v))
(Equation 5), which combines the joint representation with an embedded first-stage score to produce a final ranking. This ensures thatthe first-stage score and joint features also contribute complementary information.
-
The system offers controlled performance tuning by allowing users to select different cache structures, such as
separate frame groups
versuspooled multi-frame caches,
which are shown to affect retrieval accuracy even when storage remains fixed (Table 4). This allows researchers to optimize the organization of cached evidence for specific retrieval tasks. -
The system can be deployed efficiently by utilizing hardware-aware precision controls, such as FP8 or FP4 quantization, which
reinforce the R@1 reading
and show thatFP8 leaves T2V and V2T values effectively unchanged from the BF16 reference
(Table 16). This enables deployment on resource-constrained devices while minimizing accuracy degradation.
Abstract
Finding the right video often requires distinguishing similar scenes in which different events occur. Joint matching improves retrieval, but processing rich video representations for each query is costly. VEDJE compresses features within sampled frames while keeping their representations separate in a reusable cache. Feature-change prediction supplies an auxiliary training signal that improves retrieval from the compressed cache without adding work at query time. On MSR-VTT, MSVD, DiDeMo, and ActivityNet, VEDJE improves R@1 over matched first-stage retrievers in both retrieval directions. On MSR-VTT, it reaches 59.8 text-to-video R@1 with a fine-tuned VideoCLIP-XL first stage. In the VideoPrism configuration, shrinking the per-video cache fourfold to 12 KiB preserves text-to-video recall within 0.2 points. These results show that accurate video search can operate on compact evidence, encoded once and reused as new queries arrive.
Related papers
- Loss Knows Best: Detecting Annotation Errors in Videos via Loss Trajectories
- AnchorWeave: World-Consistent Video Generation with Retrieved Local Spatial Memories
- Benchmarking the Robustness of Foundation Models for Mammography under Domain Shift
- MambaX-Net: Dual-Input Mamba-Enhanced Cross-Attention Network for Longitudinal MRI Segmentation
- TeleOCR: Navigating Document Parsing Across Digital and Camera-Captured Documents
- A Survey on Efficient Vision-Language-Action Models