arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.01018cs.CLcs.AIcs.CVcs.DL
收藏

复杂文档布局的阅读顺序推断

Reading Order Inference for Complex Document Layouts

School of Computer Science and AI, Tel Aviv University(特拉维夫大学计算机科学与人工智能学院)

Iddo Hakim, Sharva Gogawale, Omer Ventura, Gal Grudka, Daria Vasyutinsky-Shapira, Berat Kurar-Barakat, Nachum Dershowitz

AI总结:

提出无训练图框架,通过因果语言模型和BERT NSP信号构建候选转移图,结合最大遗憾推理规则,解决复杂历史手稿中非矩形环绕布局的阅读顺序问题,在Glossa和OmniDocBench数据集上优于XY-cut和LayoutReader。

摘要:

阅读顺序推断仍然是复杂历史手稿数字化中的关键瓶颈,其中页面包含多个空间交织的阅读流,典型例子是Glossa Ordinaria布局,其中中央文本被非矩形、非凸区域的注释包围。我们提出一个无需训练的图框架:每个OCR文本行成为有向候选转移图中的一个节点,边由两个轻量级语言模型信号(因果语言模型条件似然和BERT下一句预测NSP;第三个句子嵌入信号被评估但未改善阅读顺序)的加权加性集成评分,全局阅读顺序作为度约束有向路径覆盖恢复。为避免贪婪边选择的级联“边窃取”失败,我们提出一个最大遗憾推理规则,优先考虑具有高机会成本的承诺。我们在合成Glossa Ordinaria网格布局、23个ALTO页面几何(10个历史源页面及其镜像和翻转变体)以及OmniDocBench的140页多列英语子集上评估,将我们的方法与标准递归XY-cut(PaddleOCR PP-StructureV3)和两个LayoutReader变体(仅布局和文本+布局)在相同输入上比较。在环绕Glossa布局上,我们的方法平均恢复95%的真实后继边,而XY-cut为50%;在OmniDocBench多列子集上,它达到88%的宏边准确率,而XY-cut为75%,LayoutReader为25%。LayoutReader基线由于词级与行级粒度不匹配而迁移性差。我们额外验证了在水平和垂直页面反射下的镜像不变性:我们的方法变化小于1个百分点,经典XY-cut变化2个百分点,LayoutReader-T变化高达8个百分点。

英文摘要:

Reading order inference remains a critical bottleneck in the digitization of complex historical manuscripts, where pages contain multiple spatially interleaved reading streams, the canonical example being the Glossa Ordinaria layout, in which a central text is surrounded by commentaries that wrap around it in non-rectangular, non-convex regions. We present a training-free, graph-based framework: each OCR text line becomes a node in a directed candidate-transition graph, edges are scored by a weighted additive ensemble of two lightweight language-model signals (causal language model conditional likelihood and BERT next-sentence prediction, NSP; a third sentence-embedding signal was evaluated but did not improve reading order), and the global reading order is recovered as a degree-constrained directed path cover. To avoid the cascading "edge-theft" failures of greedy edge selection, we propose a max-regret inference rule that prioritizes commitments with high opportunity cost. We evaluate on synthetic Glossa Ordinaria grid layouts, on 23 ALTO page geometries (10 historical source pages plus mirrored and flipped variants), and on a 140-page multi-column English subset of OmniDocBench, comparing our method against the canonical recursive XY-cut (PaddleOCR PP-StructureV3) and two LayoutReader variants (layout-only and text+layout) on identical inputs. On wrap-around Glossa layouts our method recovers 95% of ground-truth successor edges on average vs. XY-cut's 50%; on the OmniDocBench multi-column subset it reaches 88% macro edge accuracy versus XY-cut's 75% and LayoutReader's 25%. The LayoutReader baselines transfer poorly due to a word-level vs. line-level granularity mismatch. We additionally verify mirror-invariance under horizontal and vertical page reflections: Our method changes by less than 1 percentage point, classical XY-cut by 2 points, and LayoutReader-T by up to 8 points.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