Manuscript Offprint
arXiv:2609.01778Allocate Before You Embed: Adaptive Visual Input Allocation for Video Embeddings
Abstract
Large-scale video retrieval requires embedding models to encode long and diverse videos under tight visual-input and inference budgets. Existing methods typically sample a small, fixed set of frames at their original resolution, limiting temporal coverage and ignoring frame importance. Our empirical analysis shows that expanding temporal coverage improves retrieval even under a fixed visual-input budget. Gains are larger when the original per-frame resolution is preserved, highlighting the complementary roles of temporal coverage and spatial fidelity. Motivated by this finding, we propose AllocEmbed, an allocate-then-embed framework that reallocates a fixed visual-input budget across more frames. A lightweight allocator uses low-cost previews to assign frame-wise resolutions before the embedding backbone, preserving more detail where it most benefits retrieval while reducing visual cost elsewhere. We further introduce Retrieval-Driven Policy Optimization (RDPO), which learns the allocator directly from retrieval feedback using a rank-validated similarity gap and a confidence-guided efficiency incentive. Operating entirely before the backbone, AllocEmbed integrates with existing retrieval systems without modifying the embedding model or downstream pipeline. Experiments on the MMEB-V2 V-QA and V-RET tasks and our LongRet benchmark show that AllocEmbed achieves the best overall retrieval performance among the evaluated budget-matched methods and transfers across embedding backbones. Our code is publicly available at https://github.com/jinsong8/AllocEmbed.
1 Introduction
Video embeddings provide a common interface for large-scale video retrieval, cross-modal search, and retrieval-augmented video understanding. By

Figure 1: Fixed-frame inputs limit temporal coverage. Adding full-resolution frames increases inference cost, whereas uniform downscaling loses spatial detail. AllocEmbed preserves broad temporal coverage and key spatial detail under the same visual-input budget. H/L denote high/low resolution.
compressing a variable-length video into a fixed-dimensional vector, they make it possible to compare video content efficiently at corpus scale. In practice, however, video embedding models operate under limited visual context, and running large models over massive video collections is expensive. Existing systems therefore commonly control cost by uniformly sampling a small, fixed number of frames from each video (Luo et al., 2022; Ma et al., 2022; Meng et al., 2025). This strategy is simple and cost-effective, but it also assumes that different videos, time positions, and visual evidence carry the same value for retrieval.
Figure 1 illustrates our motivation. We first examine how temporal coverage affects video retrieval. Across four embedding backbones, sampling more frames improves retrieval when per-frame resolution is preserved. Under a fixed visual-input budget, denser sampling remains beneficial despite the resulting lower per-frame resolution, but
- Corresponding author.
yields smaller gains. Together, these results show that temporal coverage and spatial fidelity provide complementary benefits and motivate a central question: how should a fixed visual-input budget be allocated across a denser frame sequence?
We therefore propose AllocEmbed, an allocate-then-embed framework that redistributes a target visual-input budget across a denser frame sequence. Given low-cost previews of the sampled frames and the task text, a lightweight allocator predicts a continuous resolution scale for each frame and constructs a mixed-resolution video input. All sampled frames remain in their original temporal order, while their resolutions are adjusted to preserve more detail where it most benefits retrieval and reduce visual cost elsewhere. The allocated input is then processed by a frozen embedding backbone. Because allocation occurs entirely before embedding, AllocEmbed requires no changes to the backbone weights, embedding dimensionality, similarity function, or downstream retrieval pipeline.
Learning such an allocator is challenging because existing datasets provide no frame-level supervision for resolution, and an allocation can be evaluated only after preprocessing, embedding, and retrieval. We address this problem with Retrieval-Driven Policy Optimization (RDPO), which learns directly from end-to-end retrieval outcomes. RDPO samples multiple allocations for the same input and evaluates them against an augmented candidate set with in-batch and global negatives. It then constructs a group-relative learning signal from a rank-validated similarity gap, which grades only allocations that rank the positive target first. A success-gated, confidence-guided efficiency incentive further favors lower-cost allocations without rewarding cheap but incorrect decisions. This formulation trains the allocator through the actual visual preprocessing and tokenization pipeline while keeping the embedding backbone frozen.
We evaluate AllocEmbed on ten MMEB-V2 video QA and retrieval tasks and on LongRet, a new benchmark for long videos with sparse and unevenly distributed evidence. The allocator is trained with VLM2Vec-V2-2B and evaluated without retraining on three additional embedding backbones, covering model sizes from 2B to 8B parameters. Averaged across the ten MMEB-V2 tasks, AllocEmbed improves Hit@1 by 1.34–1.69 points over the corresponding fixed-frame baselines. Averaged across the four LongRet subsets, the gains increase to 5.69–9.09 points. These aggregate improvements are achieved without exceeding the visual-input cost of each backbone's fixed-frame baseline.
Our contributions are threefold:
-
We introduce AllocEmbed, an allocate-then-embed framework motivated by our finding that temporal coverage and spatial fidelity provide complementary benefits for video retrieval. To our knowledge, AllocEmbed is the first framework to study visual input allocation for VLM-based video embedding models.
-
We develop RDPO, a retrieval-driven policy optimization method that learns the allocation policy directly from ranking feedback using a rank-validated similarity gap and a confidence-guided efficiency incentive.
-
We conduct extensive experiments on MMEB-V2 and our newly constructed LongRet benchmark. AllocEmbed improves aggregate retrieval performance under matched visual-input budgets and transfers from its training backbone to three additional embedding backbones without retraining.

