TL;DR
Vision-language models (VLMs) watching a live video stream face an impossible choice: drop old frames and suffer from amnesia, or keep everything and drown in compute costs. This paper introduces the Visual-State Graph (VSG), a training-free memory system that tracks the evolving state of persistent objects rather than hoarding raw video frames. By consolidating repeated sightings of the same object into a single, timestamped graph node, VSG lets off-the-shelf VLMs accurately recall the distant past using the exact same tiny token budget as a short, recent-frame window.
What Problem Does This Paper Address?
Imagine wearing smart glasses while fixing a motorcycle. You tighten a bolt, set the tool down, work on something else for a minute, and then ask your AI assistant, "What tool did I use to tighten that screw?"
Surprisingly, a dead-simple baseline—just feeding the last few seconds of video frames into an off-the-shelf VLM—rivals many specialized streaming AI architectures on current events. However, once that screwdriver leaves the 18-second "recent-frame window," the model has total amnesia. Conversely, feeding the entire video history into the model doesn't scale; as the video grows, compute explodes, and relevant details get lost in a sea of redundant tokens. Furthermore, under a strict input token budget, cramming historical summaries into the prompt steals space from live video frames, degrading the model's grip on the present.
Methods
Instead of storing raw frames or compressing mysterious internal model caches, VSG builds an explicit, human-readable semantic memory online. It splits the job between two standard, frozen VLMs—a writer and a reader—requiring zero training.
As the stream unfolds, the writer periodically looks at short clips and extracts three things: scene-graph triplets (e.g., (mechanic, holding, screwdriver)), short object descriptions, and a one-sentence action caption for a chronological event log. An open-vocabulary object detector (OWLv2) also grabs bounding-box image crops of the objects to preserve visual textures.
What is genuinely novel here is how VSG avoids creating a new record every time it sees the same screwdriver:
- Relational Consolidation: To solve the identity-matching puzzle without relying solely on tricky visual appearance, VSG looks at context. It compares the embeddings of the relationships a newly spotted object participates in against the running average of relationships for existing nodes of the same class. If a screwdriver is repeatedly "held by mechanic," it merges into one persistent node, appending the new state (e.g.,
0:10 on workbench$\rightarrow$5:30 in mechanic's hand) to its history. - Budgeted Reading: When a question arrives (the reactive setting), a CLIP text encoder ranks object nodes and event logs by relevance. VSG packs the reader's fixed token budget in strict priority: retrieved text histories first, up to two high-res object crops second, and finally fills whatever tokens remain with live recent frames. (For proactive tasks—where the AI waits for a specific trigger to speak up—the writer builds a query-guided memory checked every second).
Datasets
Because VSG is completely training-free, no training datasets are used. The authors evaluate it across four existing streaming-video benchmarks (no new benchmarks are introduced):
- OVO-Bench: Tests real-time scene perception alongside backward tracing (probing memory of earlier events).
- StreamingBench: Evaluates 10 real-time understanding categories plus a proactive output task.
- OmniPro & InteractionBench: Dedicated proactive benchmarks testing whether an AI speaks at the exact right moment and stays quiet otherwise.
Key Insights and Ideas
- More tokens $\neq$ better memory: Counterintuitively, feeding a model massive scene-graph histories (like the baseline Response-G1, using up to 38K tokens) actually performs worse on backward tracing than just looking at recent frames for four out of six models. Curating compact object-state histories beats brute-force context length.
- Write once, read anywhere: Because the reactive memory is built before questions are known and lives as structured text and image crops (rather than model-specific KV caches), you can generate a video's memory once with an 8B model and reuse it across completely different 7B to 32B reader architectures.
- Eliminating visual redundancy: Consecutive video frames are mostly identical. CLIP similarity analysis shows VSG feeds the reader far more visually distinct images than competing methods, spending its token budget on unique evidence rather than Déjà vu.
Key Results
Evaluated across seven frozen VLMs (InternVL3.5, LLaVA, Qwen3-VL, and Qwen3.5 families, from 7B to 32B parameters):
- Accuracy under tight budgets: Operating at ~3.3K tokens per query (matching the recent-frame baseline), VSG boosts backward-tracing accuracy on OVO-Bench by 16% on average (up to +10.0 percentage points on LLaVA-OV-1.5-8B) while never hurting—and slightly improving—real-time accuracy.
- Proactive dominance: On OmniPro and InteractionBench, VSG improves overall scores by up to 55% and 47% over vanilla inference, shining on State Monitoring tasks (up to 2.8$\times$ improvement).
- Massive efficiency gains: Compared to recent memory baselines OASIS and Response-G1, VSG reads 3.1$\times$ to 9.7$\times$ fewer tokens and cuts stored memory after a 24-minute stream down to 59K tokens (3.5$\times$ smaller than OASIS). Question-answering latency drops to 1.0 second—5.2$\times$ faster than even the recent-frames baseline because it decodes fewer heavy video frames.
Limitations and Future Work
While VSG strictly caps the reader's input budget regardless of whether a video is two minutes or two hours long, the underlying stored graph and event log grow unboundedly as the stream continues. Furthermore, running a VLM writer and object detector online incurs an ongoing computational cost, and proactive tasks currently require spinning up a separate memory per instruction without a strict reader token cap. Future work will focus on compressing or pruning stored memory over ultra-long streams and reducing the overhead of writing it.
Summary updated