TL;DR
Imagine searching hours of unannotated video rushes using just a couple of headshots and a prompt like "Person 1 hugs Person 2." This paper introduces CAST, both a benchmark for multi-person, identity-conditioned video search and a remarkably fast retrieval framework. By distilling a slow, observant "teacher" model and a face recognizer into a unified embedding space during training, CAST finds the exact actors performing the exact actions via a simple dot product—no clunky face-detection pipelines required at search time.
What Problem Does This Paper Address?
Film and TV editors routinely dig through massive video archives to find specific moments. Usually, they rely on manual text logs—which fail completely on raw footage or unannotated archives where actor names aren't tagged.
What editors really want is identity-conditioned shot retrieval: hand the system reference photos of specific people alongside a text description of what they are doing, and get back the matching video shots. While prior work tackled single-person queries, searching for interactions between multiple people has remained largely unexplored. This is deceptively tricky. If you search for "Person 1 hugs Person 2," a shot where both people appear but are arguing shouldn't match. Neither should a shot where Person 1 hugs a stranger while Person 2 watches.
Traditional pipelines stitch together separate face detectors, trackers, and action-recognition models. Not only is running all that machinery slow, but any error in face tracking cascades down and ruins the search results. General-purpose vision-language models (VLMs) offer fast vector search, yet out of the box, they struggle to bind specific facial identities to actions.
Methods
To get the accuracy of a meticulous cross-examination with the speed of vector search, the authors propose the CAST framework, built on Qwen3-VL backbones.
Instead of running face detection at search time, CAST bakes facial awareness directly into a multimodal embedding model using three training-time ingredients:
- A Reranker Teacher: A heavy cross-encoder (Qwen3-VL-Reranker-8B) reads the query photos, text, and video frames jointly. Because it sees everything side-by-side, it learns to spot subtle mismatches in who is doing what, though it's far too slow for live search.
- Teacher-Guided Distillation & Mining: The frozen teacher scores candidate shots offline. Its nuanced probability distributions act as soft targets to train a fast dual-encoder "student" (Qwen3-VL-Embedding, adapted via LoRA on both its language and vision encoders). Crucially, the teacher also filters out false negatives and selects the hardest, most confusing negatives for the student to learn from.
- Training-Only Identity Alignment: For single-person queries, a lightweight projection head forces the student's video embeddings to align with facial embeddings from a frozen ArcFace recognizer.
At inference time, the teacher, ArcFace, and projection head are all thrown away. Every gallery video shot (8 sampled frames) is encoded once offline. Searching is just a single forward pass of the query (photos + text) followed by a fast cosine similarity lookup.
Datasets
Because existing single-person benchmarks are either inaccessible or lack multi-person interactions, the authors built the CAST benchmark from 83 movies in the LSMDC v2 collection:
- Scale & Splits: 10,727 training queries (64 movies), 1,223 validation queries (7 movies), and 783 test queries—including 195 multi-person queries—evaluated over a gallery of 5,210 shots from 12 unseen movies.
- Construction & Hard Negatives: Actors were matched to IMDb headshots, boxed in frames, and fed to a 27B VLM to generate action and interaction descriptions without naming the actors. Crucially, every query is paired with identity negatives (different actors, same action) and action negatives (same actors, different action), ensuring models can't cheat by looking only at faces or only at text. A blind human audit showed 86.6% agreement with the automated test labels.
The authors also test transferability on SynCPR (synthetic training triplets) and ITCPR (2,202 queries over 20,510 still images), an existing benchmark for finding a person after a change in clothing or appearance.
Key Insights and Ideas
- Implicit Face Recognition: Even without cropping or detecting faces at test time, CAST's accuracy scales directly with how recognizable an actor's face is (as measured offline by ArcFace). The VLM learns to act like a face recognizer purely inside its general token embeddings.
- You Must Adapt the Eyes, Not Just the Brain: In ablations, freezing the vision encoder and only LoRA-tuning the language model caused the single biggest drop in performance (-6.1 mAP). Recognizing specific actors in cinematic lighting requires adapting visual features directly.
- Teacher Mining Saves Multi-Person Queries: Random negatives rarely show the exact same pair of people doing a different action. Using the teacher to mine hard negatives boosted multi-person mAP by 4.7 points, proving vital for interaction queries.
- Free Test-Time Boost: Simply averaging query embeddings across five reference photos per actor instead of one boosts mAP by up to 1.9 points without any retraining.
Key Results
- Speed & Accuracy on CAST: CAST-8B hits 49.7% mAP (at 141 ms/query), crushing the strongest modern face-matching + video-text baseline (Scene–Identity Late Fusion, 36.4% mAP) by 13.3 points. Meanwhile, CAST-2B reaches 43.3% mAP in just 66 ms/query—making it 1.7× faster and 6.9 points more accurate than the face-pipeline baseline. Training more than doubles the zero-shot Qwen3-VL baselines (17.2% and 23.0% mAP).
- Indexing Trade-offs: Full-resolution indexing takes longer for CAST (46–98 min vs. 24.5 min for Late Fusion), but reducing visual tokens per shot lets CAST-2B index in 15 minutes while still beating Late Fusion (39.1% vs. 36.4% mAP).
- State-of-the-Art Transfer: Trained on SynCPR and evaluated on ITCPR with top-10 reranking, CAST-8B sets a new state of the art at 51.2% R@1 (+4.7 points over prior SOTA FAFA) and 56.3% mAP.
Limitations and Future Work
The most fascinating limitation is role blindness in asymmetric interactions. When the authors took asymmetric queries like "Person 1 pushes Person 2" and swapped the two reference photos, CAST scored the true video higher only 37 out of 68 times—essentially a coin flip! While the cross-encoder teacher can tell who did what to whom (62/68), compressing the whole shot into a single vector loses that directional binding, limiting CAST's multi-person claims to interaction-presence retrieval.
Additionally, benchmark construction relies on upstream face matching (meaning missed actor appearances falsely count as negatives), and the authors explicitly note privacy risks, emphasizing that identity-conditioned search should remain confined to consenting domains like media production rather than public surveillance. Future work is not explicitly outlined beyond these open challenges.
Summary updated