Figure 2: Effect of increasing the sampled frame count on mean Hit@1 across ten MMEB-V2 V-QA and V-RET tasks. Full Resolution keeps the original per-frame resolution as the frame count increases, whereas Uniform Allocation and AllocEmbed use the same visual-input budget as the 8-frame input. Blue endpoint labels show the Full Resolution gains relative to the 8-frame baseline. Each panel uses a model-specific vertical range.
frames at a uniform resolution. The trade-off between temporal coverage and per-frame spatial detail under a constrained visual-input budget therefore remains underexplored.
Efficient Video Processing and Budget Allocation. Efficient video processing typically reduces either the number of input frames or the visual representations processed by the model. Frame-selection methods retain sparse salient or query-relevant frames (Buch et al., 2025), while token merging and pruning compress visual representations within VLMs (Ryoo et al., 2024; Shen et al., 2024, 2026). Other work adapts input resolution to video content for efficient action recognition and query-aware video understanding (Meng et al., 2020; Zhang et al., 2025). Most closely related, ResAdapt learns input-side resolution assignments from final task outcomes without frame-level resolution labels while keeping the backbone unchanged (Liao et al., 2026). Adaptive-resolution methods generally target classification, answer generation, or reasoning. Efficient video retrieval methods instead rely mainly on CLIP-style encoders and reduce cost through frame selection or frame-level aggregation (Wu et al., 2023; Hu et al., 2023; Shen et al., 2025). VLM-based embedding models differ because multiple frames share the visual context, and frame count and per-frame resolution jointly determine token cost. AllocEmbed targets this setting by preserving a denser sampled sequence and learning per-frame input resolutions directly from retrieval ranking feedback without modifying the backbone.
3 Temporal Coverage and Spatial Fidelity
To study the interplay between temporal coverage and spatial fidelity in video retrieval, we vary the sampled frame count under two visual-input bud-
get regimes. Full Resolution preserves the original per-frame resolution, allowing the visual input to grow with the number of frames. Under the fixed-budget regime, Uniform Allocation accommodates additional frames by resizing them uniformly to an 8-frame-equivalent budget. Within each comparison, the embedding backbone, dataset, evaluation metric, and temporal sampling rule remain unchanged. Figure 2 reports mean Hit@1 across ten MMEB-V2 video question answering (V-QA) and video retrieval (V-RET) tasks for four backbones spanning different model families and sizes.
Observation 1: More frames help when per-frame resolution is preserved. Across all four backbones, denser sampling yields clear overall gains when the original per-frame resolution is preserved. This consistent trend indicates that conventional fixed-frame inputs leave useful temporal evidence unobserved. Sampling more frames increases the chance of capturing brief or unevenly distributed events, while preserving their resolution keeps the corresponding visual cues accessible to the embedding backbone.
Observation 2: More frames also help under a fixed visual budget. Under a fixed visual-input budget, moderately increasing the number of uniformly resized frames improves retrieval across all four backbones. The added temporal evidence can therefore compensate for the accompanying reduction in per-frame resolution. This benefit eventually diminishes as further increases force more aggressive downscaling and the resulting loss of spatial detail begins to outweigh the gain from broader temporal coverage.
Together, these findings show that temporal coverage and spatial fidelity must be balanced under a fixed visual-input budget. AllocEmbed therefore re-

