Baidu open-sources Unlimited OCR 2: near-constant latency on documents of any length

Baidu_Inc · x · 2026-10-27

Baidu released Unlimited OCR 2, an open-source model for long-document parsing. To curb the attention compute blowup as documents grow, a new SR-SWA mechanism condenses text-visual attention interactions into a fixed-size set of working references.

Results: parses documents of virtually any length within a finite context window; near-constant per-step decoding latency and memory as documents grow; state-of-the-art on MPDocBench and MarathonDocBench, covering documents from dozens to hundreds of pages.

Related event: Baidu Open-Sources Unlimited OCR 2 for Arbitrarily Long Documents(3 posts)→

Original post →

More from Models

Models channel →