Mage-VL An Efficient Codec-Native Streaming
Multimodal Foundation Model

Microsoft Mage Team

Mage-VL: codec-native visual representations for efficient multimodal understanding — benchmark performance against Qwen3-VL-4B, Phi-4-Reasoning-Vision-15B and Phi-4-MM-5.6B, and the streaming pipeline from live input to codec-native token selection and online multimodal understanding. Click to expand.

Abstract

Standard Vision-Language Models (VLMs) suffer from Moravec's paradox: they excel at complex offline visual reasoning, but fail and suffer computational inefficiency on simple streaming perception tasks. We present Mage-VL, an efficient codec-native streaming foundation model for real-time multimodal understanding and interaction. At its core, our custom tokenizer, Mage-ViT, replaces uniform frame sampling by selectively encoding dynamic, entropy-rich regions using motion vectors and residual energy across sparse anchor (I) and predicted (P) frames. Operating at a 16×16 patch level, this reduces visual token consumption by over 75% while preserving spatio-temporal context. Trained from scratch on merely 100M unlabeled images and videos, Mage-ViT matches or outperforms flagship encoders trained on billions of image–text pairs. We establish AI4AI data pipelines, encompassing prompt-code joint optimization for multimodal captioning and AI-driven performance diagnosis to guide training recipes. Furthermore, through a bio-inspired dual-system architecture—a lightweight System 1 event gate and a causal System 2 decoder—Mage-VL enables proactive streaming perception. Extensive evaluations show that Mage-VL-4B matches Qwen3-VL-4B on static tasks while achieving strong gains in video understanding and 2D/3D spatial reasoning with up to 3.5× wall-clock inference speedup, comprehensively surpassing the 15B Phi-4-Reasoning-Vision baseline. Beyond model artifacts, we deliver seven key empirical findings covering pre-training data efficiency, variable-resolution scaling, codec system acceleration, VideoQA SFT redundancy, motion-spatial synergy, AI4AI data pipelines, and Zero-Vision SFT for multimodal RL.

Codec-Native Encoder
Proactive Streaming
AI4AI Data Pipeline
Codec-native perception

Instead of offline uniform frame sampling with a frozen encoder, Mage-VL reads video the way a codec does. Each stream is split into anchor (I) frames (kept in full) and predicted (P) frames (only motion-salient patches kept) on a 16×16 grid. A single per-patch importance interface is codec-agnostic — it accepts a traditional codec (H.264/HEVC motion + residual) or a neural codec (DCVC-RT rate map) with no change to the encoder — cutting visual tokens by over 75% for up to 3.5× faster inference.

Codec-driven patch selection: HEVC (motion + residual) or DCVC-RT (entropy) → per-frame significance map → top-k patches packed into canvases for Mage-ViT.

Bio-inspired proactive streaming

A single-model System 1 & System 2 design gives low-latency, proactive responses to continuous video. A lightweight System 1 cognition gate watches each rolling codec window and decides when to speak; only when an event is response-worthy does it trigger the full System 2 VLM to generate — no multi-agent pipeline. It stays silent through routine play and speaks the moment an event completes, generalizing to real broadcasts (e.g. 2026 World Cup matches).

Proactive streaming: Mage-ViT features feed an event gate that stays silent until a response-worthy moment, then triggers the LLM decoder to produce event-conditioned commentary.

AI4AI data pipeline

The training data refines itself through an agentic closed loop. A frozen Qwen3-VL-32B captions images; a GPT-5 rubric scorer grades each caption on completeness, redundancy, coherence, and OCR fidelity; and a GitHub Copilot agent co-designs the prompt and harness code (e.g. rendering timestamp overlays so the captioner anchors events by OCR) under a human validation gate. Ten refine–verify iterations lift every downstream OCR / document / chart / perception benchmark (+5.6 InfoVQA, +3.8 OCRBench, +3.8 RealWorldQA); the same paradigm also drives Stage-3 data diagnostics, and this work inspired SkillOpt-Lite.

AI4AI closed loop: frozen Qwen3-VL-32B captions → GPT-5 rubric scorer → Copilot prompt/code modifier → validation gate → improved prompt Pt+1.