Figure 3: Overview of AllocEmbed. (a) The allocator predicts per-frame resolution scales from the video and task text, and a scale-aware operator constructs a mixed-resolution input for the frozen embedding backbone. (b) RDPO evaluates multiple allocations against a candidate set augmented with global negatives, then updates the allocator using a group-relative retrieval advantage based on the rank-validated similarity gap and a confidence-guided efficiency incentive.
tains a denser frame sequence while allocating resolution non-uniformly, avoiding the uniform loss of spatial detail imposed by global downscaling.
4 AllocEmbed
4.1 Problem Formulation
Let denote a video and the task-related text input, such as a retrieval instruction or question. The embedding model must preserve retrieval-relevant visual evidence under a limited visual-input budget. Standard pipelines control cost by sampling a small, fixed number of frames at a common resolution, but their restricted temporal coverage can miss brief or sparsely distributed evidence.
We instead sample a denser candidate sequence,
where exceeds the standard frame count. Because the budget prevents all frames from being encoded at high resolution, we introduce a frame-wise allocation vector
where controls the spatial information retained from . Let and denote the resulting
retrieval utility and visual-input cost, respectively. For a budget , the desired allocation is
AllocEmbed learns a content- and text-conditioned allocation that redistributes resources across the sampled frames, expanding temporal coverage without uniformly sacrificing the spatial detail required for accurate ranking.
4.2 Allocate-Then-Embed Framework
As illustrated in Figure 3(a), AllocEmbed follows an allocate-then-embed design. Given a densely sampled candidate sequence and task text , it first uses a lightweight allocator to predict a spatial scale for each candidate frame:
Each determines the input resolution of frame . The scale-aware operator then resizes the frames according to their assigned scales, producing a mixed-resolution sequence. This sequence and are passed to the video embedding backbone to obtain the final embedding. Because allocation and scaling take place before embedding, AllocEmbed can be integrated with existing video embedding models without modifying their backbone architectures, parameters, or downstream retrieval pipelines. It improves retrieval through more effective use of the same visual-input budget.
4.2.1 Allocator Architecture
Our allocator implementation is based on ResAdapt (Liao et al., 2026). A frozen SmolVLM2-256M feature extractor (Marafioti et al., 2025) first obtains patch-level visual features from low-cost frame previews and token-level text features from the task text q. A lightweight frame-representation module then projects the two streams into a shared space, performs cross-modal fusion and spatiotemporal refinement, and aggregates the refined patch features into one representation per frame:
Here, and denote the frozen SmolVLM feature extractor and the trainable frame-representation module, respectively. Each represents candidate frame through its visual content, task relevance, and context within the candidate sequence. A lightweight policy head maps each to the parameters of a frame-specific scale distribution, as described in the next subsection. Throughout training, remains frozen, and only and the policy head are optimized.
4.2.2 Scale Policy Parameterization
For each candidate frame, the policy head maps to the positive shape parameters of a Beta distribution:
Here, is a lightweight residual MLP, and applies Softplus (Dugas et al., 2000) element-wise to ensure that both parameters are positive. A normalized action is drawn from the predicted Beta distribution and linearly mapped to the allowed scale range:
Since the Beta distribution is supported on , the mapped scale satisfies . By default, we retain the training-time scale range at inference. The learned policy then assigns to most frames, allowing the backbone to process more frames within the same visual budget. Additionally, adjusting and can provide further control over the visual budget without retraining.
4.2.3 Scale-Aware Preprocessing
For a candidate frame with spatial size , the predicted scale gives:
The preprocessing operator R resizes each frame and aligns its dimensions with the embedding model's patch-size requirements.
Applying R frame-wise yields the mixed-resolution sequence
Frames assigned larger scales preserve more spatial detail, whereas frames assigned smaller scales consume fewer visual resources.
4.2.4 Embedding Backbone Integration
The mixed-resolution sequence and task text q are passed to the existing embedding backbone E, producing the retrieval embedding z:
Since allocation is completed before this stage, AllocEmbed leaves the backbone architecture, output dimensionality, and downstream similarity computation unchanged. This preserves compatibility with the original retrieval pipeline. By adaptively allocating visual detail, AllocEmbed enables the backbone to process more frames within the same visual budget, thereby further improving its retrieval performance.
4.3 Retrieval-Driven Policy Optimization
Existing datasets do not annotate the optimal input scale for each frame, and the utility of an allocation becomes observable only after the resulting frames have passed through preprocessing, embedding, and retrieval. We therefore introduce Retrieval-Driven Policy Optimization (RDPO), which learns the allocator directly from retrieval outcomes without frame-level scale supervision. Following recent task-feedback reinforcement learning methods (Guo et al., 2025; Yu et al., 2026; Jin et al., 2025; Zhang et al., 2026; Jin et al., 2026), RDPO builds on group-relative policy optimization (GRPO) (Shao et al., 2024) and compares multiple allocations for the same input using an augmented retrieval candidate set, a rank-validated similarity gap, and an efficiency incentive that is gated by retrieval success and weighted by confidence. RDPO therefore trains the allocator using retrieval outcomes from the actual, potentially non-differentiable preprocessing and visual tokenization pipeline, without requiring a differentiable surrogate.
4.3.1 Allocation Sampling
For each training input , RDPO samples a group of K frame-wise allocations from the allocator:
Each sampled allocation is applied to X through scale-aware preprocessing, and the frozen embedding backbone encodes the resulting mixed-resolution sequence together with q to produce . Within the group, the video, task text, positive target, and retrieval candidates remain fixed, while only the sampled allocation varies. Their retrieval outcomes therefore provide a controlled comparison of how frame-wise resource allocation affects retrieval quality for that input.
4.3.2 Global Negative Sample Augmentation
Because in-batch negatives alone may be insufficiently challenging, we supplement them with text negatives sampled from the training corpus to form the candidate set
where is the positive target embedding, and and are the in-batch and global negative embedding sets, respectively. All K allocations are evaluated against the same U, ensuring a controlled comparison. Since the added negatives are text-only, their encoding cost is small relative to video encoding.
4.3.3 Rank-Validated Similarity Gap
For the k-th allocation, RDPO evaluates retrieval success and the positive target's separation from the negatives. The retrieval success indicator is
For the negative set , the mean negative similarity is
and the positive-negative similarity gap is
RDPO gates the similarity gap by retrieval success to obtain the rank-validated similarity gap
This assigns a score of zero to unsuccessful retrievals and grades successful ones by their separation from the negatives.
We obtain the group-relative retrieval advantage by normalizing across the K allocations of the same input:
This normalization compares allocation quality within each input, reducing sensitivity to differences in example difficulty.
4.3.4 Confidence-Guided Efficiency Incentive
RDPO additionally encourages efficient allocations, but only when they already retrieve the correct target with sufficient confidence. For the k-th allocation, define the mean scale and its normalized cost proxy as
We derive a soft confidence score from the similarity gap:
where is a confidence threshold and controls the softness of the transition. The efficiency incentive is
This term is an auxiliary incentive conditioned on retrieval success, rather than an independent retrieval reward. An unsuccessful allocation cannot benefit merely by using a small scale. A successful but small-gap allocation receives only a weak efficiency incentive, whereas a successful and confident allocation is encouraged to reduce its average scale. The final advantage is
4.3.5 Policy Optimization
For the k-th allocation, RDPO assigns to every valid frame action. Let denote the allocator policy used to sample the group of allocations. The likelihood ratio for the normalized Beta action is
RDPO updates the allocator by maximizing the following clipped PPO objective (Schulman et al., 2017):
Here, , and the expectation is over the sampled allocations and their valid frame actions. The embedding backbone remains frozen throughout optimization.
5 Experiments
5.1 Experimental Setup
Implementation Details. We train AllocEmbed on the video training set used by VLM2Vec-V2 (Meng et al., 2025) while keeping both the SmolVLM2-256M feature extractor and the VLM2Vec-V2-2B embedding backbone frozen. Only the frame-wise allocation module is optimized for 125 steps on eight NVIDIA H100 80GB GPUs with a learning rate of . We use a batch size of 1,024 video-text examples, sampling allocations per example with continuous scales in [0.2, 1.8]. We set and add 3,072 global text negatives. Further training and RDPO details are provided in the appendix.
Benchmarks and Baselines. We evaluate AllocEmbed on ten MMEB-V2 video tasks (Meng et al., 2025) and LongRet, a newly constructed benchmark for long-video retrieval. We report budget-matched Hit@1 unless noted otherwise. Base encodes eight uniformly sampled frames at their original resolution, while the other methods begin with the same 24 uniformly sampled frames. Uniform Allocation, Content-Aware Allocation, and AllocEmbed retain all 24 but allocate resolution differently, whereas Content-Aware Selection embeds eight selected frames. All methods match the Base budget except Full Resolution, which processes all 24 at the Base resolution as a high-cost reference. The appendix provides benchmark and baseline details.
5.2 Main Results
Table 1 reports task-level and average MMEB-V2 results together with realized costs. AllocEmbed

