XY-Cut++: Advanced Layout Ordering via Hierarchical Mask Mechanism on a Novel Benchmark

Shuai Liu, Youmeng Li, Jizeng Wei
4/14/2025
cs.CVcs.MM

No official code found. Best implementation: liushuai35/PaddleXrc (8 stars, Apache-2.0, last commit 2025-06-10). 1 more below.

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.

View on arXivView PDF

Code Implementations(2)

Apache-2.0

All-in-One Development Tool based on PaddlePaddle(飞桨低代码开发工具)

80C, C++Feb 18, 20251 years agoApache-2.0
RustGPL-3.0

A Rust implementation of the XYCut++ algorithm. https://arxiv.org/pdf/2504.10258

00RustOct 31, 20257 months agoGPL-3.0

Similar Papers

Cite this paper

@article{liu2025xycut,
  title  = {XY-Cut++: Advanced Layout Ordering via Hierarchical Mask Mechanism on a Novel Benchmark},
  author = {Shuai Liu and Youmeng Li and Jizeng Wei},
  year   = {2025},
  eprint = {2504.10258},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.10258v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.10258.svg)](https://codeofpaper.com/paper/2504.10258)

Discussion