TL;DR
Listen free for 30 days with Audible
Thousands of audiobooks and originals — cancel anytime.
Start your free trialAs an affiliate, we earn on qualifying purchases.
Baidu has open-sourced Unlimited-OCR, a 3-billion-parameter model capable of parsing entire multi-page documents in a single forward pass. This breakthrough addresses memory and latency issues in OCR, especially for long documents, and challenges existing models’ limitations.
Baidu has open-sourced Unlimited-OCR, a 3-billion-parameter OCR model that can read entire multi-page PDFs in a single forward pass. This development addresses longstanding challenges in long-document OCR, such as memory growth and processing speed, and is now available under an MIT license, marking a notable technical milestone.
The model, released on June 22, 2026, and detailed in the accompanying technical report, builds on Baidu’s DeepSeek-OCR architecture, incorporating a new mechanism called Reference Sliding Window Attention (R-SWA). R-SWA replaces traditional attention methods that grow linearly with output length, enabling constant memory use and latency regardless of document length.
In benchmarks, Unlimited-OCR achieves a 12.7% speed increase over previous models like DeepSeek-OCR, with throughput reaching approximately 7,847 tokens per second at 6,144-token outputs. It scores 93.92 on OmniDocBench v1.6, the highest among models evaluated, and maintains low error rates even on 40+ page documents, with an edit distance of 0.1069.
Despite claims circulating online, the model has not achieved 1.9 million downloads; the current Hugging Face page reports about 8,400 downloads in the last month. The model’s primary advantage is its ability to process entire documents in a single pass, trading slight reductions in peak accuracy for substantial improvements in long-document handling.
Impact of Constant-Memory Attention on OCR Capabilities
This development represents a significant step forward in OCR technology, especially for applications requiring the processing of lengthy documents such as legal texts, research papers, and books. By enabling single-pass, multi-page OCR, Baidu’s model reduces the need for page splitting and stitching, improving accuracy in reading order and table recognition across pages.
Furthermore, this approach challenges the dominance of cloud-based OCR services by offering a self-hosted, high-performance alternative that can run on standard hardware, potentially reshaping the competitive landscape of OCR solutions.
As an affiliate, we earn on qualifying purchases.
Long-Standing Challenges in Long-Document OCR
Traditional OCR models process documents page-by-page, often resulting in errors in cross-page references, tables, and reading order. These models face memory and latency bottlenecks when parsing lengthy documents, limiting their effectiveness in real-world applications. Baidu’s prior models, such as DeepSeek-OCR, addressed some issues but still faced linear memory growth with output length.
The introduction of R-SWA in Unlimited-OCR offers a new architecture that maintains a fixed memory footprint, allowing entire multi-page documents to be processed in one pass. This innovation builds on Baidu’s previous work and aligns with ongoing efforts in AI to improve long-form content understanding.
“Unlimited-OCR demonstrates that fixed-memory attention mechanisms can revolutionize long-document OCR, enabling single-pass processing of entire PDFs.”
— Baidu Research Team
As an affiliate, we earn on qualifying purchases.
Unanswered Questions About Practical Deployment
While the technical results are promising, it is still unclear how the model performs across diverse real-world datasets outside Baidu’s internal benchmarks. The accuracy trade-offs compared to top-scoring page-by-page models like PaddleOCR-VL and Zhipu’s GLM-OCR are modest, and the impact on downstream tasks remains to be fully evaluated.
Additionally, how well the model handles complex layouts, tables, or documents with unusual formatting in practical settings is still under investigation. The extent of its robustness and scalability in production environments is yet to be confirmed.
As an affiliate, we earn on qualifying purchases.
Next Steps for Adoption and Benchmarking
Expected future developments include independent testing on diverse datasets, real-world deployment trials, and integration into OCR pipelines. Baidu may also release updates or refined versions based on community feedback and further research.
Monitoring how competitors respond, especially in terms of models that combine high accuracy with long-document capabilities, will be key. The broader AI community will likely examine the architecture’s adaptability to other sequence-processing tasks.
As an affiliate, we earn on qualifying purchases.
Key Questions
Can Unlimited-OCR process any type of document?
While it demonstrates strong performance on benchmark datasets, its effectiveness on diverse real-world documents, especially complex layouts, is still under evaluation.
Is this model available for commercial use?
Yes, Baidu has open-sourced Unlimited-OCR under an MIT license, making it accessible for research and commercial applications.
How does it compare to cloud OCR services?
Unlimited-OCR offers the advantage of self-hosting and fixed memory use, potentially reducing costs and latency compared to cloud services, though accuracy trade-offs are modest.
Will this impact existing OCR providers?
It could challenge cloud-based OCR solutions by providing a high-performance, self-hosted alternative, especially for long-document processing needs.
What are the limitations of Unlimited-OCR?
Its performance on highly complex or unusual documents outside controlled benchmarks remains to be seen, and robustness in diverse scenarios is still being tested.
Source: ThorstenMeyerAI.com
College move-in / dorm season Picks
dorm essentials
As an affiliate, we earn on qualifying purchases.