Figure 4: Average LongRet Hit@1 gains over the 8-frame Base. CA-Alloc. and CA-Select. denote Content-Aware Allocation and Selection. Bars are budget matched; dashed lines show Full Resolution at roughly 3× Base cost.
achieves the best budget-matched average with both 2B models while matching or reducing the Base cost. It thus better balances temporal coverage and spatial fidelity. This confirms the value of learned frame-wise resolution allocation.
Figure 4 summarizes performance on the four LongRet subsets, with complete results provided in the appendix. AllocEmbed’s gains over Base are more pronounced on LongRet, ranging from 5.69 to 9.09 Hit@1 points, as sparse frame sampling is more likely to miss retrieval-relevant evidence in long videos. It is the strongest budget-matched method on all four subsets and recovers most of Full Resolution’s improvement at roughly one-third of the cost. This highlights the importance of preserving broad temporal coverage while varying spatial fidelity in long-video retrieval.
5.3 Ablation Studies
We ablate RDPO across the ten MMEB-V2 video tasks using VLM2Vec-V2-2B, retraining each variant on the same training data. During evaluation, all variants use 24 input frames, with the remaining allocation settings unchanged from training. Table 2 reports average Hit@1 and realized visual cost. Full RDPO achieves the best quality–cost balance. Retrieval success alone provides too sparse a learning signal, while the ungated similarity gap preserves most of the accuracy at greater visual cost. Combining retrieval success with the similarity gap provides both a reliable success criterion and graded ranking feedback. Removing global negatives causes the largest accuracy loss of 1.30 points, highlighting the importance of challenging negatives beyond in-batch comparisons. Confidence guidance, success gating, and the efficiency incentive primarily regulate cost: removing any of
| Method | V-RET | V-QA | Avg. | Cost | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| VTT | MSVD | DiDeMo | YC2 | VATEX | V-MME | NExT | EgoSch. | MVB | ANetQA | |||
| VLM2Vec-V2-2B | ||||||||||||
| Base | 28.30 | 48.06 | 30.38 | 10.63 | 26.46 | 30.70 | 20.92 | 34.00 | 33.70 | 52.30 | 31.55 | 1.000× |
| Full Resolution† | 31.90 | 50.15 | 33.07 | 11.20 | 30.77 | 31.07 | 21.28 | 36.80 | 34.15 | 49.80 | 33.02 (+1.47) | 2.952× |
| Uniform Allocation | 25.80 | 49.10 | 31.87 | 11.61 | 28.20 | 32.26 | 21.54 | 34.80 | 34.25 | 51.90 | 32.13 (+0.58) | 1.025× |
| Content-Aware Allocation | 26.40 | 45.67 | 31.87 | 11.48 | 27.78 | 32.52 | 21.19 | 35.80 | 33.50 | 53.70 | 31.99 (+0.44) | 1.003× |
| Content-Aware Selection | 26.80 | 45.22 | 30.68 | 9.81 | 25.10 | 31.07 | 20.95 | 32.20 | 33.62 | 51.20 | 30.67 (-0.88) | 1.000× |
| AllocEmbed | 29.00 | 48.66 | 32.77 | 12.05 | 28.94 | 32.56 | 21.82 | 38.60 | 34.48 | 53.20 | 33.21 (+1.66) | 0.943× |
| Qwen3-VL-Embedding-2B | ||||||||||||
| Base | 47.00 | 68.21 | 43.33 | 23.28 | 40.31 | 50.48 | 64.85 | 57.80 | 57.63 | 73.60 | 52.65 | 1.000× |
| Full Resolution† | 51.10 | 71.49 | 48.21 | 28.22 | 45.40 | 53.56 | 67.90 | 62.40 | 59.17 | 75.40 | 56.28 (+3.63) | 2.923× |
| Uniform Allocation | 47.20 | 67.91 | 46.91 | 25.86 | 41.27 | 53.93 | 65.30 | 57.60 | 57.95 | 73.70 | 53.76 (+1.11) | 1.002× |
| Content-Aware Allocation | 46.00 | 68.66 | 45.92 | 24.91 | 41.02 | 52.93 | 65.26 | 54.80 | 56.60 | 74.00 | 53.01 (+0.36) | 1.038× |
| Content-Aware Selection | 46.30 | 65.67 | 45.82 | 22.84 | 39.01 | 50.93 | 65.14 | 58.40 | 56.95 | 72.40 | 52.35 (-0.30) | 1.000× |
| AllocEmbed | 50.20 | 69.70 | 47.61 | 27.27 | 43.52 | 54.85 | 63.70 | 55.80 | 56.97 | 73.70 | 54.33 (+1.68) | 0.997× |
Table 1: MMEB-V2 Hit@1 (%) on ten video tasks with two 2B backbones. Base embeds 8 uniformly sampled frames; other methods use 24, except Content-Aware Selection, which embeds 8 selected frames. Avg. is the task mean, with its change from Base in parentheses, and Cost is normalized to Base (1.000×). Bold marks the best budget-matched result per column. † Full Resolution uses 24 frames at Base resolution and is not budget matched. The task columns are MSR-VTT, MSVD, DiDeMo, YouCook2, VATEX, Video-MME, NExTQA, EgoSchema, MVBench, and ActivityNetQA.
| Variant | Hit@1 | Δ (pt) | Cost | Δ (%) |
|---|---|---|---|---|
| Full RDPO | 33.21 | — | 2,008.44 | — |
| Retrieval Success Only | 32.05 | -1.16 | 1,576.40 | -21.51 |
| Similarity Gap Only | 32.92 | -0.29 | 2,138.27 | +6.46 |
| w/o Global Negatives | 31.91 | -1.30 | 1,242.87 | -38.12 |
| w/o Confidence Guidance | 32.90 | -0.31 | 2,155.19 | +7.31 |
| w/o Efficiency Incentive | 32.85 | -0.36 | 2,180.98 | +8.59 |
| w/o Success Gating | 33.05 | -0.16 | 2,452.24 | +22.10 |
Table 2: RDPO training-signal ablation on ten MMEB-V2 tasks with VLM2Vec-V2-2B. Values are mean Hit@1 (%), and both Δ columns are relative to Full RDPO.
them offers little benefit while increasing resource use.
5.4 Analysis and Discussion
5.4.1 Generalization to Diverse Embedding Models
To assess cross-model transfer, we evaluate AllocEmbed with four embedding models spanning 2B to 8B parameters: VLM2Vec-V2-2B, VLM2Vec-Qwen2VL-7B, Qwen3-VL-Embedding-2B, and Qwen3-VL-Embedding-8B. Trained only with VLM2Vec-V2-2B, the allocator transfers directly to the other three models without further training. Table 3 reports the Hit@1 gain and visual cost relative to each model's own Base, using the same MMEB-V2 and LongRet averages as above. Across all four models, AllocEmbed improves both
| Model | V-RET & V-QA | LongRet | ||
|---|---|---|---|---|
| Gain | Cost | Gain | Cost | |
| VLM2Vec-V2-2B | +1.66 | 0.943× | +9.09 | 0.979× |
| VLM2Vec-Qwen2VL-7B | +1.34 | 0.943× | +7.07 | 0.979× |
| Qwen3-VL-Emb.-2B | +1.68 | 0.997× | +5.69 | 0.977× |
| Qwen3-VL-Emb.-8B | +1.69 | 0.997× | +7.63 | 0.977× |
Table 3: Generalization across embedding models. Gain is the Hit@1 change from the 8-frame Base, and Cost is visual cost normalized to Base.
averages while matching or reducing the visual cost of the corresponding Base. The gains are consistent on MMEB-V2 and substantially larger on LongRet, showing that the learned allocation policy transfers across embedding architectures and parameter scales and remains effective when retrieval depends on sparse evidence in long videos.
5.4.2 Performance across Visual Input Budgets
To assess robustness across visual input budgets, we evaluate AllocEmbed with VLM2Vec-V2-2B at three budget levels. Base processes 8, 16, or 20 native-resolution frames, while AllocEmbed uses candidate pools of 24, 48, or 60 frames under the corresponding Base budget. Figure 5 shows that AllocEmbed outperforms Base at every level on both MMEB-V2 and LongRet. Gains are especially pronounced on LongRet, reaching 6.25 Hit@1 points at the largest 20-frame budget. These results show

