Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VLX-Flow logo

VLX-Flow

Continuous Video Understanding for Multimodal Models

English | 中文

X YouTube Discord Blog Try VLX Hugging Face blog

Overview video: VLX-Flow for continuous video understanding.

Watch the VLX-Flow overview video on YouTube
📺 HD version: Watch on YouTube

Community

Join the VLX community to connect with developers, explore applications, share feedback, and shape the future of multimodal AI.

Official WeChat Discord Community
Official VLX WeChat QR code VLX Discord community QR code

For technical support, partnerships, and community inquiries, contact us at: marketing@hzlh.com

Overview

VLX-Flow is a streaming vision-language model that enables AI systems to continuously perceive, understand, and interact with real-time video streams. 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.

Tip

🚀 Try VLX here and explore how it enables machines to perceive, reason, and act in real time.

VLX-Flow overview: streaming chunks, visual cache, semantic memory, and low-latency interaction
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:

  1. The visual encoder converts the new frames into model-readable visual features.
  2. The language model consumes those features together with the current context.
  3. The model updates its visual cache and semantic memory.
  4. 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.

TTFT comparison between Full Attention, SlideWindow, and VLX-Flow
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

About

VLX-Flow: streaming VLM for real-time general vision intelligence

Resources

Contributing

Stars

110 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors