Skip to main content
Back

DeepSeek's VL2-Tiny Beats Models Twice Its Size on OCR Benchmarks

DeepSeek-VL2-Tiny packs strong OCR, document understanding, and visual grounding into just 1B active parameters using a sparse MoE architecture

Pro

  • DeepSeek-VL2-Tiny is a 1B activated-parameter vision-language model using Mixture-of-Experts, free and open-source on Hugging Face.
  • It scores 809 on OCRBench, beating GPT-4V (645) and GPT-4o (736) despite being a tiny open-source model.
  • Two key innovations: dynamic image tiling for high-res inputs and Multi-head Latent Attention for efficient KV-cache compression.
  • Visual grounding is a new capability — the model can output bounding box coordinates for objects described in natural language.
  • Runs in ~10GB VRAM; supports commercial use under the DeepSeek Model License with MIT-licensed code.
  • Limitations include restricted multi-image context, English/Chinese-only OCR, and weaker reasoning depth vs. larger variants.

DeepSeek-VL2-Tiny is the smallest member of DeepSeek's second-generation vision-language model family, and it punches well above its weight class. With only 1 billion activated parameters, it outperforms several models that activate 2x more compute on key benchmarks, making it one of the most efficient open-source vision-language models available today.

One model, three sizes

The DeepSeek-VL2 series comes in three variants: Tiny, Small, and the full model, with 1.0B, 2.8B, and 4.5B activated parameters respectively. The key word is activated. DeepSeek-VL2-Tiny activates 1.0 billion parameters total, with the base language model activating just 0.57 billion out of a total of 3 billion parameters. This is the magic of Mixture-of-Experts (MoE): a large pool of specialized sub-networks exists, but only a small fraction fires for any given input, keeping inference fast and cheap.

The main difference between DeepSeek-VL2-Tiny, DeepSeek-VL2-Small, and DeepSeek-VL2 is the base LLM , with each variant scaling up the underlying language backbone while sharing the same vision encoder and architectural innovations.

Two key upgrades under the hood

DeepSeek-VL2 significantly improves upon its predecessor through two key upgrades: a dynamic tiling vision encoding strategy designed for processing high-resolution images with different aspect ratios, and a DeepSeekMoE language model with the Multi-head Latent Attention (MLA) mechanism, which compresses the Key-Value cache into latent vectors to enable efficient inference and high throughput.

Let's break those down:

  • Dynamic tiling: Instead of squishing every image into a fixed resolution, the model slices high-res images into tiles of 384x384 pixels and processes each tile through a shared vision encoder (SigLIP-SO400M). It supports dynamic tiling for up to 2 images and implements direct padding for 3 or more images at 384x384 resolution. This means tall receipts, wide charts, and square photos all get processed at their natural shape.
  • Multi-head Latent Attention (MLA): Standard attention mechanisms store large key-value caches that grow with context length, which is expensive. MLA compresses those caches into compact latent vectors, dramatically cutting memory usage and boosting throughput during inference.
  • Sparse MoE routing: The language backbone uses 64 routed experts plus 2 shared experts, selecting the top-6 for each token. This gives the model broad capacity without paying the full compute cost of a dense model.

What it's actually good at

Trained on an improved vision-language dataset, DeepSeek-VL2 demonstrates superior capabilities across various tasks, including visual question answering, optical character recognition, document/table/chart understanding, and visual grounding. The benchmark numbers back this up convincingly.

On OCR-related benchmarks, DeepSeek-VL2-Tiny scores:

  • DocVQA: 88.9 , beating InternVL2-1B (81.7) and MM1.5-1B (81.0) despite similar or fewer active params
  • ChartQA: 81.0 , ahead of InternVL2-2B (76.2) which activates 2.2x more parameters
  • OCRBench: 809 , surpassing even GPT-4V (645) and GPT-4o (736)
  • TextVQA: 80.7 , competitive with models twice its size

On general multimodal benchmarks, the Tiny variant scores 45.9 on MMStar, 71.6 on AI2D, and 40.7 on MMMU , all while activating only 1B parameters. For context, InternVL2-1B scores 45.7, 64.1, and 35.4 on those same benchmarks.

Visual grounding , the ability to locate specific objects in an image and return bounding box coordinates , is a brand-new capability in VL2 that wasn't present in the original DeepSeek-VL. The Tiny model scores 84.7 on RefCOCO val, competitive with InternVL2-1B (83.6) despite the architectural complexity of the task.