Figure 5: Performance across visual-input budgets with VLM2Vec-V2-2B. Base uses 8, 16, or 20 native-resolution frames; AllocEmbed uses 24, 48, or 60 candidates under matched Base budgets. Curves show mean Hit@1 on ten MMEB-V2 tasks (left) and four LongRet subsets (right); labels give absolute gains over Base.
that learned allocation remains effective as both the Base frame count and candidate pool scale up. Further analysis of inference efficiency is provided in the appendix.
5.4.3 Case Study
To inspect AllocEmbed's allocations, we analyze two examples with complete 24-frame visualizations in the appendix. For the Oscars location question, clear frames with the red carpet, statuettes, and location-revealing text receive larger scales, while a black transition receives the minimum. For character counting, sharp game footage and text-bearing frames receive larger scales than blank or blurred transitions. These examples show that AllocEmbed prioritizes informative, high-quality frames.
6 Conclusion
We introduced AllocEmbed, an allocate-then-embed framework that balances temporal coverage and spatial fidelity by distributing a constrained visual-input budget across a denser frame sequence. AllocEmbed predicts input resolutions from video content and task text before embedding, allowing existing VLM-based embedding models to process mixed-resolution videos without architectural changes. RDPO learns this allocation directly from retrieval outcomes through a rank-validated similarity gap and a confidence-guided efficiency incentive. Experiments on MMEB-V2 and our newly constructed LongRet benchmark show improved aggregate retrieval performance under matched visual-input budgets, together with transfer across backbones from 2B to 8B parameters without retraining. These results highlight input-side visual
allocation as a practical approach to improving video retrieval with existing embedding backbones.
References
Lisa Anne Hendricks, Oliver Wang, Eli Shechtman, Josef Sivic, Trevor Darrell, and Bryan Russell. 2017. Localizing moments in video with natural language. In Proceedings of the IEEE international conference on computer vision, pages 5803–5812.
Max Bain, Arsha Nagrani, Gül Varol, and Andrew Zisserman. 2022. Frozen in time: A joint video and image encoder for end-to-end retrieval.
Shyamal Buch, Arsha Nagrani, Anurag Arnab, and Cordelia Schmid. 2025. Flexible frame selection for efficient video reasoning. In Proceedings of the Computer Vision and Pattern Recognition Conference, pages 29071–29082.
David Chen and William B Dolan. 2011. Collecting highly parallel data for paraphrase evaluation. In Proceedings of the 49th annual meeting of the association for computational linguistics: human language technologies, pages 190–200.
Charles Dugas, Yoshua Bengio, François Bélisle, Claude Nadeau, and René Garcia. 2000. Incorporating second-order functional knowledge for better option pricing. Advances in neural information processing systems, 13.
Chaoyou Fu, Yuhan Dai, Yongdong Luo, Lei Li, Shuhuai Ren, Renrui Zhang, Zihan Wang, Chenyu Zhou, Yunhang Shen, Mengdan Zhang, et al. 2025. Video-mme: The first-ever comprehensive evaluation benchmark of multi-modal llms in video analysis. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 24108–24118.
Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Peiyi Wang, Qihao Zhu, Runxin Xu, Ruoyu Zhang, Shirong Ma, Xiao Bi, et al. 2025. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. arXiv preprint arXiv:2501.12948.
Zhiming Hu, Angela Ning Ye, Salar Hosseini Khorasgani, and Iqbal Mohamed. 2023. Adaclip: Towards pragmatic multimodal video retrieval. In Proceedings of the 31st ACM International Conference on Multimedia, pages 5623–5633.
Ziyan Jiang, Rui Meng, Xinyi Yang, Semih Yavuz, Yingbo Zhou, and Wenhu Chen. 2024. Vlm2vec: Training vision-language models for massive multimodal embedding tasks. arXiv preprint arXiv:2410.05160.
Song Jin, Shuqi Li, Shukun Zhang, and Rui Yan. 2026. Finrpt: Dataset, evaluation system and llm-based multi-agent framework for equity research report generation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 40, pages 507–515.
Song Jin, Juntian Zhang, Yong Liu, Xun Zhang, Yufei Zhang, Fei Jiang, Guojun Yin, Wei Lin, and Rui Yan. 2025. Tagging the thought: Unlocking personalization reasoning via reinforcement learning. arXiv preprint arXiv:2509.23140.
Kunchang Li, Yali Wang, Yinan He, Yizhuo Li, Yi Wang, Yi Liu, Zun Wang, Jilan Xu, Guo Chen, Ping Luo, et al. 2024. Mvbench: A comprehensive multi-modal video understanding benchmark. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 22195–22206.
Mingxin Li, Yanzhao Zhang, Dingkun Long, Keqin Chen, Sibo Song, Shuai Bai, Zhibo Yang, Pengjun Xie, An Yang, Dayiheng Liu, et al. 2026. Qwen3-vl-embedding and qwen3-vl-reranker: A unified framework for state-of-the-art multimodal retrieval and ranking. arXiv preprint arXiv:2601.04720.
Hao Liang, Qifeng Cai, Zhaoyang Han, Hejun Dong, Meiyi Qiang, Ruichuan An, Quanqing Xu, Bin Cui, and Wentao Zhang. 2026. Lovr: A benchmark for long video retrieval in multimodal contexts. In Proceedings of the ACM Web Conference 2026, pages 1911–1922.
Huanxuan Liao, Zhongtao Jiang, Yupu Hao, Yuqiao Tan, Shizhu He, Ben Wang, Jun Zhao, Kun Xu, and Kang Liu. 2026. Resadapt: Adaptive resolution for efficient multimodal reasoning. arXiv preprint arXiv:2603.28610.
Huaishao Luo, Lei Ji, Ming Zhong, Yang Chen, Wen Lei, Nan Duan, and Tianrui Li. 2022. Clip4clip: An empirical study of clip for end to end video clip retrieval and captioning. Neurocomputing, 508:293–304.
Yiwei Ma, Guohai Xu, Xiaoshuai Sun, Ming Yan, Ji Zhang, and Rongrong Ji. 2022. X-clip: End-to-end multi-grained contrastive learning for video-text retrieval. In Proceedings of the 30th ACM international conference on multimedia, pages 638–647.
Karttikeya Mangalam, Raymbek Akshulakov, and Jitendra Malik. 2023. Egoschema: A diagnostic benchmark for very long-form video language understanding. Advances in Neural Information Processing Systems, 36:46212–46244.
Andrés Marafioti, Orr Zohar, Miquel Farré, Merve Noyan, Elie Bakouch, Pedro Cuenca, Cyril Zakka, Loubna Ben Allal, Anton Lozhkov, Nouamane Tazi, et al. 2025. Smolvlm: Redefining small and efficient multimodal models. arXiv preprint arXiv:2504.05299.
Rui Meng, Ziyan Jiang, Ye Liu, Mingyi Su, Xinyi Yang, Yuepeng Fu, Can Qin, Zeyuan Chen, Ran Xu, Caiming Xiong, et al. 2025. Vlm2vec-v2: Advancing multimodal embedding for videos, images, and visual documents. arXiv preprint arXiv:2507.04590.
Yue Meng, Chung-Ching Lin, Rameswar Panda, Prasanna Sattigeri, Leonid Karlinsky, Aude Oliva,
Kate Saenko, and Rogerio Feris. 2020. Ar-net: Adaptive frame resolution for efficient action recognition. In European conference on computer vision, pages 86–104. Springer.
Michael S Ryoo, Honglu Zhou, Shrikant Kendre, Can Qin, Le Xue, Manli Shu, Jongwoo Park, Kanchana Ranasinghe, Silvio Savarese, Ran Xu, et al. 2024. xgen-mm-vid (blip-3-video): You only need 32 tokens to represent a video even in vlm. arXiv preprint arXiv:2410.16267.
John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. 2017. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347.
Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, YK Li, Yang Wu, et al. 2024. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300.
Leqi Shen, Guoqiang Gong, Tao He, Yifeng Zhang, Pengzhang Liu, Sicheng Zhao, et al. 2026. Fastvid: Dynamic density pruning for fast video large language models. Advances in Neural Information Processing Systems, 38:123553–123581.
Leqi Shen, Tianxiang Hao, Tao He, Sicheng Zhao, Yifeng Zhang, Yongjun Bao, Guiguang Ding, et al. 2025. Tempme: Video temporal token merging for efficient text-video retrieval. In International Conference on Learning Representations, volume 2025, pages 60839–60860.
Xiaoqian Shen, Yunyang Xiong, Changsheng Zhao, Lemeng Wu, Jun Chen, Chenchen Zhu, Zechun Liu, Fanyi Xiao, Balakrishnan Varadarajan, Florian Bordes, et al. 2024. Longvu: Spatiotemporal adaptive compression for long video-language understanding. arXiv preprint arXiv:2410.17434.
Xin Wang, Jiawei Wu, Junkun Chen, Lei Li, Yuan-Fang Wang, and William Yang Wang. 2019. Vatex: A large-scale, high-quality multilingual dataset for video-and-language research. In Proceedings of the IEEE/CVF international conference on computer vision, pages 4581–4591.
Mengxia Wu, Min Cao, Yang Bai, Ziyin Zeng, Chen Chen, Liqiang Nie, and Min Zhang. 2023. An empirical study of frame selection for text-to-video retrieval. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 6821–6832.
Junbin Xiao, Xindi Shang, Angela Yao, and Tat-Seng Chua. 2021. Next-qa: Next phase of question-answering to explaining temporal actions. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 9777–9786.
Hu Xu, Gargi Ghosh, Po-Yao Huang, Dmytro Okhonko, Armen Aghajanyan, Florian Metze, Luke Zettlemoyer, and Christoph Feichtenhofer. 2021. Video-clip: Contrastive pre-training for zero-shot video-text understanding. In Proceedings of the 2021 conference on empirical methods in natural language processing, pages 6787–6800.
Jun Xu, Tao Mei, Ting Yao, and Yong Rui. 2016. Msr-vtt: A large video description dataset for bridging video and language. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 5288–5296.
Dongjie Yang, Suyuan Huang, Chengqiang Lu, Xiaodong Han, Haoxin Zhang, Yan Gao, Yao Hu, and Hai Zhao. 2024. Vript: A video is worth thousands of words. Advances in Neural Information Processing Systems, 37:57240–57261.
Qiying Yu, Zheng Zhang, Ruofei Zhu, Yufeng Yuan, Xiaochen Zuo, Yu Yue, Weinan Dai, Tiantian Fan, Gaohong Liu, Lingjun Liu, et al. 2026. Dapo: An open-source llm reinforcement learning system at scale. Advances in Neural Information Processing Systems, 38:113222–113244.
Zhou Yu, Dejing Xu, Jun Yu, Ting Yu, Zhou Zhao, Yueting Zhuang, and Dacheng Tao. 2019. Activitynet-qa: A dataset for understanding complex web videos via question answering. In Proceedings of the AAAI conference on artificial intelligence, volume 33, pages 9127–9134.
Juntian Zhang, Song Jin, Chuanqi Cheng, Yuhan Liu, Yankai Lin, Xun Zhang, Fei Jiang, Guojun Yin, Wei Lin, Rui Yan, et al. 2026. Viper: Empowering the self-evolution of visual perception abilities in vision-language models. In International Conference on Learning Representations, volume 2026, pages 98012–98039.
Shaojie Zhang, Jiahui Yang, Jianqin Yin, Zhenbo Luo, and Jian Luan. 2025. Q-frame: Query-aware frame selection and multi-resolution adaptation for video-llms. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 22056–22065.
Xin Zhang, Yanzhao Zhang, Wen Xie, Mingxin Li, Ziqi Dai, Dingkun Long, Pengjun Xie, Meishan Zhang, Wenjie Li, and Min Zhang. 2024. Gme: improving universal multimodal retrieval by multimodal llms. arXiv preprint arXiv:2412.16855.
Luowei Zhou, Chenliang Xu, and Jason Corso. 2018. Towards automatic learning of procedures from web instructional videos. In Proceedings of the AAAI conference on artificial intelligence, volume 32.
A Additional Experimental Setup
A.1 Implementation Details
Table 4 summarizes the training configuration. We train on the complete VLM2Vec-V2 video training split and use the complete validation split for checkpoint selection; neither split is manually truncated. The VLM2Vec-V2-2B embedding backbone contains approximately 2.21B parameters and remains frozen, providing the embeddings used to compute retrieval rewards. The allocator encodes candidate-frame previews and task text with a frozen SmolVLM2-256M feature extractor. Only the attached frame-wise scale predictor is optimized.
Training runs on a single node with eight NVIDIA H100 80GB GPUs using FSDP2 and BF16 computation. We optimize the scale predictor for 125 steps with a learning rate of . Each step samples 1,024 video-text examples and draws allocations per example, yielding 16,384 allocation-conditioned queries. The prompt mini-batch size is 256. After allocation expansion and distributed sharding, the allocator mini-batch contains 512 samples per GPU. Scale prediction and RDPO backpropagation use a micro-batch size of 64 per GPU, while the frozen embedding backbone encodes queries and targets in batches of 128 per GPU.
For each candidate frame, the predictor outputs a continuous scale in [0.2, 1.8]. Because the scale is applied to both spatial dimensions, visual input cost grows approximately quadratically with scale.
Following the RDPO formulation in the main text, we set , , and . The success gate prevents an incorrect allocation from receiving an efficiency incentive solely by reducing its scale. We augment the 1,024 in-batch targets with 3,072 text targets sampled from the VLM2Vec-V2 training corpus. The resulting 4,096-target pool is shared across all 16,384 allocation-conditioned queries. Additional negatives exclude the current positive, targets with the same sample identity, and exact text duplicates.
A.2 Benchmark and Baseline Details
Our MMEB-V2 evaluation comprises five video-retrieval (V-RET) tasks and five video-question-answering (V-QA) tasks. The V-RET tasks are MSR-VTT (Xu et al., 2016), MSVD (Chen and Dolan, 2011), DiDeMo (Anne Hendricks et al., 2017), YouCook2 (Zhou et al., 2018),
and VATEX (Wang et al., 2019). The V-QA tasks are Video-MME (Fu et al., 2025), NExTQA (Xiao et al., 2021), EgoSchema (Mangalam et al., 2023), MVBench (Li et al., 2024), and ActivityNet-QA (Yu et al., 2019). We evaluate four embedding models: VLM2Vec-V2-2B, Qwen3-VL-Embedding-2B, VLM2Vec-Qwen2VL-7B, and Qwen3-VL-Embedding-8B.
LongRet benchmark construction. LongRet evaluates text-to-video retrieval at two query granularities while using complete source videos as retrieval targets. Its candidate corpora contain 467 LoVR videos (Liang et al., 2026) and 2,375 Vript videos (Yang et al., 2024). Localized scene annotations contribute query text only: no scene clip is treated as a retrieval target, and every query must retrieve the complete source video from which its description originates. We therefore compute all duration statistics over unique complete-video targets rather than over localized scene annotations.
The Clip subsets use localized descriptions. We randomly sample up to three eligible segment captions per video and treat each caption as a separate query, producing 1,401 LoVR-Clip queries and 7,112 Vript-Clip queries. The Video subsets use complete-video descriptions. LoVR provides one video-level caption per source video, yielding 467 LoVR-Video queries. For Vript, we concatenate the clip captions associated with each source video into one complete-video query, yielding 2,375 Vript-Video queries. Overall, LongRet contains 11,355 queries over 2,842 source videos. Table 5 reports the evaluation composition, full-video duration statistics, and duration-bin counts.
Baseline and evaluation protocols. Under the default protocol, Base embeds 8 uniformly sampled frames at the original resolution, while the other methods begin with 24 candidate frames. Full Resolution processes all 24 frames at the Base resolution and incurs a higher visual cost. Uniform Allocation lowers their resolution uniformly to match the Base budget. Content-Aware Allocation assigns resolutions using a frame-importance heuristic, while Content-Aware Selection embeds the 8 highest-scoring frames. AllocEmbed predicts a continuous, task-conditioned scale for each candidate frame.
Across methods, we hold the input video, task text, retrieval targets, and metric fixed, and report Hit@1 with realized visual input cost. All methods except Full Resolution are evaluated under matched
| Category | Setting | Value | Notes |
|---|---|---|---|
| Infrastructure | Hardware | 8 NVIDIA H100 80GB GPUs | Distributed training on a single node. |
| Infrastructure | Parallelism and precision | FSDP2, BF16 | FSDP2 parameter sharding with BF16 computation. |
| Model | Embedding backbone | VLM2Vec-V2-2B (~2.21B) | Frozen model used to compute embeddings and retrieval rewards. |
| Model | Allocator implementation | SmolVLM2-256M-based allocator | Frozen SmolVLM2-256M feature extractor followed by a trainable frame-wise scale predictor. |
| Optimization | Allocator learning rate | Applied only to the trainable scale predictor. | |
| Optimization | Training duration | 125 steps | Total number of training steps. |
| Data | Video splits | Complete training split; complete validation split | Train on the training split; use the validation split for checkpoint selection. |
| Batching | Examples per step | 1,024 | Video-text examples sampled before allocation expansion. |
| Batching | Allocations per example | Scale allocations sampled for each example. | |
| Allocation | Scale range | [0.2, 1.8] | Per-frame scale applied to both height and width. |
| RDPO | Additional global negatives | 3,072 | Text targets sampled beyond the current batch. |
| RDPO | Efficiency weight | Strength of the success-gated efficiency incentive. | |
| RDPO | Confidence gate | Center and temperature for similarity-gap confidence. | |
| RDPO | Clipping widths | Asymmetric policy-ratio clipping widths. |
Table 4: Training configuration used for AllocEmbed. Only the frame-wise scale predictor is trained, while the SmolVLM2 feature extractor and embedding backbone remain frozen.
(a) Evaluation composition
| Subset | Queries | Unique full-video targets | Source videos | Query-target mapping |
|---|---|---|---|---|
| LoVR-Clip | 1,401 | 467 | 467 | Local description → complete video |
| LoVR-Video | 467 | 467 | 467 | Complete description → complete video |
| Vript-Clip | 7,112 | 2,375 | 2,375 | Local description → complete video |
| Vript-Video | 2,375 | 2,375 | 2,375 | Complete description → complete video |
(b) Unique complete-video duration statistics
| Corpus | Videos | Total (h) | Duration (min) | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Mean | Min | P25 | Median | P75 | P95 | Max | |||
| LoVR | 467 | 202.41 | 26.01 | 16.64 | 18.49 | 21.56 | 29.00 | 50.59 | 59.57 |
| Vript | 2,375 | 563.53 | 14.24 | 10.00 | 11.28 | 13.39 | 16.36 | 20.93 | 29.82 |
(c) Unique complete-video duration distribution
| Corpus | < 10 min | 10–15 min | 15–20 min | 20–30 min | ≥ 30 min |
|---|---|---|---|---|---|
| LoVR | 0 | 0 | 189 (40.5%) | 170 (36.4%) | 108 (23.1%) |
| Vript | 0 | 1,560 (65.7%) | 661 (27.8%) | 154 (6.5%) | 0 |
Table 5: LongRet composition and complete-video duration statistics. Clip and Video share targets and duration distributions within each corpus but differ in query granularity and count. Bins are left-closed and right-open, except the final bin.
budgets. At inference, AllocEmbed predicts one allocation and invokes the frozen backbone once after scale-aware preprocessing. Group sampling with is used only for training.
B Additional Analysis and Discussion
B.1 Case Study Visualizations
Figures 6 and 7 present the complete 24-frame visualizations for the examples discussed in the Case Study subsection. Each frame is labeled with its raw predicted scale, and the border color encodes the same value.
B.2 Inference Overhead
We measure inference overhead on the LoVR-Video candidate videos using VLM2Vec-V2.0 (Qwen2-VL). All experiments run in BF16 with batch size one on a single NVIDIA H100 80GB GPU. In paired runs, AllocEmbed and the full-input baseline process the same videos, text, and 24 sampled frames in the same order under a 64K video-token cap. AllocEmbed predicts scales in two-frame chunks within [0.2, 1.32]. The full-input baseline bypasses allocation and sends all 24 frames directly to the backbone.
We discard five warm-up samples and average latency over the remaining 462 videos, synchronizing CUDA around each timed region. Allocator latency includes text preparation, host-to-device transfer, the allocator encoders and prediction head, and scale generation. Backbone latency includes host-to-device transfer and one VLM2Vec forward pass. Gradient computation and parameter updates are disabled for all runs.
As shown in Table 6, the allocator adds 149.59 ms per sample but reduces backbone latency from 754.77 to 239.22 ms. Total model-path latency decreases by 48.49%, corresponding to a 1.941× speedup over full-input inference. These measurements exclude allocator preprocessing, scale-dependent resizing, video transforms, and backbone preprocessing. The excluded stages can run on the CPU and are amenable to further systems optimization through parallelism and pipelining. A full optimization of these stages is outside the scope of this work.
B.3 Complete LongRet Results
Table 7 reports the complete subset-level LongRet results summarized in Figure 4.
| Method | Params | Latency (ms/sample) | ||
|---|---|---|---|---|
| Allocator | Backbone | Total | ||
| Full input | 2.218B | – | 754.77 | 754.77 |
| AllocEmbed | 2.523B | 149.59 | 239.22 | 388.81 |
Table 6: Model-path latency on LoVR-Video. Results are averaged over 462 samples after five warm-up samples. Params denotes the total number of loaded parameters.
Q: Where did the video take place?
Ground truth: A. Red Carpet at the Oscars.
Frame 01 scale = 0.598
Frame 02 scale = 0.715
Frame 03 scale = 0.719
Frame 04 scale = 0.590
Frame 05 scale = 0.566
Frame 06 scale = 0.574