Emergent behavior in video caption pipeline. During pipeline iteration, the evaluation sub-agent identified that GPT-4.1 struggled with precise temporal localization when relying solely on generic text prompts. To resolve this, the harness code renders sequential timestamp overlays directly onto sampled frames, while the prompt guides the model to anchor events via visual OCR. This code–prompt co-design converts implicit temporal tracking into a visual grounding task, reducing temporal hallucinations and improving caption consistency across long videos.

AI-guided training diagnostics & recipe optimization. The same AI4AI loop also shaped our training recipe: the evaluation agent surfaced weaknesses in temporal localization — remedied by supplementing high-quality grounding data — and revealed that more frames consistently boost long-video performance, whereas dedicated long-video SFT and resolutions beyond 384 yield only marginal gains. Guided by these findings, we adopt 384-pixel inputs, set Stage-3 temporal length to 384 frames, and raise the RoPE base frequency ($\theta$) to 8M for stable long-context modeling.

LIVE VIDEO · PROACTIVE RESPONSES

Proactive Streaming in the Wild

Mage-VL watches continuously, stays quiet when nothing needs saying, and speaks when the event gate detects a response-worthy moment. Choose a demo and play the video to see each response appear at the moment it is triggered.

England vs. Argentina · 2026 World Cup 03:00 · codec backend · 30-second causal windows
Mage-VL live transcript 00:00
Watching the stream. Mage-VL is silent.

Raw model outputs from Microsoft/Mage-VL, --video_backend codec, --segment_sec 30, followed by standard Transformers generate() on the current segment.

Performance 📊

Mage-VL-4B matches Qwen3-VL-4B on general VQA while outperforming it on spatial intelligence and video understanding, and comprehensively surpasses the much larger Phi-4-R-V-15B. Higher is better; per row, the best and second-best results are shaded.

Video Understanding & Temporal Grounding

BenchmarkMage-VL-4BQwen3-VL-4BPhi-4-MM-5.6BPhi-4-R-V-15B
Video QA
MV-Bench65.166.744.949.2
NextQA83.179.854.169.0
VideoMME64.059.744.755.3
LongVideoBench61.357.741.1451.2
LVBench41.839.225.3134.4
MLVU-dev68.761.544.1851.8
VideoMME (w/ sub.)66.370.245.458.3
VideoMME-V224.324.419.223.9
VideoEval-Pro45.220.714.3516.8
JumpScore45.603.823.611.53
MMOU-Test-Mini39.338.132.2251.9
Temporal grounding
Timelens-Charades50.743.14.0920.6
Timelens-ActivityNet45.428.42.0323.0
Timelens-QVHighlight57.434.92.4711.6
Spatial reasoning
VSI-Bench64.353.324.0925.5
Tracking (J&F)
Ref-DAVIS1725.837.483.142.15
MeViS-ValidU22.553.1610.281.53
ReasonVOS17.769.669.509.77
Ref-YT-VOS25.575.288.643.85

Proactive Streaming on OVO-Bench

OVO-Bench measures online video understanding under Real-Time Visual Perception and Backward Tracing. † Qwen2.5-VL-7B + HERMES (4K tokens). Baseline results and table structure follow SimpleStream.

Model#Frames Real-Time Visual Perception Backward Tracing Avg.
OCRACRATRSTUFPDOJRAvg. EPMASIHLDAvg.
Human--94.092.694.892.791.194.093.292.693.091.492.392.77
Offline Video LLMs
Qwen2.5-VL-7B1 fps67.855.167.242.166.360.959.951.558.823.744.752.28
LLaVA-Video-7B6469.158.768.849.474.359.863.556.257.47.540.451.95
Qwen3-VL-4B6477.969.777.660.176.275.572.863.066.230.153.163.00
Online / Streaming Video LLMs
VideoLLM-online-8B2 fps8.123.912.114.045.521.220.822.218.812.217.719.26
Flash-VStream-7B1 fps24.229.428.533.725.728.828.439.137.25.927.427.90
Dispider-7B1 fps57.749.562.144.961.451.654.648.555.44.336.145.35
TimeChat-Online-7B1 fps75.246.870.747.869.361.461.955.959.59.741.751.80
StreamForest-7B1 fps68.553.271.647.865.460.961.258.964.932.352.056.60
Streamo-7B1 fps79.257.875.049.464.470.166.054.652.031.746.156.05
HERMES-7B†1 fps85.264.271.653.474.365.269.048.562.237.649.459.20
JoyAI-VL-Interaction-9B1 fps72.561.575.059.078.264.168.462.070.912.948.658.50
Mage-VL-4B1 fps94.6383.4979.3174.1670.3077.1779.8450.1761.4932.8048.1564.00

