TL;DR
MERIT (Multi-key Episodic Retrieval with Inference-time Temporal expansion) is a minimalist framework for understanding "ultra-long" videos—those spanning hours or even days. By replacing complex, pre-computed memory hierarchies with a simple multi-key retrieval system and expanding context only when a query is asked, MERIT achieves state-of-the-art performance while being significantly more efficient than previous graph-based or hierarchical methods.
What Problem Does This Paper Address?
As Multi-modal Large Language Models (MLLMs) evolve, researchers are pushing them to process longer videos. However, when a video lasts 48 hours, you can't just "feed it in." The standard solution is Retrieval-Augmented Generation (RAG): summarize the video into an external memory and retrieve relevant bits at query time.
The authors identify a major inefficiency in current RAG approaches: Intelligence Allocation. Existing methods (like EgoRAG or WorldMM) spend massive amounts of computation building complex hierarchical summaries or knowledge graphs before a question is even asked. This "query-agnostic" preprocessing often discards fine-grained details that might be crucial later and forces the model to guess which relationships matter. MERIT argues that we should keep memory construction simple and defer the heavy reasoning to inference time, once we actually know what the user wants to find.
Methods
MERIT operates in two stages:
- Episodic Memory Construction: The video is partitioned into 30-second clips. For each clip, the system generates a dense caption and four distinct "keys" for retrieval:
- Event/Action: Physical movements and interactions.
- Dialogue/Mention: Transcribed speech and linguistic context.
- Object: Specific items handled or moved.
-
Summary: A high-level keyword-style abstraction. This "Multi-Key" approach ensures that a clip can be found whether the user asks about a specific object, a spoken sentence, or a general activity.
-
Agentic Retrieval and Neighbor Filtering: At inference time, an LLM "solver" generates a search query. It matches this query against the keys using maximum cosine similarity.
- Neighbor Filtering (NF): Once a relevant clip is found, MERIT doesn't just look at that 30-second window. It automatically pulls in "neighboring" clips (e.g., ±1 minute).
- Query-Aware Refinement: The solver then filters this expanded neighborhood to extract only the information relevant to the specific question, effectively building a custom "mini-graph" of events on the fly.
Datasets
The authors evaluated MERIT on three challenging long-video benchmarks:
- EgoLifeQA: An ultra-long egocentric dataset averaging 44.3 hours per video, testing factual grounding and semantic reasoning over daily life.
- LVBench: A benchmark for general long-form understanding with videos averaging over an hour.
- Video-MME (Long Subset): A dataset of 30- to 60-minute videos.
Key Insights and Ideas
- Simplicity Wins: The most striking insight is that a "flat" memory with multiple keys outperforms sophisticated hierarchical and graph-based memories. By not forcing a structure during preprocessing, MERIT avoids "cascading errors" where a mistake in a high-level summary ruins all subsequent retrieval.
- The Power of Late Composition: Deferring the "composition" of relations to inference time allows the model to use the specific context of the query to decide which temporal links are important.
- Complementary Keys: The ablation studies show that the four keys are highly complementary. The "Summary" key is the strongest individual performer for general queries, but the "Object" and "Dialogue" keys are essential for "needle-in-a-haystack" factual questions.
- Inductive Bias of Continuity: Neighbor Filtering leverages the fact that video evidence is usually temporally local. Expanding the search radius after finding a hit is a cheap but highly effective way to capture cause-and-effect relationships.
Key Results
MERIT established new State-of-the-Art (SOTA) results across the board:
- EgoLifeQA: Achieved 71.2% accuracy using GPT-5, a significant jump over the previous best (WorldMM at 65.6%).
- LVBench: Reached 71.8%, outperforming the prior SOTA by nearly 10%.
- Video-MME (Long): Achieved 77.7% accuracy.
- Retrieval Accuracy: MERIT achieved a higher "Hit Rate" (0.56) than more complex models like WorldMM (0.53) and EgoRAG (0.15), proving that simple multi-key matching is more reliable than navigating complex hierarchies.
Limitations and Future Work
- Caption Quality: MERIT relies heavily on the quality of the initial dense captions generated for the 30-second clips. If the initial captioning model misses an event, the retrieval keys will likely fail too.
- Solver Capacity: The paper notes a "divergence" in performance based on the LLM used. High-capacity models (like GPT-5) thrive with more retrieved context (Top-10 clips), whereas smaller, open-source models (like Qwen-4B) actually perform worse when given more clips, likely due to "lost in the middle" or noise-tolerance issues.
- Future Direction: The authors suggest that future work could explore more adaptive ways to determine the "temporal radius" ($\Delta$) for neighbor filtering, perhaps allowing the agent to decide how much context it needs based on the complexity of the query.
Summary updated