NEURON VISION← All reviews

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

Paper review · DeepSeek · arXiv 2510.18234

Read text by looking at a picture

DeepSeek-OCR asks a strange question: what if a 10K-token essay became a 1K-token image that a model reads instead? It is a study of how much text a vision token can carry.

Local attention · SAMConvolution squeezeGlobal attention · CLIPDecoder and modes
01 · The idea

Why process text as text at all?

Long text10K tokensPage image1K tokensVision modelreads the pictureText backdecodedcompression ratio = text tokens ÷ vision tokensThe paper pushes the ratio until the signal breaks.
The bottleneck: attention cost grows with the square of the sequence length. Fewer tokens means much cheaper long context.
02 · DeepEncoder

A three-stage cascade

1 · SAM-basewindowed attention~4K tokens at 1K×1K2 · Conv 16×2-layer squeeze4K → 256 tokens3 · CLIP-largeglobal attentionsees only 256cheap → compress → expensive

Cheap local

Full resolution, no quadratic memory.

Hard bottleneck

Forces the token count down.

Deep understanding

Costly attention on few tokens.

03 · The squeeze

Tokens narrow before the expensive part

4,000 patch tokensafter 16× squeeze256 tokens to CLIP
The convolution is a hard bottleneck: the cleanest way to read "optical compression".
04 · The decoder

A 3B mixture-of-experts that unpacks the image

256 vision tokenscompressed latentDeepSeek3B-MoEa decompressorThousands of text tokensreconstructedIts novelty is the task, not the architecture.
05 · Training modes

Blurry on purpose, to find the limit

Native modesTiny512 × 512 · resizedSmall640 × 640 · resizedBasepadded · keeps contentLargepadded · keeps contentDynamic modesGundamn local tiles + 1 global viewGundam-Mastereven higher resolution, e.g. newspapers

Tiny and Small shrink the page, so the model must read blurred text. That tests the compression limit directly.

06 · What it shows

A channel-capacity study of vision

Vision as a channel

How many text tokens fit in one vision token before errors appear?

Proof of concept

The paper explores feasibility and limits, not a product.

Practical modes

Tiling lets huge documents fit in memory.

Not just another OCR model. It is a structured investigation into using pictures as compressed text.