[论文解读] DeepSeek-VL2: Mixture-of-Experts Vision-Language Models for Advanced Multimodal Understanding
DeepSeek-VL2 引入一个三变体的 MoE vision-language 模型,具备 动态高分辨率 tiling 视觉编码器 和 Multi-head Latent Attention LLM,在推理高效且开源访问方面实现强大多模态性能。
We present DeepSeek-VL2, an advanced series of large Mixture-of-Experts (MoE) Vision-Language Models that significantly improves upon its predecessor, DeepSeek-VL, through two key major upgrades. For the vision component, we incorporate a dynamic tiling vision encoding strategy designed for processing high-resolution images with different aspect ratios. For the language component, we leverage DeepSeekMoE models with the Multi-head Latent Attention mechanism, which compresses Key-Value cache into latent vectors, to enable efficient inference and high throughput. Trained on an improved vision-language dataset, DeepSeek-VL2 demonstrates superior capabilities across various tasks, including but not limited to visual question answering, optical character recognition, document/table/chart understanding, and visual grounding. Our model series is composed of three variants: DeepSeek-VL2-Tiny, DeepSeek-VL2-Small and DeepSeek-VL2, with 1.0B, 2.8B and 4.5B activated parameters respectively. DeepSeek-VL2 achieves competitive or state-of-the-art performance with similar or fewer activated parameters compared to existing open-source dense and MoE-based models. Codes and pre-trained models are publicly accessible at https://github.com/deepseek-ai/DeepSeek-VL2.
研究动机与目标
- 通过动态切块策略提升对高分辨率输入的视觉处理,从而推进多模态理解。
- 在 MoE 框架中使用 Multi-head Latent Attention 提升语言模型的效率和吞吐量。
- 通过全面、高质量的 VL 数据和三阶段训练(VL 对齐、VL 预训练、SFT)提升视觉-语言对齐。
- 在 VQA、OCR、文档/表格/图表理解以及 grounding 等任务上展示有竞争力或最先进的结果。
提出的方法
- 一种动态切块视觉编码策略,通过将高分辨率图像分割成切块并与全局缩略图结合,使用共享视觉变换器产生视觉嵌入。
- 一种视觉-语言适配器,将视觉令牌压缩并通过两层 MLP 与语言模型整合,从而实现统一的多模态序列。
- 一个具备 Multi-head Latent Attention 的 DeepSeekMoE 语言模型,將 KV 缓存压缩为潜在向量以加速推理并提升吞吐量。
- 三种 MoE 变体(Tiny、Small 及标准),激活参数分别为 0.57B、2.4B 和 4.1B,利用稀疏计算与专家负载均衡技术。
- 一个三阶段训练流程:VL 对齐,使用固定的 LLM;VL 预训练,约 800B 的图文令牌;以及使用自研 VL-SFT 数据和文本数据进行监督微调,以保留语言能力。
![Figure 1: Average performance vs. activated parameters among different open-source models . We average the accuracy of MMBench v1.1, MMStar, MMMU (Val), MathVista (TestMini), AI2D (Test), and OCRBench. The scores of OCRBench are divided by $10$ to scale them to $[0,100]$ .](https://ar5iv.labs.arxiv.org/html/2412.10302/assets/x1.png)
实验结果
研究问题
- RQ1如何在不进行高代价计算的情况下高效编码高分辨率的视觉输入以实现多模态理解?
- RQ2是否可以通过 MLA 基于 MoE 的 LLM 提供强大的多模态推理并提高推理速度和吞吐量?
- RQ3增强的 VL 数据和分阶段训练对 VQA、OCR、定位、文档理解等性能有何影响?
- RQ4DeepSeek-VL2 在不同基准测试中与最先进的 VLMs 相比在准确性和参数效率方面有何表现?
主要发现
- DeepSeek-VL2 在已公开的_dense 与 MoE 模型中,具有相似甚至更少的激活参数的情况下,展现出具有竞争力或最先进的性能。
- 动态切块视觉编码器使高分辨率、支持多纵横比的图像处理成为可能,同时保持可控数量的视觉令牌。
- MLA 减少 KV 缓存大小并加速推理,提高了基于 MoE 的 LLM 的吞吐量。
- 三种模型变体(1.0B、2.8B、4.5B 激活参数)在 VQA、OCR、文档/表格/图表理解、定位以及多图像任务上表现出可扩展的能力。
- 开源预训练模型和代码加速了多模态 MoE VLM 的研究与协作。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。