Dolphin-v2:通过可扩展的锚点提示实现通用文档解析
Dolphin-v2: Universal Document Parsing via Scalable Anchor Prompting
AI总结:
Dolphin-v2通过可扩展的锚点提示实现通用文档解析,改进了文档类型分类、布局分析和元素检测,提升了对拍摄文档的解析能力并减少错误率。
摘要:
文档解析随着视觉-语言模型(VLMs)的推进而受到广泛关注,尤其是在OCR能力提升的背景下。然而,该领域仍然在数十种专门化的模型之间碎片化,各模型具有不同的优势,迫使用户面对复杂的模型选择,限制了系统的可扩展性。此外,现有两阶段方法依赖于轴对齐的边界框进行布局检测,无法有效处理变形或拍摄的文档。为此,我们提出了Dolphin-v2,一种两阶段文档图像解析模型,显著改进了原始Dolphin。在第一阶段,Dolphin-v2联合执行文档类型分类(数字生成与拍摄)以及布局分析。对于数字生成文档,它进行更细粒度的元素检测并预测阅读顺序。在第二阶段,我们采用混合解析策略:拍摄文档作为完整页面整体解析以处理几何失真,而数字生成文档则通过检测到的布局锚点进行元素级并行解析,从而实现高效的内内容提取。与原始Dolphin相比,Dolphin-v2引入了几个关键改进:(1)通过整体页面级理解实现拍摄文档的稳健解析;(2)更细粒度的元素检测(21类)并提取语义属性,如作者信息和文档元数据;(3)代码块识别并保留缩进,这是现有系统通常缺乏的。在DocPTBench、OmniDocBench和我们自行构建的RealDoc-160基准上进行了全面评估。结果表明有显著改进:在具有挑战性的OmniDocBench上整体提升14.78分,在拍摄文档上错误率减少91%,同时通过并行处理保持了高效的推理。
英文摘要:
Document parsing has garnered widespread attention as vision-language models (VLMs) advance OCR capabilities. However, the field remains fragmented across dozens of specialized models with varying strengths, forcing users to navigate complex model selection and limiting system scalability. Moreover, existing two-stage approaches depend on axis-aligned bounding boxes for layout detection, failing to handle distorted or photographed documents effectively. To this end, we present Dolphin-v2, a two-stage document image parsing model that substantially improves upon the original Dolphin. In the first stage, Dolphin-v2 jointly performs document type classification (digital-born versus photographed) alongside layout analysis. For digital-born documents, it conducts finer-grained element detection with reading order prediction. In the second stage, we employ a hybrid parsing strategy: photographed documents are parsed holistically as complete pages to handle geometric distortions, while digital-born documents undergo element-wise parallel parsing guided by the detected layout anchors, enabling efficient content extraction. Compared with the original Dolphin, Dolphin-v2 introduces several crucial enhancements: (1) robust parsing of photographed documents via holistic page-level understanding, (2) finer-grained element detection (21 categories) with semantic attribute extraction such as author information and document metadata, and (3) code block recognition with indentation preservation, which existing systems typically lack. Comprehensive evaluations are conducted on DocPTBench, OmniDocBench, and our self-constructed RealDoc-160 benchmark. The results demonstrate substantial improvements: +14.78 points overall on the challenging OmniDocBench and 91% error reduction on photographed documents, while maintaining efficient inference through parallel processing.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。