Reading or Reasoning? Format Decoupled Reinforcement Learning for Document OCR
Yufeng Zhong, Lei Chen, Zhixiong Zeng, Xuanle Zhao, Deyang Jiang, Liming Zheng, Jing Huang, Haibo Qiu, Peng Shi, Siqi Yang, Lin Ma
TL;DR
This paper tackles the challenge of reading and reasoning over format-heavy documents by observing that formatted content (e.g., formulas and tables) induces higher output entropy in OCR systems. It introduces Format Decoupled Reinforcement Learning (FD-RL), a two-stage SFT-then-RL framework that leverages entropy-based data filtration and format-specific rewards to optimize format-level validity rather than token-level accuracy. By constructing a large-scale, format-rich training corpus (open-source, real-world PDFs, and synthetic OCR data) and applying entropy-based filtering plus per-format rewards, FD-RL achieves state-of-the-art end-to-end performance on OmniDocBench with an overall score of 90.41 and strong gains on formulas and tables. The approach demonstrates that aligning optimization objectives with format integrity yields robust cross-domain parsing, enabling more reliable document understanding and extraction in real-world settings.
Abstract
Reading text from images or scanned documents via OCR models has been a longstanding focus of researchers. Intuitively, text reading is perceived as a straightforward perceptual task, and existing work primarily focuses on constructing enriched data engineering to enhance SFT capabilities. In this work, we observe that even advanced OCR models exhibit significantly higher entropy in formatted text (\emph{e.g.}, formula, table, etc.) compared to plain text, often by an order of magnitude. These statistical patterns reveal that advanced OCR models struggle with high output uncertainty when dealing with format sensitive document, suggesting that reasoning over diverse reading pathways may improve OCR performance. To address this, we propose format decoupled reinforcement learning (FD-RL), which leverages high-entropy patterns for targeted optimization. Our approach employs entropy-based data filtration strategy to identify format-intensive instances, and adopt format decoupled rewards tailored to different format types, enabling format-level validation rather than token-level memorization. FD-RL achieves an average score of 90.41 on OmniDocBench, setting a new record for end-to-end models on this highly popular benchmark. More importantly, we conduct comprehensive ablation studies over data, training, filtering, and rewarding strategies, thoroughly validating their effectiveness.
