XY-Cut++: Advanced Layout Ordering via Hierarchical Mask Mechanism on a Novel Benchmark
Shuai Liu, Youmeng Li, Jizeng Wei
TL;DR
Document Reading Order Recovery is challenged by complex document layouts and cross-modal cues between visuals and text. The paper presents XY-Cut++ a lightweight, hierarchy-aware framework that combines pre-mask processing, multi-granularity segmentation, and cross-modal matching to improve block-level reading order. It introduces the DocBench-100 benchmark and reports state-of-the-art BLEU-4 scores on both complex ($$BLEU-4$$ about $98.6$) and regular ($$BLEU-4$$ about $98.9$) layouts, with Kendall's tau near unity and strong efficiency (mean FPS around $514$). The approach yields consistent gains over classic XY-Cut and deep-learning baselines, and the work offers extensive ablations to validate each component, providing a robust foundation for RAG and LLM preprocessing in document understanding. The authors also release code to promote standardized evaluation of block-level reading-order recovery.
Abstract
Document Reading Order Recovery is a fundamental task in document image understanding, playing a pivotal role in enhancing Retrieval-Augmented Generation (RAG) and serving as a critical preprocessing step for large language models (LLMs). Existing methods often struggle with complex layouts(e.g., multi-column newspapers), high-overhead interactions between cross-modal elements (visual regions and textual semantics), and a lack of robust evaluation benchmarks. We introduce XY-Cut++, an advanced layout ordering method that integrates pre-mask processing, multi-granularity segmentation, and cross-modal matching to address these challenges. Our method significantly enhances layout ordering accuracy compared to traditional XY-Cut techniques. Specifically, XY-Cut++ achieves state-of-the-art performance (98.8 BLEU overall) while maintaining simplicity and efficiency. It outperforms existing baselines by up to 24\% and demonstrates consistent accuracy across simple and complex layouts on the newly introduced DocBench-100 dataset. This advancement establishes a reliable foundation for document structure recovery, setting a new standard for layout ordering tasks and facilitating more effective RAG and LLM preprocessing.