Where it falls short

The paper is candid about limitations. The Tiny variant occasionally struggles with language mixing, inserting English words into Chinese responses , an artifact of limited model capacity and data imbalance that the team addressed with a dedicated Chinese QA dataset. More broadly:

  • The context window limits you to a handful of images per session; dynamic tiling is disabled for 3+ images
  • Blurry images and out-of-distribution objects remain challenging
  • Reasoning depth lags behind larger models , the team found that detailed chain-of-thought responses actually hurt Tiny's performance, so it's tuned for concise answers
  • OCR coverage is primarily English and Chinese; other languages are planned for future work

How it was built

Public visual QA datasets often suffer from short responses, poor OCR quality, and hallucinated content. To address these issues, the team regenerated responses by jointly considering the original questions, images, and OCR information, producing more comprehensive and accurate results. The training pipeline runs in three stages:

  1. VL Alignment: Train only the MLP connector bridging the vision encoder and language model, using ~1.2M caption/conversation samples. The language model stays frozen.
  2. VL Pretraining: Unfreeze everything and train on ~800B image-text tokens, covering interleaved image-text, captions, OCR data, visual QA, grounding, and web-to-code generation. The data mix is roughly 70% vision-language, 30% text-only.
  3. Supervised Fine-Tuning: Fine-tune on high-quality in-house instruction data covering dense captioning, document understanding, visual reasoning, grounding, and general conversation.

The vision encoder used is SigLIP-SO400M-384, shared across all three model sizes. After tiling, each tile produces 729 visual embeddings that get compressed to 196 tokens via a 2x2 pixel shuffle operation before being projected into the language model's embedding space.

Getting started in 5 lines

The model is available on Hugging Face and works with the DeepSeek-VL2 GitHub repo. Install with pip install -e . from the repo, then:

from transformers import AutoModelForCausalLM
from deepseek_vl.models import DeepseekVLV2Processor, DeepseekVLV2ForCausalLM
import torch
model_path = "deepseek-ai/deepseek-vl2-tiny"
processor = DeepseekVLV2Processor.from_pretrained(model_path)
model = AutoModelForCausalLM.from_pretrained(model_path, trust_remote_code=True)
model = model.to(torch.bfloat16).cuda().eval()
# Build a conversation with an image
conversation = [{
    "role": "<|User|>",
    "content": "<image>\nWhat does this chart show?",
    "images": ["./my_chart.png"]
}]
# Run inference
pil_images = load_pil_images(conversation)
inputs = processor(conversations=conversation, images=pil_images,
                   force_batchify=True).to(model.device)
embeds = model.prepare_inputs_embeds(**inputs)
outputs = model.language_model.generate(inputs_embeds=embeds, max_new_tokens=512)

One important note from the team: keep your sampling temperature at or below 0.7. Higher temperatures noticeably degrade output quality.

Who should reach for the Tiny variant

This model suits applications in content analysis, document processing, and visual assistance systems. It can power business applications like automated document processing, content moderation, and visual search systems. More specifically, Tiny is the right pick when:

  • You need to run inference on a single GPU with limited VRAM (the 3B total-param model fits in ~10GB)
  • Your use case is OCR-heavy , receipts, invoices, scanned documents, or dense charts
  • You're building an edge or on-device pipeline where the Small or full model won't fit
  • You want a starting point for fine-tuning on a domain-specific visual task

The MIT license for code and DeepSeek Model License support commercial applications, making it valuable for both research and business implementations. The model is free to use and deploy, with no API costs , just your own compute.

The bigger picture

DeepSeek-VL2-Tiny is a strong signal that MoE isn't just for massive language models anymore. Applying sparse expert routing to a sub-2B activated parameter vision-language model and still beating dense models at 2x the compute is a meaningful result. 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.

The addition of visual grounding , where the model outputs actual bounding box coordinates alongside natural language , is the most practically interesting new capability. It opens a path toward models that can not only describe what they see but point to it, which is foundational for robotics, UI automation, and agentic pipelines that need to interact with the visual world rather than just narrate it. With over 1 million downloads on Hugging Face and 22 community Spaces already built on it, the ecosystem around this model is clearly growing fast.