Unlimited OCR Works 2
Shu Wei, Jingjing Wu, Qunyi Xie, Lingshu Zhang, Xiangcheng Du, Yannian Fu, Mengjie Wang, Zuyi Wang, Zhichao Liu, Yangliu Xu, Youyang Yin, Huanhuan Liu, YY, Yi Yang
Abstract
Unlimited OCR ushers the era of long-horizon parsing, substantially mitigating the growth of working memory as document lengthens. However, as document length scales to hundreds of pages, the visual context grows substantially, sharply increasing the computational cost of each decoding step and limiting the scalability of ultra-long document parsing. Inspired by human book transcription via localized focus without re-scanning preceding pages, we introduce Unlimited OCR 2, a document parsing model that looks only at what it transcribes. Building on Unlimited OCR, we upgrade all the decoder attention modules to Sparse Reference Sliding Window Attention (SR-SWA), bounding active reference tokens to a fixed capacity and thus sustaining constant computational costs across arbitrarily long documents. By combining SR-SWA with Unlimited-Horizon Decoding Paradigm, Unlimited OCR 2 enables document parsing over virtually unlimited lengths without prohibitive memory overhead. At the hundred-page scale, Unlimited OCR 2 achieves 7.0 and 5.6 per-step speedups over Full Attention and R-SWA, respectively. Furthermore, it delivers state-of-the-art end-to-end performance on both MPDocBench and MarathonDocBench, our newly proposed benchmark targeting hundred-page document parsing. Ultimately, the capacity for uninterrupted, one-shot document parsing signifies a fundamental paradigm shift into the OCR 3.0 era.
Create a lesson
Metadata
- Categories
- cs.CL, cs.CV
Recent in the same category
Faithful Persona Steering under Incongruity via Dual-Stream Refinement
Recent in the same categorycs.CLYu-An Chu, Jen-Ren Pong, Chia-Yao Yeh et al.
Exploring Multi-Player Social Games as Verifiable Training Grounds for Large Language Models
Recent in the same categorycs.CLKeyu He, Michael Li, Jiarui Liu et al.
SPARQL-Planned Single-Hop Traversal over a Live Knowledge Graph for Multi-Hop Question Answering
Recent in the same categorycs.CLPriyesh Vakharia, Masud Moshtaghi, Pratyay Banerjee et al.
fork() for Agents: Agent Kernel for Non-blocking LLM Orchestration
Recent in the same categorycs.CLAnkit Chadha, Pratyay Banerjee
Right Destination, Wrong Journey: Synthetic Counseling Dialogues Miss Human Interactional Dynamics
Recent in the same categorycs.CLZiwei Gong, Yuchen Huang, Nicholas Deas et al.
Provenance Loss and Repair in Multilingual Compaction
Recent in the same categorycs.CLIan Miao, Fangrui Zhu, Bowen Jiang