Evaluating Video Memory in Multimodal LLMs: Context Dependence in Multi-Turn Dialogue

    A new benchmark from a joint research team exposes how multimodal large language models (MLLMs) "forget" when conversing about the same video across multiple turns. This article explains the two core dependency types—scene dependence and answer dependence—analyzes the architectural causes of memory degradation, and shares practical engineering techniques such as structured state tracking, external memory stores, and layered memory architectures to build more coherent video dialogue applications.

    Evaluating Video Memory in Multimodal LLMs: Context Dependence in Multi-Turn Dialogue

    As multimodal large language models (MLLMs) continue to evolve, they have demonstrated impressive capabilities in single-turn tasks such as image recognition and short video understanding. However, in real-world scenarios, human-machine interaction is typically continuous and multi-turn. A joint research team from several universities recently proposed an evaluation benchmark focused on video memory capability, targeting a key pain point: models tend to “forget” when engaged in sustained dialogue about the same video. The benchmark reveals a significant gap between independent question answering and multi-turn dialogue, offering valuable guidance for deploying enterprise-grade multimodal applications.

    1. The “Amnesia” Problem in Multi-Turn Video Dialogue

    Traditional video question-answering benchmarks mostly use independent, single-turn questions. In this mode, the model only needs the current video content and question to produce an answer, with no need to review conversation history. While easy to evaluate quantitatively, this approach diverges from how humans naturally communicate.

    Consider real-world scenarios such as live video analysis, security footage review, or film commentary assistance, where user questions are contextually connected. If a model cannot link the current question to earlier parts of the conversation, it will produce answers that miss the point entirely. The proposed evaluation method addresses this limitation by organizing questions into multi-turn dialogues with logical dependencies, specifically testing the model’s ability to retrieve information and maintain conversational state.

    2. Core Challenges: Scene Dependence and Answer Dependence

    The benchmark defines two key types of information dependency in multi-turn dialogue: scene dependence and answer dependence. Together, they precisely capture the obstacles MLLMs must overcome in continuous conversation.

    1. Scene Dependence: Visual Recall Across Time

    Scene dependence requires the model to locate a specific video segment discussed earlier in the conversation, then answer a new question by combining that context with the current frame.

    Take sports analysis as an example. Early in the conversation, a user asks: “Which player just drove to the basket and scored?” The model answers with the player’s name. After several turns discussing other plays, the user follows up: “How did that player we first talked about finish the game statistically?” Now the model must not only understand the current stats screen—more importantly, it must “recover” that player’s identity from the earlier conversation. If the model confuses the temporal memory and picks the wrong player, even a perfect reading of the current stats panel leads to a wrong answer.

    2. Answer Dependence: Logical Extension of Prior Outputs

    Answer dependence emphasizes continuity in conversational logic. The model must continue reasoning based on the characters, objects, or events it identified earlier.

    This challenge is especially evident in film plot analysis. A user might first discuss a specific scene at the beginning of the film, then shift to a subplot involving other characters. Several turns later, the user points to a supporting character on screen and asks: “Did this character appear in the scene we talked about at the very beginning?” The task is highly complex: the model must recall which scene was discussed first, extract its visual features, and compare them with the character in the current frame. Relying solely on understanding the current frame makes such cross-timeline questions unanswerable.

    3. Why Models Forget: A Look Under the Hood

    Why do MLLMs “forget” so easily in multi-turn video dialogue? From an architectural perspective, there are two main causes:

    First, context window limits and attention decay. Although context windows keep growing, when long videos (with large numbers of visual tokens) interleave with long conversation histories, the Transformer’s self-attention mechanism inevitably suffers from “dilution of intermediate features.” Key historical information in the KV cache can get buried under irrelevant small talk.

    Second, temporal compression loss of visual features. To fit input constraints, long videos are typically sampled or compressed. Uniform sampling or keyframe extraction strategies often lose fine-grained temporal information. When a user refers back to a very brief scene, its visual features may never have been fully encoded into the model’s memory.

    4. Engineering Practices for Better Video Memory

    Given these challenges, developers building multimodal dialogue applications should not rely solely on the base model’s capabilities, but should intervene and optimize through engineering.

    1. Structured Prompt Constraints and State Tracking

    In multi-turn dialogue, you can use an external state machine or structured prompts to force the model to maintain a “key entity and scene state table” at every turn. Recording key information in JSON format reduces the difficulty of backtracking.

    Here is a simplified state-tracking pseudocode example:

    1. conversation_state = {
    2. "current_topic": "basketball_game",
    3. "tracked_entities": [
    4. {"entity_id": "player_A", "first_mentioned_round": 1, "context": "drove to the basket and scored"}
    5. ],
    6. "tracked_scenes": [
    7. {"scene_id": "intro_scene", "first_mentioned_round": 3, "timestamp": "00:01:20-00:01:45", "description": "rainy night scene at the opening"}
    8. ]
    9. }
    10. def update_state_and_generate_prompt(user_query, conversation_state):
    11. # Build a strongly constrained prompt combining the current question and historical state
    12. prompt = f"""
    13. You are a video analysis assistant. The current conversation state is:
    14. {json.dumps(conversation_state)}
    15. The user's latest question: {user_query}
    16. First determine whether this question involves any entity or scene from the historical state.
    17. If so, extract the corresponding information from the state table, then answer in combination
    18. with the current frame, and update the state table after answering.
    19. """
    20. return prompt

    2. Building an External Memory Store

    For long-video applications, stuffing all visual and text features into the model’s context is neither economical nor practical. Developers can adopt a “vector database + multimodal feature extraction” approach: split the video, extract a text description and visual feature vector for each clip, and store them in a vector database (such as a vector retrieval service from providers like Baidu AI Cloud). When a user refers back to earlier content, the system first retrieves the specific video segment related to the historical conversation via text search, then injects that segment’s detailed features into the current prompt as external knowledge—achieving “precise recall.”

    3. Layered Memory Architecture

    Drawing on human memory mechanisms, systems can be designed with separate short-term and long-term memory. Short-term memory keeps the raw dialogue and current frame features from the most recent 3–5 turns; long-term memory converts earlier scenes and entities into structured text via summarization. As the conversation grows, the system automatically “consolidates memory,” promoting important entities from short-term to long-term memory—controlling token consumption while ensuring critical information is not lost.

    5. Conclusion

    A model’s memory capability in continuous video dialogue is a key indicator of whether it can truly handle complex business scenarios. The scene dependence and answer dependence benchmarks proposed by academia not only expose current MLLM weaknesses but also point the way for engineering optimization. As developers, we should deeply understand the memory bottlenecks of these models and use engineering techniques—structured state tracking, external memory stores, and layered memory architectures—to compensate for base model limitations, building intelligent applications with genuinely coherent reasoning in fields such as security monitoring, sports commentary, and film production assistance.