How AI Is Powering Baidu’s Breakthrough PDF OCR Technology
AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

Baidu released Unlimited-OCR, a cutting-edge AI model capable of parsing entire multi-page documents in one pass. It uses novel memory techniques to improve speed and accuracy, marking a significant advancement in OCR technology.

Baidu has open-sourced Unlimited-OCR, a 3-billion-parameter AI model capable of parsing entire multi-page documents in a single forward pass. This development, announced on June 22, 2026, represents a significant technical achievement in OCR technology, especially for processing long documents efficiently and accurately. The release offers a new approach to OCR, with implications for industries relying on large-scale document digitization and analysis.

The Unlimited-OCR model was open-sourced by Baidu on June 22, 2026, accompanied by a detailed technical report published on arXiv. It is based on an architecture derived from DeepSeek-OCR, incorporating a novel Reference Sliding Window Attention (R-SWA) mechanism. This innovation replaces the traditional attention cache, which grows linearly with output length, with a constant-size cache, enabling the model to process dozens of pages in a single forward pass without increasing memory or latency.

According to the technical report, the model achieves 35% faster throughput compared to previous models like DeepSeek-OCR, with a processing speed of approximately 5,580 tokens per second on benchmark tests. It also scores highly on the OmniDocBench evaluation, with a 93.23 overall score on version 1.5, outperforming prior models in long-document accuracy. The model supports multiple deployment formats, including Transformers, vLLM, and Docker, and is licensed under MIT, facilitating broad adoption.

At a glance
breakingWhen: announced June 22, 2026, with technical…
The developmentBaidu publicly launched Unlimited-OCR on June 22, 2026, demonstrating a new AI architecture that enables efficient, single-pass processing of long documents.

Transforming Long-Document OCR with New Memory Architecture

This development matters because it addresses a longstanding challenge in OCR: efficiently processing lengthy documents without splitting or page-by-page analysis. Baidu’s approach allows for a true single-pass parsing, reducing errors in reading order, cross-references, and table recognition across pages. The innovation could impact sectors such as legal, academic, and enterprise document management, where long, complex documents are common.

Furthermore, the open-source release under an MIT license enables researchers and developers to build upon this architecture, potentially accelerating advancements in AI-driven document processing. The model’s improved speed and accuracy may also influence commercial OCR solutions, pushing the industry toward more integrated, long-form document understanding.

Amazon

AI-powered PDF OCR scanner

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Baidu’s OCR Evolution and Industry Benchmarks

Prior to this release, Baidu’s OCR models, such as PaddleOCR, achieved high accuracy on page-by-page benchmarks but struggled with long documents due to memory limitations. The industry has relied on splitting documents into pages, which introduces errors and complicates reading order and cross-references. Baidu’s earlier models, including DeepSeek-OCR, laid the groundwork for architectural improvements, but the key breakthrough with Unlimited-OCR was the implementation of R-SWA, enabling a single, comprehensive pass over multi-page documents.

The technical report and evaluations from early 2026 show that while Unlimited-OCR does not surpass all existing models in peak single-page accuracy, its ability to process entire documents efficiently offers a practical advantage for real-world applications. The development aligns with ongoing efforts in AI to handle longer contexts and more complex data structures effectively.

“Baidu’s new memory architecture fundamentally changes how OCR models handle long documents, enabling true single-pass processing without memory bloat.”

— Thorsten Meyer, AI researcher

Amazon

long document OCR software

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Unanswered Questions About Model Performance and Adoption

It remains unclear how Unlimited-OCR performs on independent, real-world long documents outside of internal benchmarks. The model’s actual accuracy on diverse document types, languages, and layouts needs further validation. Additionally, the extent of community adoption and integration into commercial OCR pipelines is still developing, and the long-term robustness of the R-SWA mechanism under varied conditions is yet to be tested comprehensively.

Amazon

multi-page PDF text recognition tool

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Future Developments and Industry Impact of Baidu’s OCR Breakthrough

Next steps include independent validation of Unlimited-OCR on broader datasets, potential commercial deployment, and further research into extending the architecture to other AI tasks. Baidu may also release updates or new models based on R-SWA, and industry players will likely explore similar memory-efficient approaches to handle long documents more effectively. Monitoring how this innovation influences OCR standards and tools will be key in the coming months.

Amazon

AI OCR document scanner

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

How does Unlimited-OCR differ from previous Baidu OCR models?

It introduces a novel Reference Sliding Window Attention (R-SWA) mechanism that maintains a constant memory footprint, enabling processing of entire multi-page documents in a single pass, unlike earlier models that split documents or used page-by-page analysis.

Is Unlimited-OCR available for commercial use?

Yes, the model is open-sourced under an MIT license and supports multiple deployment formats, making it accessible for integration into various applications and pipelines.

Does this model outperform existing OCR models in accuracy?

While it offers significant advantages in processing long documents efficiently, its accuracy on benchmarks like OmniDocBench is slightly below some page-by-page models. Its main strength lies in handling entire documents in one pass, which is valuable for long-form content.

What are the main technical innovations behind Unlimited-OCR?

The key innovation is the Reference Sliding Window Attention (R-SWA) mechanism, which replaces the traditional attention cache with a constant-size memory, preventing linear growth in memory and latency during document parsing.

Source: ThorstenMeyerAI.com

You May Also Like

Pension Drawdown Before Equity Release: The Hidden Trade-Offs Explained

Ineffective planning of pension drawdown before equity release can lead to costly financial pitfalls, so understanding these hidden trade-offs is crucial to safeguarding your future.

Performance Breakdown: OpenAI’s Jalapeño Chip In AI Benchmarks

OpenAI releases initial performance data for its Jalapeño inference chip, demonstrating notable efficiency and latency improvements over NVIDIA systems in AI benchmarks.