[论文解读] GeoLayoutLM: Geometric Pre-training for Visual Information Extraction
GeoLayoutLM 提出了一种用于视觉信息抽取(VIE)的几何预训练框架,通过三种新型预训练任务——GeoPair、GeoMPair 和 GeoTriplet——显式建模文本片段之间的空间关系,同时引入预训练的关系头以弥合预训练与微调之间的差距。该方法实现了最先进性能,在 FUNSD RE 上将 F1 提升至 89.45%。
Visual information extraction (VIE) plays an important role in Document Intelligence. Generally, it is divided into two tasks: semantic entity recognition (SER) and relation extraction (RE). Recently, pre-trained models for documents have achieved substantial progress in VIE, particularly in SER. However, most of the existing models learn the geometric representation in an implicit way, which has been found insufficient for the RE task since geometric information is especially crucial for RE. Moreover, we reveal another factor that limits the performance of RE lies in the objective gap between the pre-training phase and the fine-tuning phase for RE. To tackle these issues, we propose in this paper a multi-modal framework, named GeoLayoutLM, for VIE. GeoLayoutLM explicitly models the geometric relations in pre-training, which we call geometric pre-training. Geometric pre-training is achieved by three specially designed geometry-related pre-training tasks. Additionally, novel relation heads, which are pre-trained by the geometric pre-training tasks and fine-tuned for RE, are elaborately designed to enrich and enhance the feature representation. According to extensive experiments on standard VIE benchmarks, GeoLayoutLM achieves highly competitive scores in the SER task and significantly outperforms the previous state-of-the-arts for RE (\eg, the F1 score of RE on FUNSD is boosted from 80.35\% to 89.45\%). The code and models are publicly available at https://github.com/AlibabaResearch/AdvancedLiterateMachinery/tree/main/DocumentUnderstanding/GeoLayoutLM
研究动机与目标
- 解决现有文档预训练模型中隐式布局表征的局限性,该局限性阻碍了关系抽取(RE)性能的提升。
- 通过显式预训练关系头,缓解预训练与微调之间在 RE 任务上的目标差距。
- 通过设计专门的预训练任务,从多个层次建模文本片段之间的空间关系,提升 VIE 中的几何推理能力。
- 通过利用几何预训练和预训练头,增强关系抽取的 few-shot 学习能力。
- 证明显式几何建模相比启发式几何约束,能带来更鲁棒且泛化能力更强的关系预测。
提出的方法
- 引入三种面向几何的预训练任务:GeoPair(成对空间关系)、GeoMPair(多对关系)和 GeoTriplet(三段落空间构型)。
- 设计一个多模态编码器,联合处理文本、视觉特征和 2D 布局坐标,以学习几何感知表征。
- 开发两种新型关系头:粗粒度关系预测(CRP)头和关系特征提取(RFE)头,两者均使用几何目标进行预训练。
- 采用关系特定的微调(RSF)策略,结合训练过程中的方差损失和后处理过滤,以提升精确率。
- 使用相同的几何预训练目标对关系头进行预训练,使其归纳偏差与下游 RE 任务对齐。
- 采用统一架构,在保留 LayoutLMv3 主干结构的基础上,通过引入几何预训练和专用头,实现更好的泛化能力。
实验结果
研究问题
- RQ1显式几何预训练能否提升视觉丰富文档中关系抽取的性能?
- RQ2使用几何目标预训练关系头是否能减少预训练与微调之间在 RE 任务上的领域差距?
- RQ3在 few-shot RE 设置下,GeoLayoutLM 与 LayoutLMv3 等强基线相比表现如何?
- RQ4几何预训练在多大程度上减轻了关系预测对语义相似性的依赖?
- RQ5几何预训练能否恢复仅依赖语义的模型所遗漏的关系?
主要发现
- GeoLayoutLM 在 FUNSD 关系抽取基准上实现了新的最先进 F1 得分 89.45%,相比之前最先进方法的 80.35% 显著提升。
- 消融实验表明,RFE 头的预训练相比随机初始化版本可提升 2.7% 的 F1,凸显了头预训练的重要性。
- RSF 策略(后处理 + 方差损失)将精确率提升 3.69 个百分点(从 85.26% 提升至 88.94%),同时保持高召回率,当两个组件均使用时,F1 达到最佳值 89.45%。
- 在 few-shot 学习中,GeoLayoutLM 即使仅使用 30 个训练样本,F1 也达到 71.53%,优于使用 104 个样本的 LayoutLMv3(71.07%),展现出强大的数据效率。
- 通过依赖几何布局而非语义信息,模型减少了误报,案例研究显示 LayoutLMv3 仅基于语义就错误地关联了实体。
- 几何预训练任务(GeoPair、GeoMPair、GeoTriplet)使模型能够学习判别性空间表征,其在多样化文档布局上的泛化能力更强,证据确凿。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。