Skip to main content
QUICK REVIEW

[논문 리뷰] DeepSeek-VL2: Mixture-of-Experts Vision-Language Models for Advanced Multimodal Understanding

Zhiyu Wu, Xiaokang Chen|arXiv (Cornell University)|2024. 12. 13.
Multimodal Machine Learning ApplicationsComputer Science인용 수 22
한 줄 요약

DeepSeek-VL2는 동적 고해상도 타일링 비전 인코더와 Multi-head Latent Attention LLM을 갖춘 세 가지 변형의 MoE 비전-언어 모델을 도입하여, 효율적인 추론과 오픈 소스 접근성으로 강력한 다중모달 성능을 달성한다.

ABSTRACT

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, 문서/표/차트 이해, 그라운딩 작업에서 경쟁력 있거나 최첨단 결과를 시연하는 것.

제안 방법

  • 고해상도 이미지를 타일과 글로벌 썸네일로 분할하여 처리하고, 공유 비전 트랜스포머를 사용해 시각 임베딩을 생성하는 동적 타일링 비전 인코딩 전략.
  • 시각 토큰을 압축하고 이를 2층 MLP를 통해 언어 모델과 통합하는 비전-언어 어댑터로, 통합된 다중모달 시퀀스를 가능하게 한다.
  • DeepSeekMoE 언어 모델은 Multi-head Latent Attention으로 KV 캐시를 잠재 벡터로 압축하여 추론 속도와 처리량을 높인다.
  • 활성 매개변수가 각각 0.57B, 2.4B, 4.1B인 세 가지 MoE 변형(Tiny, Small, standard)을 사용하여 희소 계산 및 전문가 로드 밸런싱 기법을 활용한다.
  • 고정된 LLM과의 VL 정렬, 약 800조 개의 이미지-텍스트 토큰으로의 VL 사전학습, 내부 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]$ .
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]$ .

실험 결과

연구 질문

  • RQ1고해상도 시각 입력을 비용이 많이 들지 않는 계산으로 다중모달 이해를 위해 어떻게 효율적으로 인코딩할 수 있는가?
  • RQ2MLA 기반 MoE LLM이 향상된 추론 속도와 처리량으로 강력한 다중모달 추론을 제공할 수 있는가?
  • RQ3향상된 VL 데이터와 단계적 학습이 VQA, OCR, 그라운딩 및 문서 이해 성능에 어떤 영향을 미치는가?
  • RQ4다양한 벤치마크에서 정확도와 매개변수 효율성 측면에서 DeepSeek-VL2가 최첨단 VLM과 어떻게 비교되는가?

주요 결과

  • DeepSeek-VL2는 기존의 오픈 소스 Dense 및 MoE 모델과 비교하여 유사하거나 더 적은 활성 매개변수로 경쟁력 있는 또는 최첨단 성능을 달성한다.
  • 동적 타일링 비전 인코더는 시각 토큰 수를 관리 가능한 수준으로 유지하면서 고해상도 및 다양한 종횡비의 이미지 처리를 가능하게 한다.
  • MLA가 KV 캐시 크기를 감소시키고 추론 속도를 높여 MoE 기반 LLM의 처리량을 증가시킨다.
  • 세 가지 모델 변형(활성 매개변수 1.0B, 2.8B, 4.5B)은 VQA, OCR, 문서/표/차트 이해, 그라운딩 및 다중 이미지 작업에서 확장 가능한 능력을 보여준다.
  • 사전 학습된 모델과 코드의 오픈 소스화는 다중모달 MoE VLM 연구와 협업을 가속화한다.
Figure 2: Overview of DeepSeek-VL2 . The overall structure is a llava-style architecture, which includes a vision encoder, a VL adaptor, and a MoE-based LLM.
Figure 2: Overview of DeepSeek-VL2 . The overall structure is a llava-style architecture, which includes a vision encoder, a VL adaptor, and a MoE-based LLM.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.