om-ai-lab/VLX-Flow
VLX-Flow: streaming VLM for real-time general vision intelligence
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository của tuần
#1 Repository của tuần
#1 Repository của tuần
VLX-Flow
Continuous Video Understanding for Multimodal Models
English | 中文
Overview video: VLX-Flow for continuous video understanding.
https://github.com/user-attachments/assets/79b5e715-a7ff-4328-88a5-6e30b7cd8755
Overview
VLX-Flow is a streaming vision-language model design for real-time video understanding. It targets scenarios where video is not a pre-recorded file to be analyzed once, but a continuous input stream from cameras, robots, drones, media feeds, or edge devices.
VLX-Flow splits the input video into continuous chunks, encodes each new chunk, and incrementally updates internal stream memory. When a user asks a question, the model can answer from this maintained memory instead of rebuilding context from the full history.
VLX-Flow processes streaming chunks and maintains visual cache plus semantic memory for low-latency interaction.
Why VLX-Flow
Most video understanding VLMs rely on full-frame input or fixed sampling. These strategies are useful for offline video analysis, but they are less suitable for online settings where video keeps changing and user questions may arrive at any moment.
VLX-Flow is designed to shift video understanding from:
offline video request -> full reprocessing -> answer
to:
continuous observation -> incremental memory update -> instant interaction
The design focuses on:
- Streaming-first processing: process video chunks as they arrive instead of reprocessing the full history.
- Internal stream memory: maintain visual cache and semantic memory inside the model.
- Low-latency interaction: answer from maintained memory as streams grow.
Core Ideas
Streaming Input
VLX-Flow divides video into consecutive chunks. Each chunk contains a small number of frames and is processed in temporal order.
For each incoming chunk:
- The visual encoder converts the new frames into model-readable visual features.
- The language model consumes those features together with the current context.
- The model updates its visual cache and semantic memory.
- Previous history is preserved in compressed form rather than repeatedly appended as raw frames.
This avoids the two extremes of dropping old information entirely or keeping an ever-growing full-history context.
Two-Layer Memory
VLX-Flow maintains internal stream memory through two complementary layers:
- Visual cache: keeps recent frame-level details for immediate interaction and event detection.
- Semantic memory: stores high-level context accumulated inside the model from the video stream and interactions, including streaming descriptions, prior observations, user questions, model answers, and dialogue context.
The two layers work together: the visual cache protects recent details, while semantic memory keeps the longer temporal narrative coherent.
Cache-Aware Inference
VLX-Flow uses cache-aware execution so that new chunks can be processed incrementally. The language model includes Linear Attention components. Compared with standard self-attention, which requires a growing KV cache as sequence length increases, Linear Attention can preserve history through recurrent state and update it incrementally.
This provides two practical benefits:
- More stable latency: the system does not need to recompute the full history for each new interaction.
- Smoother memory growth: long video streams can maintain semantic continuity with lower memory pressure.
Time to first token (TTFT) as the number of input images increases. Full Attention (orange) rises steadily as the historical context grows. SlideWindow (green) limits history with window resets, producing a rise-reset-rise pattern. VLX-Flow (red) compresses history through its two-layer memory mechanism, keeping TTFT low and stable over long sequences.
Capabilities
VLX-Flow is intended to support online video understanding workflows:
- Streaming captioning: continuously describes incoming video while preserving temporal continuity.
- Real-time video question answering: answers questions while video is playing or while a camera is running.
- Event-triggered interaction: can be extended toward alerts when maintained state satisfies a specified event condition.
Release
Checkpoints: Coming soon
Follow us
Follow Om AI Lab on X, or scan the WeChat group QR code below for VLX updates and discussion.
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.
Reverse engineer anything with agents, from app behavior down to native binaries.
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Free domain registration and practical DNS learning resources for everyone.
:octocat: 分享 GitHub 上有趣、入门级的开源项目。Share interesting, entry-level open source projects on GitHub.
🙃 A delightful, community-driven framework for managing your zsh configuration. Built by 2,600+ contributors, with hundreds of plugins (git, rails, laravel, node, python, docker, kubectl, aws, and more), themes to spice up your terminal, and automatic updates to keep your command line feeling like home.
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...