TL;DR
VideoStir is a novel long-video Retrieval-Augmented Generation (RAG) framework that shifts the paradigm from flat semantic matching to structured, intent-aware reasoning. By modeling videos as spatio-temporal graphs and utilizing an MLLM-backed intent scorer, it successfully captures implicit reasoning cues across long timelines, significantly boosting long-video understanding without relying on external text tools.
What Problem Does This Paper Address?
Multimodal Large Language Models (MLLMs) struggle with long videos due to constrained context windows. While Video RAG is a popular solution to retrieve query-relevant snippets, existing methods suffer from two major flaws:
- Spatio-temporal decoupling: They flatten videos into independent segments, breaking the narrative flow and missing contextually relevant but semantically distinct events.
- Insufficient intent modeling: They rely on superficial semantic matching (like CLIP embeddings) which answers "what looks similar" rather than "why it matters" for a specific query.
For instance, if a query asks why someone is using a printer, a traditional semantic retriever will pull frames containing the printer, but might completely miss the separate scene where the user actually reveals their purpose (e.g., making a poster). VideoStir addresses these gaps by restructuring how video data is indexed and queried.
Methods
VideoStir introduces a two-stage coarse-to-fine retrieval pipeline operating across three main phases:
- Spatio-Temporal Topology Modeling: The video is segmented into semantically coherent clips using an event boundary detector (PELT). These clips form nodes in a spatio-temporal graph. Chronologically adjacent clips are linked by temporal edges, while semantically similar clips (even if distant in time) are connected by spatial edges.
- Graph-based Clip Retrieval: The framework identifies initial "anchor" clips that match the query's explicit semantics. It then performs multi-hop traversal along the graph's edges to pull in contextually related neighboring clips that standard keyword/embedding matching would miss.
- Intent-aware Frame Retrieval: Densely sampled frames from the retrieved clips are evaluated by a lightweight MLLM-backed intent-relevance scorer (a LoRA-tuned Qwen2.5-VL-3B). Instead of a hard binary choice, the scorer outputs a probability distribution over five discrete relevance levels, which are aggregated via a probability-weighted expectation to yield a continuous relevance score for fine-grained filtering.
Datasets
- IR-600K: The authors introduce this large-scale dataset specifically tailored for frame-query intent alignment. It contains 605,676 training samples and 21,791 validation samples derived from 4,678 videos across ActivityNet-QA, NExT-QA, and STAR. Labels were distilled from a powerful teacher model (Qwen2.5-VL-72B-Instruct) to score intent relevance. Unlike datasets like TVSum or QVHighlights which evaluate purely descriptive semantic saliency, IR-600K focuses on whether a frame satisfies a query's underlying information need.
- Evaluation Benchmarks: The framework was evaluated on long-video benchmarks including LongVideoBench (LV-Bench), MLVU, Video-MME-Long, and EgoSchema.
Key Insights and Ideas
- Structure Beats Flatness: Flattening a video destroys narrative continuity. By treating a video as a graph, multi-hop retrieval can bridge the gap between an explicit query anchor and its implicit context.
- Intent over Similarity: Traditional contrastive vision-language models (like CLIP) optimize for alignment, not reasoning. A frame showing a printer is semantically similar to the word "printer," but completely irrelevant to the intent of finding out why the printer is being used. Tuning a lightweight MLLM specifically to judge intent relevance bridges this gap.
- Distributional Scoring Matters: Using a probability-weighted expectation over discrete MLLM tokens provides a smoother, better-calibrated ranking signal than relying on raw discrete outputs or simple binary classifications.
Key Results
- VideoStir consistently outperforms native MLLMs and existing long-video RAG baselines (like Video-RAG and TV-RAG) across various model sizes (7B to 72B) on LV-Bench, MLVU, and Video-MME-Long. For example, it boosts LLaVA-Video (7B) performance on LV-Bench by 6.5% and MLVU by 3.2%.
- Crucially, VideoStir achieves these gains using only native video inputs, matching or outperforming specialized agentic systems (like DrVideo or VideoTree) that rely heavily on expensive external video-to-text tools (captioners, OCR, object detectors).
- Component-level ablation studies show that removing either the intent-relevance scorer or the spatio-temporal graph drops retrieval accuracy significantly (e.g., retrieval accuracy drops from 92.2% to 74.8% without the graph structure).
Limitations and Future Work
- System Latency: Transforming long videos into structured graph representations and running an MLLM-based intent scorer adds an extra processing step, which inevitably increases end-to-end system latency.
- Future Directions: The authors highlight the need for future work to focus on reducing this latency, suggesting that developing end-to-end trainable frameworks that optimize both retrieval and generation simultaneously could be a promising path forward.
Summary updated