Source-linked AI summary
MR. Video: "MapReduce" is the Principle for Long Video Understanding
Ziqi Pang, Yu-Xiong Wang
TL;DR
Long-video understanding must combine detailed perception with global context, while existing VLMs and video agents face context-length or processing limitations. MR. Video applies MapReduce through independent short-clip perception and information aggregation, achieving over 10% higher accuracy than previous VLMs and video agents on LVBench.
Problem
Long-video understanding requires local visual detail and global context, while VLM context limits and video agents’ sequential exploration or key-segment retrieval constrain how they process videos.
Source: §1 · p. 1Method
MR. Video maps short clips to detailed captions and question-specific analyses, then reduces these segment-level outputs into consistent video-level information and a final answer.
Source: §1 · pp. 1–2Results
60.8% accuracy on LVBench, more than 10% better than previous VLMs and video agents.
Source: §1 · p. 2Takeaways & Limitations
MR. Video’s LVBench comparison supports the MapReduce principle for long-video understanding.
Source: §4.3.2 · p. 6MR. Video’s upper bound is limited by caption quality when the VLM overlooks visual details.
Source: §4.5.2 · p. 8
Abstract
from arXiv · showhide
We propose MR. Video, an agentic long video understanding framework that demonstrates the simple yet effective MapReduce principle for processing long videos: (1) Map: independently and densely perceiving short video clips, and (2) Reduce: jointly aggregating information from all clips. Compared with sequence-to-sequence vision-language models (VLMs), MR. Video performs detailed short video perception without being limited by context length. Compared with existing video agents that typically rely on sequential key segment selection, the Map operation enables simpler and more scalable sequence parallel perception of short video segments. Its Reduce step allows for more comprehensive context aggregation and reasoning, surpassing explicit key segment retrieval. This MapReduce principle is applicable to both VLMs and video agents, and we use LLM agents to validate its effectiveness. In practice, MR. Video employs two MapReduce stages: (A) Captioning: generating captions for short video clips (map), then standardizing repeated characters and objects into shared names (reduce); (B) Analysis: for each user question, analyzing relevant information from individual short videos (map), and integrating them into a final answer (reduce). MR. Video achieves over 10% accuracy improvement on the challenging LVBench compared to state-of-the-art VLMs and video agents. Code is available at: https://github.com/ziqipang/MR-Video
1. Introduction
Long video understanding requires detailed perception of local events together with aggregation across the whole video, but existing VLMs and video agents have limitations in context length, parallelization, and global comprehension. MR. Video applies MapReduce to this problem and reports over 10% higher LVBench accuracy than previous VLMs and video agents.
Motivation
- Long video understanding requires local detail and global context together, while VLM context limits and video agents’ sequential exploration and constrained key-segment retrieval make that challenging.The motivating example is counting a player’s goals across a fast-paced sports video.Source: §1 · p. 1
Contribution
- Map independently processes short video clips, while Reduce aggregates unit-level perceptions into a unified answer, addressing context limits and supporting sequence-parallel perception and global comprehension.The authors present the principle as applicable to both VLMs and video agents.Source: §1 · pp. 1–2
Method
- MR. Video uses a captioning stage to describe atomic scenes and standardize repeated characters or objects, followed by question-specific scene analysis and aggregation into a final answer.For goal counting, it counts scene-level goals and sums them.Source: §1 · p. 2
Results
- 60.8% accuracy on LVBench, more than 10% better than previous VLMs and video agents, using Gemini-Flash for frame perception and GPT4o for text understanding.LVBench features hour-long videos and diverse questions.Source: §1 · p. 2
2. Related Work
Prior long-video VLMs face context-length constraints, while video agents avoid those constraints through segmentation but can limit scalability and contextual coverage. MR. Video presents MapReduce as a simpler framework bridging these limitations.
VLMs for Video Understanding
- Long-video VLMs face context-length constraints because image tokens consume substantial context; increasing context or compressing frames can require more resources or risk losing visual detail.The passage notes VideoChat-Flash can support up to 10k frames with sufficient hardware.Source: §2 · p. 2
Video Understanding Agents
- Video agents split long videos into short-video subtasks, but sequential exploration hinders scalability and key-frame retrieval can constrain the contexts used for understanding.The passage also describes multi-round exploration and tool use as common agent strategies.Source: §2 · p. 2
LLM Agents
- MR. Video presents MapReduce as a simpler long-video agent framework that bridges VLM context limits and video agents’ sequential-exploration and retrieval limitations.The paper also situates its use of LLM agents as a convenient way to prototype the principle.Source: §2 · p. 2
3. Method
MR. Video uses an LLM agent to validate MapReduce for long-video understanding: independent segment-level processing is followed by video-level aggregation. Its method first builds consistent scene captions, then performs question-specific analysis.
3.1. Overview
- Independent Map operations process video segments, and Reduce condenses segment-level results into unified video-level understanding; the analysis stage first interprets the question, then inspects visual details or longer spans.The captioning stage provides broad video comprehension and an efficient foundation for answering multiple questions.Source: §3.1 · pp. 2–3, Figure 2 · p. 3
3.2. Captioning
- Captioning maps each scene to a dense caption and reduces the captions by assigning consistent names to repeated characters and objects.For 1–2 hour LVBench videos, the method generates 500–2k captions per video.Source: §3.2 · p. 3, Figure 2 · p. 3
3.2.1. Map: Dense Scene Captioning
- The dense-caption Map step checks clips for scene transitions, then describes each scene; sampled salient-character and object frames are supplied as context for captioning.The two-step strategy is intended to address VLM difficulty with clips containing multiple actions or significant transitions.Source: §3.2.1 · p. 3
3.2.2. Reduce: Consistent Characters and Objects
- Parallel clip captions can assign different names to the same character or one name to different characters, so Reduce associates repeated entities and updates captions with a consistent naming set.The method uses VLMs rather than external tracking tools for simplicity, noting that frequently changing scenes could break trackers’ assumptions.Source: §3.2.2 · pp. 3–4, Figure 3 · p. 4
3.3. Analysis I: Question Intention Analysis
MR. Video analyzes long-video questions by recovering their missing context, then inspecting relevant scenes and combining local evidence into a video-level answer. Its staged Map and Reduce operations support both detailed visual perception and broader temporal reasoning.
3.3. Analysis I: Question Intention Analysis
- MR. Video uses captions and optionally video frames to combine broader context with key-frame retrieval when identifying scenes relevant to an ambiguous long-video question.The question may omit clues such as when, how long, or where; intention analysis reasons about which potentially relevant scenes should be selected.Source: §3.3 · p. 4
3.3.1. Map: Segment Intention Analysis
- Each segment’s aggregated captions and middle frames are assessed for relevance, letting the model inspect details without processing the entire video at once.The method divides videos into nonoverlapping segments, empirically containing 32 scenes each.Source: §3.3.1 · p. 4
- Segment-level intention analysis records reasoning, candidate scenes, and key subjects, including uncertain criteria that require global video information.Candidate scenes offer more context than direct key-frame retrieval and may include indirectly helpful frames.Source: §3.3.1 · p. 4
3.3.2. Reduce: Global Intention Analysis
- The Reduce step combines segment analyses into video-level reasoning, condenses candidate scenes, and identifies question-relevant subjects using caption names.It uses the video contents and question criteria to merge or condense candidate scenes.Source: §3.3.2 · pp. 4–5
3.3.3. Key Segment Retrieval v.s. Intention Analysis
- Unlike prior agents’ key-segment selection, MR. Video explicitly reasons about question intent because clues such as “protagonist” or “utility room” can require understanding video context first.The passage characterizes key-segment selection as an oversimplified approach to long contexts.Source: §3.3.3 · p. 5
3.4. Analysis II: Goal-Aware Analysis
- Goal-aware analysis plans which information to gather, using longer-horizon captions or sparse frames for context and dense frame sampling for visual recognition.The approach is presented as flexible across a wide range of questions.Source: §3.4 · p. 5
3.4.1. Map: Goal-Aware Scene-centric Analysis
- For each question, customized VLM queries target multiple aspects, using dense within-segment sampling for visual details or sparse cross-segment sampling for longer-range information.Captions from selected segments can also be included to simplify perception.Source: §3.4.1 · p. 5
3.4.2. Reduce: Answer Generation
- The final Reduce step integrates scene analyses into a unified answer, addressing conflicting scene perceptions or calculations across scenes.It attends to global context after preceding Map steps have summarized the information.Source: §3.4.2 · p. 5
4. Experiments
Experiments evaluate MR. Video on long-video benchmarks and ablate its components. It outperforms prior methods on LVBench, while broader results and failure analyses show strengths and limits across tasks.
4.1. Datasets
- LVBench comprises 1,549 questions on 103 videos lasting 30 minutes to 2 hours; experiments use 1,492 questions, and ablations use a six-video, 98-question subset.The evaluation also includes long-video subsets of LongVideoBench and Video-MME and the EgoSchema validation set; VLM perception is limited to fewer than 32 frames per query.Source: §4.1 · pp. 5–6, §4.2 · p. 6
4.3.1. Nuanced Distinctions of Long Video Benchmarks
- Benchmarks emphasize different skills: LVBench and LongVideoBench focus on key-clip localization and exact content matching, while Video-MME and EgoSchema include more interpretative questions.LongVideoBench supplies more explicit vision-centric cues, whereas LVBench emphasizes stories or events.Source: §4.3.1 · p. 6
4.3.3. Breadth Comparison
- Across benchmarks, MR. Video is better or on par with baselines overall, but performs on par with Gemini-2.0-Flash on EgoSchema and Video-MME and trails Gemini-Pro on Video-MME.The authors attribute the Video-MME challenge to lossy text representations for interpretative questions; training text-based video understanding is outside their validation objective.Source: Table 2 · p. 6, §4.3.3 · p. 7
4.3.2. LVBench Comparison
- On the complete LVBench set, MR. Video achieves an accuracy improvement of over 10% over all other methods, indicating a significant advantage in long-video understanding.Source: §4.3.2 · p. 6
4.4.1. Consistent Characters
- Consistent character and object naming improves ablation accuracy from 59.2% without consistency to 62.2% with it.The authors report that shared names help connect appearances across video parts and improve question-intention analysis.Source: §4.4.1 · p. 7
4.4.2. Question Intention Analysis
- Question-intention analysis localizes relevant scenes for 68.8% of questions, while key-segment retrieval reaches 34.4%; global intention alone yields 52.0%, below full MR. Video.MR. Video identifies scenes among videos typically containing 500–2,000 scenes; its LVBench intention analysis accesses captions without video frames. The authors conclude that detailed, goal-aware inspection is needed after global context analysis.Source: §4.4.2 · p. 7, §4.4.3 · p. 7
4.4.4. Different LLMs
- Replacing GPT-4o with Gemini-2.0-Flash or Qwen-2.5-7B significantly reduces performance, and the authors identify text-based video understanding as a major bottleneck.They frame MR. Video primarily as a validation of MapReduce and leave training language models for text-based video understanding to future work.Source: §4.4.4 · pp. 7–8
4.5.1. Positive Example Analysis
- A goal-counting example shows exhaustive clip inspection and whole-video aggregation, but frame sampling and strict goal criteria produce an undercount; failures also arise from language-model misalignment and missed visual details.The failure analysis notes that a VLM’s omitted details, such as noodles or a woman’s face, leave the LLM without sufficient information.Source: §4.5.1 · p. 8, §4.5.2 · p. 8
5. Conclusions
The paper introduces MapReduce for long video understanding and validates the principle with MR. Video, an LLM-agent workflow. MR. Video improves performance on LVBench, while the paper leaves applying MapReduce to VLMs for future work.
5. Conclusions
- MR. Video improves performance by over 10% on the challenging LVBench benchmark.The paper uses LLM agents to validate the MapReduce principle.Source: §5 · p. 8
- MapReduce targets the challenge of perceiving local details while digesting global video context.The paper describes the principle as applicable through detailed local perception and global context comprehension.Source: §5 · p. 8
- This work validates MapReduce with LLM agents, leaving VLM integration and training or alignment of agents for future work.The authors identify information loss as an issue for interpretative questions such as Video-MME.Source: §5 · p. 8
A. Delving into Long Video Benchmarks
The appendix contrasts the question styles of LVBench, LongVideoBench, and Video-MME. Its examples illustrate benchmark complexity rather than claiming that a few techniques can solve the benchmarks.
A. Delving into Long Video Benchmarks
- The examples provide intuition about question complexity, not evidence that a few techniques can solve these benchmarks.The benchmarks curate diverse questions.Source: A. Delving into Long Video Benchmarks · p. 12
- LVBench combines scene localization with action understanding and context integration, while LongVideoBench emphasizes visual detail perception and temporal association.LongVideoBench supplies explicit visual cues that must be propagated across time.Source: A. Delving into Long Video Benchmarks · p. 12
- Video-MME questions are often interpretative impressions of videos rather than questions about a specific event.This contrasts with the event-focused examples described for LVBench and LongVideoBench.Source: A. Delving into Long Video Benchmarks · p. 12
B. Prompts and Implementation Details
The appendix details captioning prompts, dataset subsets, and baseline evaluation settings. It describes how video scenes are segmented and captioned, how repeated entities are standardized, and how baseline frames and contexts are prepared.
B.1. Captioning Prompts
- Each 10-second segment is split into scenes, with a boundary check against the preceding segment, before salient characters and scene contents are captioned and repeated entities unified.The three independent map steps support parallel inference; the reduce step merges repeated characters or objects into shared names.Source: §B.1 · p. 12
B.4. Datasets
- As of March 1, 2025, four LVBench videos were unavailable, leaving 1,492 of 1,543 questions after filtering.The videos require YouTube downloads through provided links.Source: §B.4 · pp. 12–13
- The ablation subset uses six LVBench category videos and 98 questions; breadth evaluations use specified subsets of LongVideoBench, EgoSchema, and Video-MME.The LongVideoBench subset has 188 videos and 564 questions; EgoSchema has 500, and Video-MME has 300 videos and 900 questions.Source: §B.4 · p. 13
B.5.1. Baseline Evaluation
- Gemini-2.0-Flash is evaluated with 256 uniformly sampled frames for hour-long benchmarks and 128 for EgoSchema.For LVBench, sampled frames include timestamps; LongVideoBench contexts also include subtitles.Source: §B.5.1 · pp. 13–14
- The scene-decomposition prompt requests a faithful segment description, a single-versus-multiple-scene decision, and boundary-frame indices when needed.It also checks that the number of scene summaries is one greater than the number of reported boundaries.Source: §B.5.1 · p. 14
- The scene-consistency prompt tests whether the clip from its second frame onward remains in the same scene as the first frame, with a yes-or-no response.The appendix labels these prompts as scene splitting and scene merging prompts.Source: §B.5.1 · p. 14
B.2. Analysis I Prompts
Question intention analysis processes scene-level caption information in chunks, then consolidates segment analyses into a video-level interpretation. The global step reasons about which scenes best match the question.
B.2. Analysis I Prompts
- The map step uses an LLM to analyze scene-level information and infer the user's intention from caption chunks of 50 scenes.The prompts are provided in Table G.Source: §B.2 · p. 12
- The reduce step combines segment-level analyses into a condensed video-level analysis.Its prompts are provided in Table H.Source: §B.2 · p. 12
- The global analysis explicitly reasons about the video and identifies the most appropriate scenes for the question.Source: §B.2 · p. 12
B.3. Analysis II Prompts
For each question, MR. Video proposes customized queries based on the information needed and applies them to VLMs. It then combines goal-aware scene-centric analysis with global intention analysis to generate a final response.
B.3. Analysis II Prompts
- MR. Video proposes customized queries for each question based on the information needed to answer it.Source: §B.3 · p. 12
- The customized queries are applied to VLMs for goal-aware scene-centric analysis.Source: §B.3 · p. 12
- Answer generation combines goal-aware scene-centric analysis with global intention analysis to produce the final response.Source: §B.3 · p. 12
B.5.2. Ablation Study on Finding Relevant Segments
The supplied prompts and experiment details describe how MR. Video evaluates relevant-segment analysis against a multimodal retriever and organizes question-driven analysis across short clips. They also specify supporting captioning, character-memory, and answer-generation procedures.
B.5.2. Ablation Study on Finding Relevant Segments
- 64 LVBench questions across key information retrieval, event understanding, entity recognition, and temporal grounding form the analysis subset, compared with MM-Embed.Source: §B.5.2 · p. 14
- MM-Embed encodes frames with timestamps and questions with options, then retrieves relevant frames by maximum inner-product between question and frame embeddings.Source: §B.5.2 · p. 14
- The prompts build a visual memory of potentially influential characters and objects, recording names, descriptions, and representative frame indices.Source: §B.5.2 · p. 15
- Character selection checks repeated entities across frame sets and favors salient, representative views, including front-facing frames when available.Source: §B.5.2 · p. 17
- Character-merging prompts identify repeated characters or objects across frame sets and select a shared name for each match.Source: §B.5.2 · p. 17
- Segment analysis combines the question, sampled frames, and scene captions, prioritizing the question over frames and captions, which are respectively sparse and less reliable.Source: §B.5.2 · p. 18
- Video-level intention analysis merges segment relevance and character outputs, resolves contradictions, and identifies relevant segments and key characters for downstream analysis.Source: §B.5.2 · p. 19
- The final-answer prompt receives local and global VLM analyses alongside video-level intention analysis, then returns reasoning and an answer choice.Source: §B.5.2 · p. 21