Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

DeepSeek-OCR: Contexts Optical Compression

About

We present DeepSeek-OCR as an initial investigation into the feasibility of compressing long contexts via optical 2D mapping. DeepSeek-OCR consists of two components: DeepEncoder and DeepSeek3B-MoE-A570M as the decoder. Specifically, DeepEncoder serves as the core engine, designed to maintain low activations under high-resolution input while achieving high compression ratios to ensure an optimal and manageable number of vision tokens. Experiments show that when the number of text tokens is within 10 times that of vision tokens (i.e., a compression ratio < 10x), the model can achieve decoding (OCR) precision of 97%. Even at a compression ratio of 20x, the OCR accuracy still remains at about 60%. This shows considerable promise for research areas such as historical long-context compression and memory forgetting mechanisms in LLMs. Beyond this, DeepSeek-OCR also demonstrates high practical value. On OmniDocBench, it surpasses GOT-OCR2.0 (256 tokens/page) using only 100 vision tokens, and outperforms MinerU2.0 (6000+ tokens per page on average) while utilizing fewer than 800 vision tokens. In production, DeepSeek-OCR can generate training data for LLMs/VLMs at a scale of 200k+ pages per day (a single A100-40G). Codes and model weights are publicly accessible at http://github.com/deepseek-ai/DeepSeek-OCR.

Haoran Wei, Yaofeng Sun, Yukun Li• 2025

Related benchmarks

TaskDatasetResultRank
Document ParsingOmniDocBench v1.5
Overall Score87.36
126
Handwriting RetrievalHandwriting Spanish synthetic disjoint fonts (Out-of-Domain (OOD))
Top-1 Accuracy26.96
30
Handwriting RetrievalHandwriting In-Domain Set
Accuracy@137.6
30
Document ParsingOmniDocBench 1.5 (test)
Overall Score87.01
27
Multimodal Perception and ReasoningFCMBench 1.0 (test)
DTR48.61
24
OCR-related Parsing TasksOmniDocBench English
Edit Distance0.049
23
Reading Order DetectionOmniDocBench v1.5
Edit Distance0.086
21
Document ParsingReal5-OmniDocBench scanning scenario 1.5 (test)
Overall Score86.17
19
Document ParsingOmniDocBench Real5 skewing variation
Overall Score63.01
19
Document ParsingReal5-OmniDocBench (screen-photography)
Overall Score75.31
19
Showing 10 of 33 rows

Other info

Follow for update