DeepSeek-OCR compresses text into images, keeping 96% at 10x
Two Minute Papers looks at DeepSeek's OCR paper, which renders text as an image and compresses it into far fewer tokens. The approach cuts the cost of long documents, though the video flags limits in how far it can be pushed.
A new episode of Two Minute Papers, hosted by Dr. Karolis Jonaityte, examines DeepSeek-OCR, a paper from DeepSeek that asks whether an AI should "forget" part of what it reads. The idea is to turn text into a picture and compress that picture, so a long document costs far fewer tokens to hold in memory. At 10x compression, the video says, more than 96% of the text can be recovered.
Why tokens make long documents expensive
Every word an AI reads becomes tokens, and the more tokens a system must keep, the more it costs to run. The longer a conversation grows, and the more documents are attached, the heavier that burden gets. DeepSeek-OCR takes a different route: render the text as an image, then compress that image with a learned, token-based method. The video likens it to JPEG, but notes that JPEG compresses pixels while this compresses what the system needs to remember.

Compression results: 10x and nearly 20x
The numbers are the headline. At 10x compression, which uses 90% less space, the model recovers more than 96% of the text. Push toward 20x and OCR accuracy falls to about 60%, which the presenter says is better than he expected. In practice the model takes a small number of compressed vision tokens and turns them into a much larger number of text tokens.
How the encoder avoids exploding costs
The key engineering work is an encoder built to handle high-resolution documents cheaply. It has three stages: local window attention first, then a 16x convolutional compressor, then global visual processing. In the video's words, it does not stare at every pixel with full attention: it skims, squeezes, and only then reads.

Training data at scale, and the caveats
Because the process is cheap, it can also produce data. The paper reports generating training data for large language models and vision-language models at more than 200,000 pages per day on a single A100 GPU. The system is open and free to use, which the video sees as a boost for other open models.
The video also stresses limits. The paper itself says OCR alone is not enough to prove true text compression. A later stress test suggests the model leans heavily on language priors: when an image is compressed too far, it may not actually see the missing text but guess the likeliest words from context, something like a better autocomplete. That matters for anyone hoping to use visual compression as lossless memory.
The episode is sponsored by Lambda, whose GPU cloud, built on Nvidia hardware, the host says he uses to reproduce research papers.
Questions and answers
What is DeepSeek-OCR in 2025?
DeepSeek-OCR is a paper from DeepSeek that renders text as an image and compresses that image with a learned, token-based method. The aim is to let an AI hold a long document in far fewer tokens, which lowers the cost of keeping it in memory.
How much can DeepSeek-OCR compress text and how accurate is it?
At 10x compression, which uses 90% less space, DeepSeek-OCR recovers more than 96% of the text. Pushed toward 20x compression, OCR accuracy falls to about 60%. The model turns a small number of compressed vision tokens into a much larger number of text tokens.
Why do long documents cost so much for AI systems to process?
Every word an AI reads becomes tokens, and the more tokens a system must keep, the more it costs to run. The burden grows as a conversation gets longer and as more documents are attached. DeepSeek-OCR tries to reduce this by storing text as compressed images.
How does the DeepSeek-OCR encoder keep costs down?
The DeepSeek-OCR encoder handles high-resolution documents cheaply by working in three stages: local window attention, then a 16x convolutional compressor, then global visual processing. It does not apply full attention to every pixel. In the video's words, it skims, squeezes, and only then reads.
Can DeepSeek-OCR generate training data for AI models?
Yes. The DeepSeek-OCR paper reports generating training data for large language models and vision-language models at more than 200,000 pages per day on a single A100 GPU. The system is open and free to use, which the Two Minute Papers video sees as a boost for other open models.
What are the limits of DeepSeek-OCR as a memory method?
The DeepSeek paper itself says OCR alone is not enough to prove true text compression. A later stress test suggests the model leans heavily on language priors. When an image is compressed too far, it may guess likely words from context instead of seeing the text, so it is not lossless memory.
From the YouTube description
❤️ Check out Lambda here and sign up for their GPU Cloud: https://lambda.ai/papers
📝 The DeepSeek OCR paper is available here:
https://github.com/deepseek-ai/DeepSeek-OCR
🙏 We would like to thank our generous Patreon supporters who make Two Minute Papers possible:
Adam Bridges, B Shang, Carlos Galarza, Christian Ahlin, Eric Tyson, Juan Benet, Lukas Biewald, Michael Tedder, Owen Skarpness, Ryan Stankye, Shawn Becker, Steef, Taras Bobrovytsky, Tazaur Sagenclaw, Tybie Fitzhugh, Ueli Gallizzi
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.



