金融文档的多阶段字段提取:结合OCR与紧凑型视觉语言模型
Multi-Stage Field Extraction of Financial Documents with OCR and Compact Vision-Language Models
AI总结:
针对扫描金融文档解析难、大型视觉语言模型成本高的问题,提出结合OCR与紧凑型视觉语言模型的多阶段提取流水线,实现字段级准确率提升8.8倍,GPU成本降至0.7%,延迟降低92.6%。
摘要:
金融文档是监管机构、审计师和金融机构的重要信息来源,尤其是在评估中小型企业的财富和合规性方面。然而,中小型企业文档往往难以解析。这些文档很少是数字原生的,而是以扫描图像的形式分发,这些图像不具备机器可读性。扫描件本身分辨率低,受倾斜或旋转影响,且常包含噪声背景。这些文档也往往具有异构性,在同一报告中混合了叙述、表格、图形和多语言内容。这些特征对自动化信息提取构成了重大挑战,尤其是在依赖端到端的大型视觉语言模型时,这些模型计算成本高、对噪声敏感,并且在应用于数百页的文件时速度缓慢。我们提出了一种多阶段流水线,利用传统图像处理模型和OCR提取,结合紧凑型视觉语言模型,用于大规模金融文档的结构化字段提取。我们的方法首先进行图像预处理,包括分割、方向检测和尺寸归一化。然后应用多语言OCR恢复页面级文本。在分析文本信息后,检索页面以形成连贯的章节。最后,在这些缩小的范围内操作紧凑型视觉语言模型,以提取结构化的财务指标。我们的方法使用一个内部的多语言扫描金融文档语料库进行评估。结果表明,紧凑型视觉语言模型结合多阶段流水线,在字段级准确率上比直接将整个文档输入大型视觉语言模型高出8.8倍,而GPU成本仅为后者的0.7%,端到端服务延迟降低了92.6%。
英文摘要:
Financial documents are essential sources of information for regulators, auditors, and financial institutions, particularly for assessing the wealth and compliance of Small and Medium-sized Businesses. However, SMB documents are often difficult to parse. They are rarely born digital and instead are distributed as scanned images that are none machine readable. The scans themselves are low in resolution, affected by skew or rotation, and often contain noisy backgrounds. These documents also tend to be heterogeneous, mixing narratives, tables, figures, and multilingual content within the same report. Such characteristics pose major challenges for automated information extraction, especially when relying on end to end large Vision Language Models, which are computationally expensive, sensitive to noise, and slow when applied to files with hundreds of pages. We propose a multistage pipeline that leverages traditional image processing models and OCR extraction, together with compact VLMs for structured field extraction of large-scale financial documents. Our approach begins with image pre-processing, including segmentation, orientation detection, and size normalization. Multilingual OCR is then applied to recover page-level text. Upon analyzing the text information, pages are retrieved for coherent sections. Finally, compact VLMs are operated within these narrowed-down scopes to extract structured financial indicators. Our approach is evaluated using an internal corpus of multi-lingual, scanned financial documents. The results demonstrate that compact VLMs, together with a multistage pipeline, achieves 8.8 times higher field level accuracy relative to directly feeding the whole document into large VLMs, only at 0.7 percent of the GPU cost and 92.6 percent less end-to-end service latency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。