Frame 07 scale = 0.555
Frame 08 scale = 0.590
Frame 09 scale = 0.613
Frame 10 scale = 0.688
Frame 11 scale = 0.711
Frame 12 scale = 0.672
Frame 13 scale = 0.598
Frame 14 scale = 0.602
Frame 15 scale = 0.590
Frame 16 scale = 0.688
Frame 17 scale = 0.605
Frame 18 scale = 0.703
Frame 19 scale = 0.734
Frame 20 scale = 0.539
Frame 21 scale = 0.727
Frame 22 scale = 0.535
Frame 23 scale = 0.664
Frame 24 scale = 0.393
Raw per-frame allocator scale
The final black transition receives the minimum scale, while clear red-carpet frames receive larger scales.
Figure 6: Frame-level scales for a location question. AllocEmbed assigns the minimum scale to the final black transition and larger scales to clear views of the red carpet and Oscar iconography.
Q: How many different humanoid characters appear in the game shown in this video?
Ground truth: B. 6.
Frame 01 scale = 0.385
Frame 02 scale = 0.586
Frame 03 scale = 0.574
Frame 04 scale = 0.562
Frame 05 scale = 0.715
Frame 06 scale = 0.633

Frame 07 scale = 0.539
Frame 08 scale = 0.439
Frame 09 scale = 0.439
Frame 10 scale = 0.758
Frame 11 scale = 0.684
Frame 12 scale = 0.396
Frame 13 scale = 0.467
Frame 14 scale = 0.523
Frame 15 scale = 0.559
Frame 16 scale = 0.330
Frame 17 scale = 0.375
Frame 18 scale = 0.424
Frame 19 scale = 0.404
Frame 20 scale = 0.484
Frame 21 scale = 0.432
Frame 22 scale = 0.357
Frame 23 scale = 0.512
Frame 24 scale = 0.490
Raw per-frame allocator scale
Blank and motion-blurred transitions receive smaller scales; sharp game and information frames receive larger scales.
Figure 7: Frame-level scales for a character-counting question. AllocEmbed assigns smaller scales to blank and motion-blurred transitions and larger scales to sharp game footage and text-rich frames.
| Method | LoVR | Vript | Avg. | Cost | ||
|---|---|---|---|---|---|---|
| Clip | Video | Clip | Video | |||
| VLM2Vec-V2-2B | ||||||
| Base | 61.10 | 74.09 | 69.92 | 77.26 | 70.59 | 1.000× |
| Full Resolution† | 71.23 | 83.73 | 78.63 | 84.59 | 79.54 (+8.95) | 2.997× |
| Uniform Allocation | 70.45 | 82.66 | 75.58 | 84.76 | 78.36 (+7.77) | 1.016× |
| Content-Aware Allocation | 65.67 | 80.09 | 72.60 | 84.21 | 75.64 (+5.05) | 1.001× |
| Content-Aware Selection | 48.39 | 65.10 | 58.96 | 73.43 | 61.47 (-9.12) | 1.000× |
| AllocEmbed | 71.45 | 83.73 | 77.24 | 86.32 | 79.68 (+9.09) | 0.979× |
| Qwen3-VL-Embedding-2B | ||||||
| Base | 80.94 | 83.51 | 81.83 | 88.51 | 83.70 | 1.000× |
| Full Resolution† | 91.01 | 90.58 | 91.84 | 93.43 | 91.72 (+8.02) | 2.984× |
| Uniform Allocation | 82.87 | 89.51 | 88.05 | 92.97 | 88.35 (+4.65) | 1.036× |
| Content-Aware Allocation | 78.52 | 88.87 | 85.24 | 93.98 | 86.65 (+2.95) | 1.018× |
| Content-Aware Selection | 59.96 | 78.59 | 67.74 | 88.17 | 73.61 (-10.09) | 1.000× |
| AllocEmbed | 83.87 | 90.15 | 89.20 | 94.36 | 89.39 (+5.69) | 0.977× |
Table 7: Complete LongRet results corresponding to Figure 4. Base embeds 8 uniformly sampled frames. The remaining methods start from 24 candidate frames, with Content-Aware Selection embedding 8. Values are Hit@1 (%), and Avg. is the mean over four subsets. Parentheses show absolute changes from Base. Cost is normalized to Base (1.000×). Bold marks the best budget-matched result in each column. † Full Resolution processes all 24 frames at the Base per-frame resolution and is not budget matched.