Deepseek’s new OCR system processes texts as photographs and compresses them as much as 10 occasions. This expertise, able to analyzing 33 million pages in a day, permits AI to learn for much longer paperwork.
Deepseek, a Chinese language synthetic intelligence firm, is attracting consideration with its new OCR (Optical Character Recognition) system developed for extra environment friendly processing of text-based paperwork. The system compresses image-based texts, enabling AI fashions to course of for much longer paperwork with out hitting their reminiscence limits.
Processing Textual content as Visible Knowledge

In keeping with Deepseek’s technical report, the system analyzes textual content information in picture format as an alternative of processing it immediately. This method considerably reduces the computational load. The brand new OCR system can compress texts by as much as 10 occasions whereas retaining 97% of the knowledge.
As identified, massive language fashions characterize textual content as tokens, with every token containing just a few characters. Researchers are working to develop fashions that may course of lengthy paperwork and conversations exceeding hundreds of thousands of tokens, thereby increasing the context window. Nevertheless, because the variety of tokens that may be processed concurrently will increase, so do the computational prices. Thus, a big token capability prevents the mannequin’s reminiscence from filling up even with lengthy paperwork, however it will increase the associated fee. Deepseek’s OCR answer, nonetheless, processes very lengthy content material as if it had been a picture, successfully viewing the content material as pixels.
Seeing Lengthy Texts as Pixels

The core of the system consists of two major elements: DeepEncoder and Deepseek3B-MoE. DeepEncoder, which handles the picture processing, operates with 380 million parameters. Deepseek3B-MoE, chargeable for textual content technology, has 570 million energetic parameters. DeepEncoder combines Meta’s 80-million-parameter SAM (Section Something Mannequin) and OpenAI’s 300-million-parameter CLIP mannequin. An middleman 16x compressor considerably reduces the picture information, rising processing pace. For instance, 4,096 tokens of a $1,024 occasions 1,024$ pixel picture are lowered to solely 256 tokens after compression.
Deepseek OCR can function utilizing between 64 and 400 “imaginative and prescient tokens,” relying on the decision. This quantity considerably lightens operations that usually require hundreds of tokens in basic OCR methods. In OmniDocBench checks, the system outperformed GOT-OCR 2.0 utilizing solely 100 imaginative and prescient tokens. It additionally surpassed the efficiency of MinerU 2.0, which required over 6,000 tokens, whereas working beneath 800 tokens.
The system, optimized for various doc sorts, makes use of 64 tokens for easy shows, 100 tokens for books and reviews, and 800 tokens utilizing a particular mode known as “Gundam mode” for complicated newspapers.Deepseek OCR can course of not solely textual content but additionally complicated visible parts like diagrams, chemical formulation, and geometric shapes. Moreover, it really works in roughly 100 languages, can protect formatting, and may generate plain textual content or basic visible descriptions if desired.
Processes 33 Million Pages a Day
Roughly 30 million PDF pages had been used to coach the system. 25 million of this information consisted of English and Chinese language paperwork, and the remaining comprised 10 million artificial diagrams, 5 million chemical formulation, and 1 million geometric shapes.
In real-world use, Deepseek OCR achieves a really excessive processing capability. The system can course of over 200,000 paperwork a day on a single Nvidia A100 GPU. With 20 servers, every housing eight A100 GPUs, this capability will increase to 33 million pages per day. This pace has the potential to tremendously facilitate the manufacturing of coaching information for brand new AI fashions. Each the code and mannequin weights are publicly obtainable (accessible by way of the supply part).
You Would possibly Additionally Like;
Comply with us on TWITTER (X) and be immediately knowledgeable in regards to the newest developments…
Copy URL