Baidu’s OCR Breakthrough: What AI Can Achieve In Document Reading
AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

Baidu released Unlimited-OCR, a 3-billion-parameter model that can read entire multi-page documents in one forward pass. It introduces a new attention mechanism that maintains constant memory and improves speed, especially for long documents. This development challenges existing OCR models and enhances AI’s document processing potential.

Baidu has open-sourced Unlimited-OCR, a new OCR model that can process entire multi-page documents in a single forward pass using a standard 32K context window. This technical achievement, announced on June 22, 2026, introduces a novel attention mechanism that maintains constant memory, allowing for faster and more efficient document reading, especially for lengthy texts. This development could significantly impact AI document processing and challenge existing OCR solutions.

Before you orderOffer from Amazon

Get smart everyday buys delivered free with Prime

  • Fast, free delivery on millions of items
  • Prime Video, Amazon Music and more included
  • Member-only deals all year
Start your free Prime trial Free trial for eligible customers · Cancel anytime
As an affiliate, we earn on qualifying purchases.

The model, named Unlimited-OCR, is based on Baidu’s earlier DeepSeek-OCR architecture and features a new mechanism called Reference Sliding Window Attention (R-SWA). Unlike traditional decoder-based OCR models, which experience linear growth in memory usage as output length increases, R-SWA maintains a fixed memory footprint by simulating a ‘soft forgetting’ process similar to human copyists. As a result, the model can parse dozens of pages in a single pass without external page splitting or stitching, reducing errors in reading order and table recognition across pages.

Released as open source under the MIT license, the model is available on Hugging Face and supports various deployment frameworks, including Transformers, vLLM, SGLang, and Docker. It achieves a throughput of approximately 5,580 tokens per second on the OmniDocBench benchmark, outperforming Baidu’s previous models and some competitors in speed and accuracy. On standard benchmarks, it scores over 93 points on OmniDocBench v1.5 and v1.6, with a notable ability to process long documents—up to 40 pages—with an error rate below 0.11, according to internal tests. However, the model does not outperform Baidu’s PaddleOCR-VL 1.5 or Zhipu’s GLM-OCR on single-page accuracy benchmarks.

At a glance
breakingWhen: announced June 22, 2026; technical repo…
The developmentBaidu launched Unlimited-OCR, an open-source model capable of parsing entire multi-page documents with a novel attention mechanism, on June 22, 2026.

Implications for Long-Document AI Processing

This breakthrough addresses a longstanding challenge in OCR: efficiently reading lengthy, multi-page documents without splitting or external stitching. By maintaining constant memory usage and consistent latency, Unlimited-OCR enables faster, more accurate processing of complex documents such as legal texts, scientific papers, and books. This advancement could reshape how AI handles large-scale document analysis, reduce reliance on external page segmentation, and improve accuracy in cross-page references and tables. It also demonstrates that architectural innovation, rather than just larger models, can lead to meaningful progress in AI OCR capabilities.

Products Worth Considering

Canon SELPHY CP1500 Compact Photo Printer Bundle with Two KP-108IN Ink and Paper Sets, Black

Canon SELPHY CP1500 Compact Photo Printer Bundle with Two KP-108IN Ink and Paper Sets, Black

Logitech MX Ergo S Advanced Wireless Trackball Mouse USB-C - Graphite

Logitech MX Ergo S Advanced Wireless Trackball Mouse USB-C – Graphite

As an affiliate, we earn on qualifying purchases.

Baidu’s OCR Evolution and Industry Benchmarks

Prior to this release, OCR models like PaddleOCR and Zhipu’s GLM-OCR achieved high accuracy through page-by-page processing, but struggled with long documents and cross-page references. Baidu’s earlier DeepSeek-OCR laid groundwork with a cascaded architecture, but the introduction of R-SWA significantly improves long-document parsing. The release follows a pattern of Baidu pushing open-source models to challenge both proprietary cloud solutions and smaller local models, with recent benchmarks showing competitive scores on OmniDocBench. Despite some claims of high download figures, the actual adoption remains modest, with around 8,400 recent downloads as of July 2026.

“Unlimited-OCR introduces a novel attention mechanism that maintains constant memory, enabling efficient processing of multi-page documents in a single pass.”

— Baidu Research Team

Unanswered Questions About Practical Deployment

It remains unclear how well Unlimited-OCR performs outside of Baidu’s internal benchmarks, especially in real-world applications with diverse document types. The actual adoption rate and integration into commercial systems are still evolving, and its performance relative to proprietary cloud solutions or specialized OCR tools requires further independent testing. Additionally, the long-term robustness and ability to handle complex layouts or heavily formatted documents are still to be validated in broader contexts.

Next Steps for Broader Adoption and Evaluation

Following its open-source release, Baidu is likely to see community-driven testing and potential improvements. Industry players and researchers will evaluate its performance on diverse datasets, and Baidu may incorporate feedback into future versions. Monitoring how the model is adopted in real-world applications, especially in industries like legal, scientific, and publishing, will determine its practical impact. Further benchmarks and independent evaluations are expected to clarify its standing relative to other state-of-the-art OCR solutions.

Key Questions

How does Unlimited-OCR differ from previous models?

It uses Reference Sliding Window Attention (R-SWA) to maintain constant memory during long-document processing, unlike traditional models that experience linear memory growth.

Can Unlimited-OCR process multi-page documents in one pass?

Yes, it can parse dozens of pages in a single forward pass, significantly reducing errors related to page splitting and reading order.

Is Unlimited-OCR better than Baidu’s other OCR models?

It offers advantages in processing long documents efficiently, though it may not outperform models optimized for single-page accuracy like PaddleOCR-VL 1.5 on those specific benchmarks.

Will this model be available for commercial use?

Yes, it is released under the MIT license, allowing broad use and modification, though practical deployment depends on integration and performance in specific applications.

What are the limitations of Unlimited-OCR?

Its performance on diverse, heavily formatted, or complex documents outside of Baidu’s internal tests remains to be seen, and real-world adoption is still developing.

Source: ThorstenMeyerAI.com

You May Also Like

Reviewing AI Automation Software In 2026: A Checklist

A 2026 checklist examines six AI software categories and flags product-fit, compatibility and listing details buyers should verify.

Protect Your Vision: Webcam Blink-Rate Tracking For Screen Users

New webcam app prototype estimates blink rate to help remote workers prevent eye discomfort, with testing planned for early deployment.

SK Telecom Pursues 15GW AI Data Center Buildout, Aiming To Become Asia’s AI Infrastructure Hub

SK Telecom aims to develop a 15GW AI data center infrastructure to establish itself as Asia’s leading AI infrastructure provider, according to recent PR Newswire release.

iFLYTEK Officially Launches Open Platform In Central Asia, Positioning Uzbekistan As A New Regional AI Hub

iFLYTEK has officially launched its open AI platform in Uzbekistan, marking its entry into Central Asia and positioning the country as a regional AI hub.