About this review
A 3-stage vision encoder squeezes 4,000 patch tokens to 256, and a 3B decoder reads the text back. A study of how much text a vision token can carry.
Source: DeepSeek · arXiv 2510.18234
Transcript
Welcome. Today we look at DeepSeek-OCR, which asks a strange question. What if a ten thousand token essay became a one thousand token image that a model reads instead? It is a study of how much text a single vision token can carry.
Here is the idea. Long text of ten thousand tokens is rendered as a page image of one thousand tokens. A vision model reads the picture, and the text is decoded back. The compression ratio is text tokens divided by vision tokens. Attention cost grows with the square of length, so fewer tokens is much cheaper.
Meet the DeepEncoder, a three-stage cascade. First, SAM-base uses windowed attention, producing about four thousand tokens. Second, a convolution squeezes them sixteen times down to two hundred fifty six. Third, CLIP-large applies global attention to only those few tokens. Cheap, then compress, then expensive.
Look at the squeeze. About four thousand patch tokens enter on the left, and after the sixteen times squeeze, only two hundred fifty six go to CLIP. The convolution is a hard bottleneck. It is the cleanest way to read the phrase optical compression.
Now the decoder. The two hundred fifty six vision tokens are a compressed latent. A three billion parameter mixture-of-experts model, DeepSeek3B-MoE, acts as a decompressor. It reconstructs thousands of text tokens. Its novelty is the task, not the architecture.
The training modes are blurry on purpose, to find the limit. Tiny and Small shrink the page, so the model must read blurred text. Base and Large pad the image and keep content. Gundam uses local tiles plus one global view, and Gundam-Master goes to even higher resolution, such as newspapers.
What does it show? It is a channel capacity study of vision. How many text tokens fit in one vision token before errors appear? It explores feasibility and limits, not a product. It is not just another O C R model, but a structured investigation into using pictures as compressed text.
To wrap up. See cheaply with local attention, squeeze hard to two hundred fifty six tokens, then think deeply with global attention. The takeaway: DeepSeek-OCR routes text through a visual bottleneck to ask how much long-context cost can be saved by reading pictures of words.
Related reviews
Long context
All reviews