arXiv:2602.23061cs.IRcs.AI2026-02被引 2

用树结构解析复杂文档,让大模型更准回答跨区域问题。

MoDora: Tree-Based Semi-Structured Document Analysis System

  • 通过布局感知聚合,还原碎片化文本的语义
  • 构建组件关联树,显式建模层级与版式差异
  • 按问题类型选择检索策略,支持跨页定位

半结构化文档包含表格、图表、嵌套段落等多元元素,布局不规则,广泛存在于各领域且占现实数据大半。现有方法难以支撑自然语言问答,主要因三重挑战:(1)OCR提取的元素常碎片化且丧失上下文;(2)缺乏有效表示捕捉文档层级结构(如表与章节标题关联)和版式差异(如侧边栏与正文区分);(3)答案常需跨区域或跨页对齐信息(如将描述段落与异地表格单元关联)。为此,我们提出MoDora,一个基于大模型的半结构化文档分析系统。首先,采用局部对齐聚合策略,将OCR输出转化为布局感知组件,并对具有层级标题或非文本元素的组件进行类型特异性信息抽取。其次,设计组件关联树(CCTree),通过自底向上的级联摘要过程,层次化组织组件,显式建模组件间关系与版式差异。最后,提出问题类型感知检索策略,支持(1)基于布局的网格分区用于位置检索,(2)大模型引导的剪枝用于语义检索。实验表明,MoDora在准确率上优于基线5.97%至61.07%。代码见https://github.com/weAIDB/MoDora。

原文摘要 · Abstract (English)

Semi-structured documents integrate diverse interleaved data elements (e.g., tables, charts, hierarchical paragraphs) arranged in various and often irregular layouts. These documents are widely observed across domains and account for a large portion of real-world data. However, existing methods struggle to support natural language question answering over these documents due to three main technical challenges: (1) The elements extracted by techniques like OCR are often fragmented and stripped of their original semantic context, making them inadequate for analysis. (2) Existing approaches lack effective representations to capture hierarchical structures within documents (e.g., associating tables with nested chapter titles) and to preserve layout-specific distinctions (e.g., differentiating sidebars from main content). (3) Answering questions often requires retrieving and aligning relevant information scattered across multiple regions or pages, such as linking a descriptive paragraph to table cells located elsewhere in the document. To address these issues, we propose MoDora, an LLM-powered system for semi-structured document analysis. First, we adopt a local-alignment aggregation strategy to convert OCR-parsed elements into layout-aware components, and conduct type-specific information extraction for components with hierarchical titles or non-text elements. Second, we design the Component-Correlation Tree (CCTree) to hierarchically organize components, explicitly modeling inter-component relations and layout distinctions through a bottom-up cascade summarization process. Finally, we propose a question-type-aware retrieval strategy that supports (1) layout-based grid partitioning for location-based retrieval and (2) LLM-guided pruning for semantic-based retrieval. Experiments show MoDora outperforms baselines by 5.97%-61.07% in accuracy. The code is at https://github.com/weAIDB/MoDora.

文档分析大模型布局理解问答系统

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。