首页|期刊导航|计算机技术与发展|融合多尺度特征的文档版面分析算法

融合多尺度特征的文档版面分析算法OA

A Multi-scale Feature Fusion Approach to Document Layout Analysis

中文摘要英文摘要

针对文档版面复杂、多模态元素难以高效解析的问题,该文提出了一种基于 Transformer 的端到端目标检测网络(Detection Transformer,DETR)的双重注意力的跨层多尺度文档版面分析算法.该算法在标准 DETR 架构的基础上,引入位置注意力模块、特征金字塔网络加权坐标注意力模块.其中位置注意力模块增强了模型对空间结构的建模能力,能够有效识别表格网格、标题等空间依赖较强的元素;特征金字塔网络提升了多尺度特征融合能力,改善了小目标和不同尺寸要素的检测效果;加权坐标注意力模块使模型更精确地聚焦于与文档关键元素相关的区域特征.实验在 PubLayNet 数据集上进行,结果表明该算法在文本、标题、表格、插图等多类型文档要素的检测任务中均取得了优于主流方法的性能,整体mAP@0.5 达到96.8%,相比原始 DETR 提升了1.6 百分点.该算法不仅提升了文档要素检测的精度与鲁棒性,也为后续多模态语义融合等下游任务奠定了坚实基础.

To address the challenges of complex document layouts and inefficient parsing of multimodal elements,we propose a cross-layer,multi-scale document layout analysis algorithm based on the Transformer-based end-to-end object detection network with dual at-tention mechanisms.Building upon the standard DETR architecture,the proposed algorithm incorporates a positional attention module and a feature pyramid network-weighted coordinate attention module.The positional attention module enhances the model's spatial structuring capabilities,enabling effective recognition of strongly spatially dependent elements such as table grids and headings.The feature pyramid network improves multi-scale feature fusion,boosting detection accuracy for small objects and elements of varying sizes.The weighted coordinate attention module enables the model to focus more precisely on regional features associated with critical document elements.Experiments conducted on the PubLayNet dataset demonstrate that the proposed algorithm outperforms mainstream methods in detecting various document elements,including text,headings,tables,and illustrations.It achieves an all mAP@0.5 of 96.8%,representing a1.6 percentage points improvement over the original DETR.The proposed algorithm not only enhances the accuracy and robustness of document element detection but also lays a solid foundation for downstream tasks such as multimodal semantic fusion.

袁沛愉;陈亮;刘昌宏

西安工程大学 计算机科学学院,陕西 西安 710048西安工程大学 计算机科学学院,陕西 西安 710048重庆中烟工业有限责任公司 黔江卷烟厂 信息中心,重庆 409000

信息技术与安全科学

文档版面分析DETR位置注意力特征金字塔网络坐标注意力

document layout analysisDetection Transformerposition attentionfeature pyramid networkcoordinate attention

《计算机技术与发展》 2026 (8)

50-58,9

国家自然科学基金资助项目(51675108)陕西省教育厅重点科学研究计划资助项目(22JS021)

10.20165/j.cnki.ISSN1673-629X.2026.0063

评论