Pandora Supported
Mage-VL
图像描述
W4A16
post
Mage-VL

Mage-VL 是一款面向图像和视频理解的编解码器原生、主动流式(codec-native, proactive-streaming)多模态基座模型。其视觉编码器完全从零开始训练(trained entirely from scratch),整体参数规模保持在轻量高效的 4B。

针对当前大视觉语言模型(VLM)面临的“摩拉维亚悖论(Moravec's paradox)”——即模型虽擅长复杂的离线推理,但在处理简单、实时流式感知时却往往极其低效且消耗大量计算资源——Mage-VL 提出了一套创新的解决方案。

与传统方法(将视频均匀采样为视频帧,再通过冻结的 Web 预训练 ViT 输入密集 Patch Token 矩阵)不同,Mage-VL 借鉴了现代视频编解码器的结构思想:它将视频流显式划分为锚点帧(I 帧)和预测帧(P 帧);在保留锚点帧所有 Patch 的同时,对预测帧仅保留编解码器实际分配码率(spend bits)的区域——即真正包含动态运动与新细节的 Patch。这种与编解码器对齐的稀疏化策略将视觉 Token 数量降低了 75% 以上,同时完整保留了时空上下文信息,相比均匀帧采样方法实现了最高 3.5 倍的端到端推理速度提升。

性能参考

设备

AI框架
数据精度
推理耗时
精确度损失
模型大小
模型资源获取

Model Farm 提供预编译好的模型资源以及推理代码,支持以下两种方式获取:

  • 通过 Model Farm 页面获取:在右侧性能参考板块中点击模型 & 代码获取模型资源及代码包。

  • 通过命令获取(推荐):持有阿加犀开发板的用户,可以通过开发板内置的 MMS 工具获取模型资源及代码包。

# 模型查询
mms list [model name]

# 模型资源获取
mms get -m [model name] -p [precision] -c [soc] -b [backend] -d [file path]

MMS 具体使用请参考:MMS 使用 & 提前获取预览版块模型

模型详情

该系统由两大核心组件配对而成:

  • Mage-ViT:一个从零训练的 Codec-ViT 视觉编码器,它基于共享的 16×16 Patch 网格与 3D 旋转位置编码(3D RoPE),根据编解码器导出的时空重要性来进行 Token 的动态分配。该编码器具有编解码器无关性(Codec-Agnostic):无需修改架构或重新训练,同一个接口既能接收传统编解码器(如 H.264/AVC、HEVC/H.265)通过运动矢量与残差能量导出的重要性,也能接收神经编解码器(如 DCVC-RT)通过其可学习码率图(Rate Map)导出的重要性。
  • Qwen3-4B 因果解码器(Causal Decoder):以 Qwen3-4B-Instruct-2507 语言骨干网络作为唯一预训练组件,通过轻量级的双层 MLP 投影器接收 Mage-ViT 输出的可变长 Token 流,为图像、短/长/超长视频以及实时流式传输提供统一的交互接口。

在此双组件架构之上,系统通过系统 1 与系统 2(System 1 & System 2)双过程设计,在单一模型内部集成了主动流式处理(Proactive Streaming)能力:轻量级的认知门控(Cognition Gate,系统 1)负责持续监控滚动的编解码器窗口,在常规内容出现时保持静默;仅当检测到值得响应的事件完成时,才会调用完整的 VLM(系统 2)进行深度推理,无需借助多智能体(Multi-agent)流水线。

源模型评估

注意:此表格显示的是源模型的评估,而非量化模型的评估。源模型评估来自于 Qwen2.5-3B-Instruct 评估结果

Image understanding & spatial intelligence — click to expand

Performance comparison across models. Mage-VL-4B and Qwen3-VL-4B use the same 4B Qwen3 LLM backbone; Phi-4-Multimodal-Instruct (Phi-4-MM, 5.6B) and Phi-4-Reasoning-Vision (Phi-4-R-V, 15B) are reported for reference. – = not run. Bold = best in row.

Benchmark Mage-VL-4B Qwen3-VL-4B Phi-4-MM-5.6B Phi-4-R-V-15B
Document understanding
DocVQA-val 95.14 94.69 92.79 76.20
InfoVQA-val 80.33 79.50 71.84 55.41
AI2D w/ Mask 83.16 81.54 81.83 82.87
ChartQA 84.88 83.96 83.76 83.40
OCRBench 81.80 81.60 81.70 73.90
MultiDocVQA-val 87.46 87.21 46.84 58.35
ChartQAPro 32.57 26.79 0.13 25.38
TextVQA-val 77.28 80.55 39.93 76.06
CC-OCR Doc 32.25 39.69 4.99 17.65
General VQA
MMBench-EN-dev 84.02 83.25 65.81 84.19
MMBench-CN-dev 82.04 80.58 75.17 79.47
MMStar 67.32 62.04 61.24 59.63
MME-Perception 1709.54 1703.50 1409.66 1590.21
SeedBench (All) 76.78 75.65 68.28 73.70
CV-Bench 87.79 85.37 57.09 81.31
MME-RealWorld 66.52 63.20 32.45 57.80
Spatial intelligence
CV-Bench-2D 82.13 81.00 56.12 80.11
CV-Bench-3D 94.75 92.30 56.92 82.50
BLINK 65.11 65.10 35.24 57.80
EmbSpatial 82.67 77.50 41.51 72.67
CrossPoint 80.00 26.90 12.20 47.73
CRPE-Relation 76.12 77.70 34.60 74.46
SAT 67.33 69.30 55.33 66.67
Video understanding & temporal grounding — click to expand

Bold = best in row.

Benchmark Mage-VL-4B Qwen3-VL-4B Phi-4-MM-5.6B Phi-4-R-V-15B
Video QA
MV-Bench 65.1 66.7 44.9 49.2
NextQA 83.1 79.8 54.1 69.0
VideoMME 64.0 59.7 44.7 55.3
LongVideoBench 61.3 57.7 41.14 51.2
LVBench 41.8 39.2 25.31 34.4
MLVU-dev 68.7 61.5 44.18 51.8
VideoEval-Pro 45.2 20.7 14.35 16.8
Temporal grounding
Timelens-Charades 50.7 43.1 4.09 20.6
Timelens-ActivityNet 45.4 28.4 2.03 23.0
Timelens-QVHighlight 57.4 34.9 2.47 11.6
Spatial reasoning
VSI-Bench 64.3 53.3 24.09 25.5
Tracking (J&F)
Ref-DAVIS17 25.83 7.48 3.14 2.15
MeViS-ValidU 22.55 3.16 10.28 1.53
ReasonVOS 17.76 9.66 9.50 9.77
Ref-YT-VOS 25.57 5.28 8.64 3.85
Proactive streaming (SoccerNet) & online video (OVO-Bench) — click to expand

SoccerNet — response timing (StreamMind protocol, codec-native inputs, zero-tolerance canvas matching). Bold = best in column.

Method TriggerAcc TimVal F1 ROC-AUC PR-AUC
StreamMind 52.18 47.36 – – –
JoyAI-VL-Interaction-9B 97.98 19.25 3.55 56.26 1.68
Mage-VL-4B 79.21 55.54 16.35 83.14 9.30

JoyAI's high TriggerAcc comes from predicting silence almost everywhere under SoccerNet's heavy class imbalance, so it collapses on the precision-sensitive metrics; StreamMind is trained in-distribution on SoccerNet, whereas Mage-VL is not.

OVO-Bench — online video understanding (SimpleStream recent-window protocol, 4 frames @ 1 fps; no streaming-specific fine-tuning). Mage-VL sets a new state-of-the-art overall score among streaming architectures. RT-Avg / BT-Avg are the Real-Time Visual Perception / Backward Tracing sub-task averages; Overall is their mean. Bold = best model per column (Human is the reference upper bound).

Model #Frames RT-Avg BT-Avg Overall
Human – 93.2 92.3 92.77
Offline video LLMs
Qwen2.5-VL-7B 1 fps 59.9 44.7 52.28
LLaVA-Video-7B 64 63.5 40.4 51.95
Qwen3-VL-4B 64 72.8 53.1 63.00
Online / streaming video LLMs
VideoLLM-online-8B 2 fps 20.8 17.7 19.26
Flash-VStream-7B 1 fps 28.4 27.4 27.90
Dispider-7B 1 fps 54.6 36.1 45.35
TimeChat-Online-7B 1 fps 61.9 41.7 51.80
StreamForest-7B 1 fps 61.2 52.0 56.60
Streamo-7B 1 fps 66.0 46.1 56.05
HERMES-7B† 1 fps 69.0 49.4 59.20
JoyAI-VL-Interaction-9B 1 fps 68.4 48.6 58.50
Mage-VL-4B 1 fps 79.84 48.15 64.00

† HERMES = Qwen2.5-VL-7B + HERMES (4K tokens). Baseline results and table structure follow SimpleStream.

模型推理

请参考顶部模型推理标签选择合适的推理 SDK。

推荐使用 AidGen & AidGenSE 推理

许可证
源模型许可证:APACHE-2.0
可部署模型许可证:APLUX-MODEL-FARM-LICENSE
性能参考

设备

AI框架
数据精度
推理耗时
精确度损失
模型大小