How Should We Rerank Multi-Constraint Video Search? Whole-Query Judgments, Frames, and Their Cost
Organizations: Foam (foam.io)
Abstract
Video search often ranks videos by a short description that a vision-language model writes before any query arrives, and that description can omit what separates a full match from a near miss. This paper investigates whether splitting the query helps, or whether the system needs richer evidence. We build 722 LLM-written, human-checked queries over 8,603 videos, with static visual constraints and hard-negative near misses, and test both options. The results show that splitting does not help search: per-constraint search loses to one whole-query search; on its top descriptions one LLM judgment of the whole query outperforms our per-constraint grading by about 0.10 nDCG@10, while the two perform comparably on frames. The best-performing of three 2B cross-encoders, which also read the whole query, recovers about three quarters of the LLM's gain over whole-query search and outperforms our per-constraint grading. Richer visual evidence does help: reranking the description reranker's top ten on video frames adds 0.08 nDCG@10 but needs nearly its input tokens, and a human check agrees with it on cases where the two rerankers disagree. Longer descriptions recover two thirds of this gain at a fraction of the cost, while reranking only close calls on frames cuts input tokens by a fifth to a third. We release the dataset and code.
Figures & tables
| Query | Order by | Verifier sees | Candidates | |
|---|---|---|---|---|
| S0 | whole | similarity | none | all videos |
| S1 | split | RRF ranks | none | all videos |
| S2 | split | mean grade 0–10 | description | S0 top 50 |
| S3 | split | mean grade 0–10 | frames | S4@50 top 10 |
| S4 | whole | 0–10 score | description | S0 top 50 |
| CE | whole | model score | description | S0 top 50 |
| Nested | Near-miss | R@1 | Cost | |||||
| System | all | all | Nest. | N-miss | #tok | S4 | ||
| S0 | .408 | .485 | .450 | .447 | .294 | .401 | 0.0 | – |
| S1 | .318 | .345 | .346 | .310 | .223 | .285 | 0.2 | 0.0 |
| S2@50 | .535 | .590 | .531 | .523 | .449 | .540 | 15.1 | 1.5 |
| S4@50 | .636 | .734 | .626 | .602 | .586 | .642 | 10.4 | 1.0 |
| Qwen-2B | .577 | .698 | .586 | .570 | .503 | .591 | 7.1 | 0.7 |
| Ablation | Contrast | Nested | Near-miss | ||
| (a) | Strict labels | S4@50 S2@50 | 350 / 372 | [ , ] | [ , ] |
| Strict labels | S5 S4@50 | 350 / 372 | [ , ] | [ , ] | |
| Source accepted by both judges | S4@50 S2b@50 | 243 / 334 | [ , ] | [ , ] | |
| Source accepted by both judges s | S5 S4@50 | 38 / 88 | [ , ] | [ , ] | |
| (b) | Grading, descriptions | S2@50 S2b@50 | 350 / 372 | [ , ] | [ , ] |
| Whole-query against binary | S4@50 S2b@50 | 350 / 372 | [ , ] | [ , ] |
Appendix figures & tables30 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Role | Snapshot | Setting |
|---|---|---|---|
| gemini-3.5- flash-lite | describer; grounder; judge | pinned | media res. default (describe), low (ground, judge) |
| text-embed- ding-3-small | embedder | pinned | – |
| gpt-6-luna | splitter; fact and near-miss miner; query writer | pinned | low effort |
| gpt-6-astra | grounder; judge | pinned | – |
| gpt-6-sol | verifier, S2, S2b, S3, S3b, S4, S5 | pinned | low effort |
| gpt-5.5 | second verifier, S2, S2b and S4 | gpt-5.5- 2026-04-23 | low effort |
| Videos by length | Duration (s) | |||||||
|---|---|---|---|---|---|---|---|---|
| Part | Videos | 30 s | 30–60 s | 1–2 min | 2–4 min | Min | Median | Max |
| Shot2Story | 4,023 | 3,847 | 176 | 0 | 0 | 10.0 | 14.9 | 39.8 |
| CaReBench | 1,000 | 966 | 32 | 1 | 1 | 1.1 | 12.7 | 124 |
| Vript short | 2,080 | 1,407 | 668 | 5 | 0 | 3.6 | 18.8 | 60.1 |
| Vript long | 1,500 | 0 | 500 | 500 | 500 | 31.6 | 93.6 | 240 |
| All | 8,603 | 6,220 | 1,376 | 506 | 501 | |||
| Type | Mined | Select. | Grounded | Kept | Dropped | Rate |
| Attribute | 757 | 754 | 329 | 231 | 98 | .298 |
| Object | 791 | 790 | 281 | 174 | 107 | .381 |
| On-screen text | 269 | 269 | 110 | 67 | 43 | .391 |
| Count | 95 | 92 | 46 | 22 | 24 | .522 |
| Scene | 222 | 222 | 70 | 48 | 22 | .314 |
| Action | 848 | 0 | – | – | – | – |
| Group | Facts | Sources | Stated [95% CI] | Contradicted [95% CI] | Unclear |
|---|---|---|---|---|---|
| Kept (both grounders yes) | 542 | 98 | .131 [.094, .171] | .026 [.009, .047] | .843 |
| Dropped (one grounder yes) | 135 | 65 | .044 [.008, .086] | .067 [.022, .121] | .889 |
| of which Gemini yes, gpt-6-astra no | 72 | 45 | .042 [.000, .105] | .111 [.038, .206] | .847 |
| of which Gemini no, gpt-6-astra yes | 63 | 38 | .048 [.000, .109] | .016 [.000, .053] | .937 |
| Type | In query set | Stated (%) | 95% CI | |
| Attribute | type kept | 757 | 4.8 | [.029, .068] |
| Object | type kept | 791 | 7.2 | [.049, .103] |
| On-screen text | type kept | 269 | 11.5 | [.069, .176] |
| Count | type kept | 95 | 10.5 | [.049, .168] |
| Scene | type kept | 222 | 12.2 | [.079, .180] |
| Action | type excluded | 848 | 5.4 | [.035, .079] |
| Nested query | near-miss query | |
|---|---|---|
| 1 | A man wearing a black hair band appears in the footage. | Footage clearly shows a visible explosion taking place in the scene. |
| 2 | A man wearing a black hair band appears, and an explosion is shown at another point. | A man is on a stage at one point, and an explosion is visible at another point in the video. |
| 3 | At one point a man wears a black hair band; at another point an explosion is visible; at another point three men are present. | A man stands on a stage; at another point, an explosion is visible, and the video also shows a microphone. |
| 4 | I remember footage showing a man wearing a black hair band, an explosion visible, three men present, and a microphone visible on the stage. | A clip shows an explosion ; at another point, a man is on a stage, a microphone is visible, and a man wears red clothing. |
| Words | Sentences | Output tok. | Frames | ||
|---|---|---|---|---|---|
| Shot2Story | 15 | 43 (22–69) | 1.9 (1–4) | 53 (24–95) | 9 (8–13) |
| CaReBench | 15 | 33 (21–51) | 1.8 (1–3) | 39 (24–71) | 10 (8–28) |
| Vript short | 28 | 48 (26–83) | 1.9 (1–3) | 61 (33–125) | 18 (8–30) |
| Vript long 30–60 s | 14 | 44 (19–60) | 1.9 (1–3) | 56 (27–91) | 25 (19–29) |
| Vript long 1–2 min | 15 | 47 (19–103) | 1.5 (1–3) | 60 (21–118) | 47 (32–60) |
| Vript long 2–4 min | 13 | 41 (19–68) | 1.5 (1–3) | 50 (20–95) | 94 (73–112) |
| Nested | Near-miss | R@1 | ||||
| System | all | all | Nest. | N-miss | ||
| S0 | .375 | .485 | .397 | .471 | .249 | .290 |
| S1 | .293 | .345 | .284 | .311 | .183 | .180 |
| S2b@50 | .414 | .476 | .420 | .511 | .283 | .301 |
| S2@50 | .485 | .590 | .431 | .540 | .366 | .325 |
| S4@50 | .582 | .734 | .519 | .610 | .494 | .409 |
| Nested sample | Contested | R@1 | ||||
| System | all | all | Nest. | Cont. | ||
| Frame subsets ( / contested) | ||||||
| S0 | .380 | .414 | .635 | .672 | .232 | .552 |
| S4@50 | .656 | .668 | .809 | .796 | .625 | .740 |
| S3b | .698 | .750 | .923 | .931 | .732 | .948 |
| S3 | .699 | .750 | .930 | .946 | .732 | .958 |
| Descriptions: S4@50 S2@50 (95% interval) | Frames: S5 S3 (90% interval), expanded | |||||
|---|---|---|---|---|---|---|
| Aggregation | Nested, exp. | Near-miss, exp. | Nested, strict | Near-miss, strict | Nested | Near-miss |
| Mean (paper) | ||||||
| Minimum | ||||||
| Unmentioned 0 | ||||||
| Mean over | ||||||
| Count | ||||||
| Pool of ten | Nested | Near-miss | Pooled | Oracle |
|---|---|---|---|---|
| S2 top 10 | 0.642 | |||
| S0 top 10 | 0.575 | |||
| S4@50 top 10 | 0.716 |
| Ablation | Contrast | Nested | Near-miss | |
| Decomposition at retrieval (Section 5.1 ) | ||||
| Best of five fusion variants | S1 (mean cos. Q) S0 | 350 / 372 | [ , ] | [ , ] |
| Query added with weight | S1 Q S0 | 350 / 372 | [ , ] | [ , ] |
| Exact split, , 3, 4 | S1 S0 | 54, 41, 34 / – | , , | – |
| Gold constraints (dev.) d | S2b@20 gold S2b@20 | 366 / – | [ , ] | – |
| Repeat run (fresh cache) | ||||
| Model S0 | S4@50 model | S2 model | ||||
|---|---|---|---|---|---|---|
| Model | Nested | Near-miss | Nested | Near-miss | Nested | Near-miss |
| Qwen-2B | [ , ] | [ , ] | [ , ] | [ , ] | [ , ] | [ , ] |
| PW-2B | [ , ] | [ , ] | [ , ] | [ , ] | [ , ] | [ , ] |
| LW-2B | [ , ] | [ , ] | [ , ] | [ , ] | [ , ] | [ , ] |
| Ranking (nDCG@10) | Nested | Near-miss | Pooled |
|---|---|---|---|
| S0 | .408 | .450 | .430 |
| S4@10 | .529 | .528 | .528 |
| S5 on S0’s top 10 | .565 | .570 | .568 |
| Oracle, S0’s top 10 | .570 | .580 | .575 |
| S4@50 | .636 | .626 | .631 |
| S5 (S4@50’s top 10) | .710 | .705 | .707 |
| Contested | Nested sample | |
| ( ) | ( ) | |
| nDCG@10 | ||
| S2b ′ | ||
| S4@50 | ||
| S3b | ||
| S5 | ||
| All queries | Source accepted by both judges | ||||
| Comparison | Expanded | Strict | Expanded | Strict | |
| Nested, all queries | |||||
| S1 S0 | 243/350 | [ , ] | [ , ] | [ , ] | [ , ] |
| S2b@50 S0 | 243/350 | [ , ] | [ , ] | [ , ] | [ , ] |
| S4@50 S0 | 243/350 | [ , ] | [ , ] | [ , ] | [ , ] |
| S4@50 S2b@50 | 243/350 | [ , ] | [ , ] | [ , ] | [ , ] |
| System | All | ||||
|---|---|---|---|---|---|
| Contested ( = 96/3/21/37/35) | |||||
| S0 | |||||
| S4@10 | |||||
| S2b ′ | |||||
| S4@50 | |||||
| S3b | |||||
| Group | S1 S0 | S2b S0 | S4 S0 | S4 S2b | |
|---|---|---|---|---|---|
| Nested set | |||||
| All | 350 | [ , ] | [ , ] | [ , ] | [ , ] |
| 98 | [ , ] | [ , ] | [ , ] | [ , ] | |
| 94 | [ , ] | [ , ] | [ , ] | [ , ] | |
| 85 | [ , ] | [ , ] | [ , ] | [ , ] | |
| 73 | [ , ] | [ , ] | [ , ] | [ , ] | |
| Group | S5 S4 | S3 S4 | S5 S3 | |
|---|---|---|---|---|
| Near-miss set, all queries | ||||
| All | 372 | [ , ] | [ , ] | [ , ] |
| 98 | [ , ] | [ , ] | [ , ] | |
| 98 | [ , ] | [ , ] | [ , ] | |
| 98 | [ , ] | [ , ] | [ , ] | |
| 78 | [ , ] | [ , ] | [ , ] | |
| Source | Index description (0.5 fps) | Longest nested query built from the source |
|---|---|---|
| 30 s carebench 9 s, 8 frames | A yellow CAT excavator digs into a large dirt pit while dump trucks wait nearby in an outdoor construction area surrounded by palm trees and lush vegetation. | ( ) Find a deep, wide pit beside a yellow excavator with a yellow main body, a dense grove behind it, and three dark-colored letters on its mechanical arm. |
| 30–60 s vript short 58 s, 30 frames | A video compilation features a man performing various comedic skits and physical comedy stunts in indoor settings, including wearing a skull mask, balancing objects on his body, and demonstrating a colorful chemical reaction with M&M candies arranged in a circle on a white plate. | ( ) A person wears a vivid green T-shirt and matching shorts; the room has beige walls and a brown door. |
| 1–2 min vript long 99 s, 50 frames | A man handles a plastic tub filled with moss and white snake eggs in a reptile room lined with rack shelving. Later, three men stand and talk in the same narrow animal housing facility. | ( ) A clip showing oblong pearly-white eggs on wood shavings, a plastic container filled with brown fibrous substrate, someone wearing a turtle graphic T-shirt, and handwritten storage-rack labels. |
| 2–4 min vript long 216 s, 108 frames | A man in a light blue t-shirt sits on a sofa in a living room, demonstrating iOS features on a smartphone screen displayed alongside him. The video features screen recordings of an iPhone interface, showing lock screen widgets, 3D Touch control center shortcuts, and various messaging features including Digital Touch sketches, stickers, and predictive text. | ( ) An iPhone displays emoji stickers, a red scribble, and messaging options for sketch, fireball, kiss, and heartbeat; a purple phone shows Store, Recents, Images, Smileys, and a highlighted virtual hug GIF. |
| Pool | Labels | S4 | S4L | S5 | Oracle | S5 S4L | S4L S4 | S4L share |
|---|---|---|---|---|---|---|---|---|
| S4@50’s top 10 | expanded | .631 | .681 | .707 | .716 | [ , ] | [ , ] | .65 [.54, .75] |
| S4@50’s top 10 | strict | .550 | .601 | .616 | .652 | [ , ] | [ , ] | .77 [.64, .91] |
| S0’s top 10 | expanded | .528 | .557 | .568 | .575 | [ , ] | [ , ] | .72 [.54, .87] |
| S0’s top 10 | strict | .475 | .503 | .510 | .521 | [ , ] | [ , ] | .81 [.61, 1.00] |
| 44w | 70w | 101w | 202w | |
| Sentences asked | 1–3 | 3–5 | 5–7 | 14–18 |
| Words, mean | 44 | 70 | 101 | 202 |
| Describer output tokens | 57 | 89 | 126 | 249 |
| S4 input tokens per call | 209 | 241 | 278 | 402 |
| S2b input tokens per call | 289 | 319 | 355 | 472 |
| S0 nDCG@10 | .654 | .673 | .675 | .701 |
| nDCG@10, minus 44w | 70w | 101w | 202w |
|---|---|---|---|
| S0 | [ , ] | [ , ] | [ , ] |
| S2b | [ , ] | [ , ] | [ , ] |
| S4 | [ , ] | [ , ] | [ , ] |
| S4 S2b at this length | [ , ] | [ , ] | [ , ] |
| S4 S2b gap narrowed from 44w | [ , ] | [ , ] | [ , ] |
| S4 S0 at this length | [ , ] | [ , ] | [ , ] |
| S2b | S4 | |||
|---|---|---|---|---|
| 101w | 202w | 101w | 202w | |
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 44w | 101w 44w | 202w 44w | |
|---|---|---|---|
| S0 | .575 | [ , ] | [ , ] |
| S1 | .440 | [ , ] | [ , ] |
| S4 | .693 | [ , ] | [ , ] |
| Labels | Set | S5 | S4@50 | S5 S4@50 | S5 wins |
|---|---|---|---|---|---|
| Humans | all (235) | [ , ] | 115/118 | ||
| nested (120) | [ , ] | 56/57 | |||
| near-miss (115) | [ , ] | 59/61 | |||
| Expanded (eval) | all (235) | [ , ] | 118/120 | ||
| Judges, every video | all (235) | [ , ] | 97/100 | ||
| Humans, neither top video the source | all (133) | [ , ] | 28/30 |
| Against humans | Precision | Recall | ||
|---|---|---|---|---|
| Per fact on a video (Task A, off the source) | ||||
| Gemini | 1105 | |||
| gpt-6-astra | 1105 | |||
| Both judges | 1105 | |||
| Second annotator | 291 | – | – | |
| Per video meeting a whole query (off the source) | ||||
| HN | Nested acceptance | Near-miss acceptance | |
| valid | Judges / humans (strict) | Judges / humans (strict) | |
| 1 | 1.00 (64) | .89 / .98 (.97) | .93 / 1.00 (.98) |
| 2 | .99 (71) | .71 / .98 (.95) | .92 / 1.00 (.97) |
| 3 | .97 (67) | .61 / .98 (.93) | .88 / 1.00 (.96) |
| 4 | .95 (59) | .51 / .97 (.89) | .86 / .99 (.94) |
| All | .98 (261) | .69 / .98 (.94) | .90 / 1.00 (.96) |
| (relevant) | Precision | Recall | ||
|---|---|---|---|---|
| 1 | 216 (79) | [ ] | [ ] | |
| 2 | 213 (22) | [ ] | [ ] | |
| 3 | 182 (12) | [ ] | [ ] | |
| 4 | 178 (8) | [ ] | [ ] |
Video Retrieval
Video retrieval matches natural-language, visual, or multimodal queries to relevant videos, clips, and moments.
See all 68 papers