Image Understanding & Spatial Intelligence

BenchmarkMage-VL-4BQwen3-VL-4BPhi-4-MM-5.6BPhi-4-R-V-15B
Document understanding
DocVQA-val95.1494.6992.7976.20
InfoVQA-val80.3379.5071.8455.41
AI2D w/ Mask83.1681.5481.8382.87
AI2D w/o Mask91.8792.2091.3593.81
ChartQA84.8883.9683.7683.40
OCRBench81.8081.6081.7073.90
CC-OCR Doc32.2539.694.9917.65
MultiDocVQA-val87.4687.2146.8458.35
DUDE46.4450.983.7834.34
WebSRC-val92.8095.4071.3076.60
ChartQAPro32.5726.790.1325.38
TextVQA-val77.2880.5539.9376.06
CharXiv-Descr75.8574.4018.6575.98
CharXiv-Reason35.2026.100.1036.10
General VQA
MMBench-EN-dev84.0283.2565.8184.19
MMBench-CN-dev82.0480.5875.1779.47
RealWorldQA70.4670.8560.6570.72
MMStar67.3262.0461.2459.63
MME-Perception1709.541703.501409.661590.21
SeedBench (All)76.7875.6568.2873.70
SeedBench-Image79.3278.8774.4877.97
SeedBench2-Plus69.2169.6568.3869.48
MMT-val64.4766.5259.1964.89
CV-Bench87.7985.3757.0981.31
MME-RealWorld66.5263.2032.4557.80
MME-RealWorld-CN61.3363.0921.1946.07
Spatial intelligence
CV-Bench-2D82.1381.0056.1280.11
CV-Bench-3D94.7592.3056.9282.50
BLINK65.1165.1035.2457.80
EmbSpatial82.6777.5041.5172.67
CRPE-Relation76.1277.7034.6074.46
CrossPoint80.0026.9012.2047.73
ERQA36.0042.3030.7540.25
MMSI-Bench28.2031.0028.8025.70
SAT67.3369.3055.3366.67

Numbers from the Mage-VL technical report.

Limitations & Path Forward

⚠️ Despite its strong perception and streaming capabilities, Mage-VL still shows a gap to Qwen3-VL on complex agentic tasks. This gap largely stems from tight compute budgets, the absence of joint text-multimodal mixed pre-training, and the omission of large-scale RL post-training.

💡 Zero-Vision SFT as a promising remedy. Our preliminary study suggests a compute-efficient path: skip visual SFT entirely and replace it with high-quality pure-text reasoning data before applying multimodal RL. On the LLaVA-OV-1.5 Quick Start scale, this Zero-Vision SFT + RL pipeline lifts overall accuracy by +5.33% (54.28 vs. 48.96) across 24 benchmarks, wins on 19/24 tasks, and converges with 50.7% fewer RL steps. Reasoning (+7.92% avg.), OCR & Chart (+9.52% avg.), and counting all benefit substantially, indicating that preserving intrinsic textual reasoning during instruction tuning unlocks stronger multimodal RL and offers a practical route to close the agentic gap.

Contributors

BibTeX 📚

@article{yang2026mage,
  title={Mage-VL: An Efficient Codec-Native Streaming Multimodal Foundation Model},
  author={Yang, Senqiao and Zhang, Kaichen and Jia, Zhaoyang and Guo, Jinghao and Shen, Yifei and Zhang, Xinjie and Zhang, Xiaoyi and Wang, Haoqing and Li, Xiao and Zhang, Peng and others},
  journal={arXiv preprint arXiv:2607.24904},
  year={2026}
}