Skip to main content
QUICK REVIEW

[Paper Review] DeepSeek-VL: Towards Real-World Vision-Language Understanding

Haoyu Lu, Wen Liu|arXiv (Cornell University)|Mar 8, 2024
Multimodal Machine Learning ApplicationsComputer Science43 citations
TL;DR

DeepSeek-VL is an open-source vision-language model with a hybrid high-resolution encoder, a three-stage training pipeline, and 1.3B and 7B variants, aimed at real-world VL tasks and real-user interaction.

ABSTRACT

We present DeepSeek-VL, an open-source Vision-Language (VL) Model designed for real-world vision and language understanding applications. Our approach is structured around three key dimensions: We strive to ensure our data is diverse, scalable, and extensively covers real-world scenarios including web screenshots, PDFs, OCR, charts, and knowledge-based content, aiming for a comprehensive representation of practical contexts. Further, we create a use case taxonomy from real user scenarios and construct an instruction tuning dataset accordingly. The fine-tuning with this dataset substantially improves the model's user experience in practical applications. Considering efficiency and the demands of most real-world scenarios, DeepSeek-VL incorporates a hybrid vision encoder that efficiently processes high-resolution images (1024 x 1024), while maintaining a relatively low computational overhead. This design choice ensures the model's ability to capture critical semantic and detailed information across various visual tasks. We posit that a proficient Vision-Language Model should, foremost, possess strong language abilities. To ensure the preservation of LLM capabilities during pretraining, we investigate an effective VL pretraining strategy by integrating LLM training from the beginning and carefully managing the competitive dynamics observed between vision and language modalities. The DeepSeek-VL family (both 1.3B and 7B models) showcases superior user experiences as a vision-language chatbot in real-world applications, achieving state-of-the-art or competitive performance across a wide range of visual-language benchmarks at the same model size while maintaining robust performance on language-centric benchmarks. We have made both 1.3B and 7B models publicly accessible to foster innovations based on this foundation model.

Motivation & Objective

  • Create a versatile, open-source vision-language model suitable for real-world scenarios (web pages, PDFs, charts, OCR, knowledge content).
  • Design an architecture that handles high-resolution imagery within a fixed token budget for efficient inference.
  • Develop a training strategy that preserves strong language abilities while enabling robust multimodal understanding.
  • Provide publicly accessible 1.3B and 7B model variants to foster further research and practical applications.

Proposed method

  • Use a hybrid vision encoder (SigLIP-L for 384x384 and SAM-B for 1024x1024) to produce 576 tokens for the language model.
  • Incorporate a vision-language adaptor to bridge visual features and the language model via a two-layer MLP, followed by a final embedding stage.
  • Pretrain with a multimodal objective while preserving language capabilities by maintaining a substantial language-data proportion (at least 70%), and employ a modality warm-up strategy.
  • Three-stage training pipelines: Stage 1 train VL adaptor with fixed encoder and LLM; Stage 2 joint VL pretraining with balanced modality ratios; Stage 3 supervised fine-tuning for dialogue capabilities.
  • Scale experiments from 1.3B to 7B models, including instruction-tuning data to stabilize training and enhance instruction-following.

Experimental results

Research questions

  • RQ1How can a high-resolution, real-world-friendly VL model be built with open-source components?
  • RQ2What training strategy preserves language capabilities while enabling strong multimodal understanding?
  • RQ3Does a hybrid vision encoder improve performance on fine-grained tasks like OCR and charts compared to single-encoder designs?
  • RQ4Can 1.3B-scale experiments transfer effectively to a 7B model for real-world benchmarks?

Key findings

  • The DeepSeek-VL family achieves state-of-the-art or competitive performance across a wide range of visual-language benchmarks at the same model size.
  • A hybrid vision encoder enables processing of 1024x1024 images with a fixed token budget (576 tokens) for efficient reasoning.
  • A modality warm-up and a balanced language+multimodal training ratio mitigate language forgetting while improving multimodal capabilities.
  • Publicly releasing both 1.3B and 7B variants aims to catalyze research and practical deployment in real-world VL tasks.
  • The training pipeline emphasizes preserving language skills during multimodal pretraining and relies on a diverse data mix covering web, documents, and charts.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.