TL;DR
Baidu has open-sourced Unlimited-OCR, an AI model that can parse entire multi-page PDFs in one pass. It uses a novel memory architecture to improve speed and accuracy for long documents, marking a significant advance in OCR technology.
Baidu has introduced Unlimited-OCR, an AI-powered optical character recognition model capable of processing entire multi-page documents in a single forward pass. This breakthrough allows reading of lengthy PDFs without splitting pages or losing cross-references, marking a significant step forward in OCR technology. The model is open-source under an MIT license, making it accessible for deployment on standard hardware, which could impact both research and commercial applications.
On June 22, 2026, Baidu released Unlimited-OCR, a 3-billion-parameter model designed to parse entire multi-page documents within a standard 32K context window. It is based on an architecture that retains the lineage of DeepSeek-OCR, incorporating a novel Reference Sliding Window Attention (R-SWA) mechanism. This approach replaces traditional linear memory growth with a constant-size cache, enabling the model to process dozens of pages in a single forward pass without increasing memory or latency.
The technical report published on June 23 details the model’s architecture, which keeps the DeepSeek-OCR’s DeepEncoder but enhances the decoder with R-SWA. The result is a model that maintains flat latency and fixed GPU memory usage, even for lengthy documents. Performance benchmarks indicate a 12.7% increase in throughput over previous models, with 5,580 tokens per second on OmniDocBench, and top scores on end-to-end document parsing benchmarks, including a 93.92 overall score on OmniDocBench v1.6.
In practical tests, Unlimited-OCR achieved a low edit distance of 0.0572 on 20-page documents and 0.1069 on 40+ page texts, demonstrating its accuracy over long documents. However, it is not the highest-scoring individual-page OCR model; Baidu’s PaddleOCR-VL and Zhipu’s GLM-OCR outperform it on page-by-page benchmarks, but Unlimited-OCR’s advantage is its ability to process entire documents in one pass, reducing errors caused by page splits and cross-references.
Implications for Long-Document OCR and AI Deployment
The development of Unlimited-OCR represents a significant advancement in OCR technology, especially for processing long documents such as research papers, legal texts, or books. Its ability to parse entire PDFs instantly reduces the need for page-by-page processing, which often leads to errors and inefficiencies. This could accelerate workflows in legal, academic, and enterprise settings, and influence future OCR model designs by emphasizing memory-efficient architectures. Moreover, Baidu’s open-source release provides a valuable resource for researchers and developers seeking to implement high-performance, self-hosted OCR solutions without relying solely on cloud services, potentially democratizing access to advanced OCR capabilities.
As an affiliate, we earn on qualifying purchases.
Evolution of OCR Models and Baidu’s Architectural Innovation
Prior to this release, OCR models typically processed documents page-by-page, often leading to issues with cross-page references and lengthy processing times. Baidu’s earlier work, DeepSeek-OCR, laid the groundwork with a focus on image encoding and attention mechanisms, but still faced limitations in handling long documents efficiently. The introduction of R-SWA in Unlimited-OCR addresses these challenges by maintaining a constant memory footprint regardless of document length, enabling true single-pass parsing. This approach builds on Baidu’s open-source efforts and aligns with a broader industry trend toward more memory-efficient, scalable AI models for document understanding.
“Unlimited-OCR’s novel memory architecture allows processing entire multi-page documents in a single pass, without increasing latency or memory usage.”
— Baidu AI Research Team
As an affiliate, we earn on qualifying purchases.
Unresolved Questions About Model Performance and Adoption
While the technical benchmarks are promising, it remains unclear how Unlimited-OCR performs across diverse real-world document types outside Baidu’s internal tests. Its accuracy on complex layouts, handwritten text, or low-quality scans has not been publicly evaluated. Additionally, the extent to which this model will be adopted in commercial or open-source workflows is still uncertain, given the competitive landscape and existing solutions. Further independent testing and deployment data are needed to confirm its practical advantages.
As an affiliate, we earn on qualifying purchases.
Next Steps for Deployment and Community Engagement
Following its open-source release, Baidu is expected to facilitate community testing and integration, potentially leading to broader adoption in research and industry. Future updates may include fine-tuning on specific document types or extending capabilities to handle handwritten or degraded texts. Meanwhile, independent researchers and developers will likely evaluate its performance across various datasets, providing additional insights into its strengths and limitations. Baidu may also release further benchmarks and case studies to demonstrate real-world applications.
As an affiliate, we earn on qualifying purchases.
Key Questions
How does Unlimited-OCR differ from traditional OCR models?
Unlimited-OCR uses a novel memory architecture called Reference Sliding Window Attention, allowing it to process entire multi-page documents in a single pass without increasing latency or memory usage, unlike traditional models that process pages separately.
Can Unlimited-OCR be used on standard hardware?
Yes, the model is open-source under an MIT license and supports deployment via Docker and community quantizations, enabling use on typical GPU hardware without specialized infrastructure.
What are the limitations of Unlimited-OCR?
Its performance on complex layouts, handwritten text, or poor-quality scans has not been publicly verified. Additionally, it may not outperform all existing models on single-page accuracy benchmarks, trading some accuracy for better long-document handling.
Will this model replace existing OCR solutions?
It offers a new capability for processing long documents in one pass, which can complement or replace traditional page-by-page OCR in specific applications, but widespread adoption will depend on further testing and integration efforts.
What is the significance of Baidu open-sourcing this model?
Open-sourcing allows researchers and developers worldwide to access, evaluate, and build upon the technology, potentially accelerating advancements in long-form document OCR and AI-driven document understanding.
Source: ThorstenMeyerAI.com