FocalOrder: Focal Preference Optimization for Reading Order Detection
Fuyuan Liu, Dianyu Yu, He Ren, Nayu Liu, Xiaomian Kang, Delai Qiu, Fa Zhang, Genpeng Zhen, Shengping Liu, Jiaen Liang, Wei Huang, Yining Wang, Junnan Zhu
TL;DR
FocalOrder tackles reading order detection by addressing Positional Disparity—the mismatch between uniform supervision and the non-uniform layout difficulty—through Focal Preference Optimization. It introduces Adaptive Difficulty Discovery, which uses EMA to emphasize structurally ambiguous transitions, and Difficulty-Calibrated Pairwise Ranking, which imposes global coherence via adaptive margins in a ranking objective. The method achieves state-of-the-art results on OmniDocBench and Comp-HRDoc with a compact backbone, demonstrating that focusing optimization on hard regions improves robustness beyond larger models. This approach offers a scalable paradigm for document understanding by aligning training signals with intrinsic layout entropy, improving reliability in complex layouts and downstream tasks such as RAG pipelines.
Abstract
Reading order detection is the foundation of document understanding. Most existing methods rely on uniform supervision, implicitly assuming a constant difficulty distribution across layout regions. In this work, we challenge this assumption by revealing a critical flaw: \textbf{Positional Disparity}, a phenomenon where models demonstrate mastery over the deterministic start and end regions but suffer a performance collapse in the complex intermediate sections. This degradation arises because standard training allows the massive volume of easy patterns to drown out the learning signals from difficult layouts. To address this, we propose \textbf{FocalOrder}, a framework driven by \textbf{Focal Preference Optimization (FPO)}. Specifically, FocalOrder employs adaptive difficulty discovery with exponential moving average mechanism to dynamically pinpoint hard-to-learn transitions, while introducing a difficulty-calibrated pairwise ranking objective to enforce global logical consistency. Extensive experiments demonstrate that FocalOrder establishes new state-of-the-art results on OmniDocBench v1.0 and Comp-HRDoc. Our compact model not only outperforms competitive specialized baselines but also significantly surpasses large-scale general VLMs. These results demonstrate that aligning the optimization with intrinsic structural ambiguity of documents is critical for mastering complex document structures.
