Abstract
This paper presents StreamChat, a novel approach that enhances the interaction capabilities of Large Multimodal Models (LMMs) with streaming video content. In streaming interaction scenarios, existing methods rely solely on visual information available at the moment a question is posed, resulting in significant delays as the model remains unaware of subsequent changes in the streaming video. StreamChat addresses this limitation by innovatively updating the visual context at each decoding step, ensuring that the model utilizes up-to-date video content throughout the decoding process. Additionally, we introduce a flexible and efficient cross-attention-based architecture to process dynamic streaming inputs while maintaining inference efficiency for streaming interactions. Furthermore, we construct a new dense instruction dataset to facilitate the training of streaming interaction models, complemented by a parallel 3D-RoPE mechanism that encodes the relative temporal information of visual and text tokens. Experimental results demonstrate that StreamChat achieves competitive performance on established image and video benchmarks and exhibits superior capabilities in streaming interaction scenarios compared to state-of-the-art video LMMs.
Introduction
Most current video-capable AI models operate in an "offline" mode: they ingest a fixed video clip, process it, and then generate a response. However, in real-world streaming scenarios—such as a robot navigating a room or a user wearing AR glasses—the visual environment changes constantly. Existing models suffer from a "context gap." If a model is asked at second 10 to describe its surroundings, and it takes 5 seconds to generate an answer, it remains unaware of anything that happened between seconds 11 and 15. This leads to responses that are outdated or factually incorrect regarding the current state of the stream. StreamChat aims to bridge this gap, ensuring the model "watches" the video while it "talks."
Methodology
StreamChat introduces several architectural and procedural innovations to handle the fluid nature of streaming data:
Dynamic Context Updating
Instead of using a static set of visual features, StreamChat updates its visual context at each decoding step. As the model generates each word of its response, it incorporates the very latest frames from the video stream. This "watch-while-talking" paradigm mimics human conversation, where speech is adjusted based on real-time visual feedback.
Cross-Attention Architecture with V-FFN
To keep inference efficient, the model uses a cross-attention mechanism rather than concatenating all video tokens into the LLM's primary sequence. They introduce Visual Feed-Forward Network (V-FFN) experts—specialized layers that update visual representations as they pass through the LLM, better aligning them with the model's internal state.
Parallel 3D-RoPE
Standard positional encodings (RoPE) are usually 1D. StreamChat uses a 3D version that accounts for time, height, and width. Crucially, it uses a parallel arrangement: a text token and a video frame occurring at the same timestamp share the same temporal index, ensuring the model understands they are happening simultaneously.
Datasets and Evaluation
The researchers developed new resources to train and evaluate "real-time" behavior:
- Dense Instruction Dataset: A new dataset of 51k examples derived from Ego4D and Vript, featuring fine-grained temporal annotations where each word in a response is mapped to a specific timestamp.
- Streaming Evaluation Benchmark: A test set of 100 samples designed to measure how well a model tracks dynamic changes during the response generation phase.
- Standard Benchmarks: Evaluation on MMMU, VideoMME, and MVBench ensured the model retained strong "offline" reasoning capabilities.
Results
StreamChat-7B demonstrated superior streaming performance, outperforming much larger models like LLaVA-Video-72B in head-to-head evaluations. It achieved a significantly higher win rate (up to 58% vs. VILA-1.5-13B) due to its ability to perceive events as they occur.
On the VideoMME benchmark, StreamChat-7B scored 58.6/62.8, outperforming VideoLLaMA2-7B by over 10 points. Furthermore, StreamChat achieves these results using only 256 visual tokens, making it highly efficient for real-time deployment on edge devices.
Conclusion
StreamChat represents a significant shift from a "prompt-then-process" workflow to a continuous interaction loop. By treating video as a parallel stream of information synchronized with text, it enables AI to interact with the world in real-time. Future work will focus on improving timestamp accuracy and developing more sophisticated memory mechanisms for long-duration streams.
Reference: Liu, J., et al. (2025). StreamChat: Chatting with Streaming Video. arXiv:2412.08646v2 [cs.CV].
Summary updated