arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.02886cs.CV
收藏

Patchfinder: 利用视觉语言模型与模型不确定性实现准确信息检索

Patchfinder: Leveraging Visual Language Models for Accurate Information Retrieval using Model Uncertainty

Los Alamos National Laboratory(洛斯阿拉莫斯国家实验室)

Roman Colman, Minh Vu, Manish Bhattarai, Martin Ma, Hari Viswanathan, Daniel O'Malley, Javier E. Santos

AI总结:

针对扫描文档信息提取缓慢且易受噪声影响的问题,提出基于视觉语言模型和模型不确定性的PatchFinder算法,通过置信度评分划分补丁,在190份文档上达到94%准确率,超越ChatGPT-4o。

摘要:

数十年来,企业和政府依赖扫描文档来记录大量信息。然而,由于这些记录的体量和复杂性,提取这些信息是一个缓慢且繁琐的过程。视觉语言模型(VLMs)的兴起为高效准确地从这些文档中提取信息提供了一种途径。当前自动化工作流程通常需要两步方法,即使用光学字符识别软件提取信息,随后使用大型语言模型处理这些信息。不幸的是,这些方法在处理嘈杂的扫描文档时遇到重大挑战,通常需要计算成本高昂的语言模型来有效处理高信息密度。在本研究中,我们提出了PatchFinder,一种基于VLMs改进信息提取的算法。首先,我们设计了一种基于置信度的评分,称为Patch Confidence,基于VLM输出的最大Softmax概率来衡量模型对其预测的置信度。利用该指标,PatchFinder确定合适的补丁大小,将输入文档划分为重叠补丁,并为目标信息生成基于置信度的预测。我们的实验结果表明,PatchFinder利用Phi-3v(一个42亿参数的VLM),在我们包含190份嘈杂扫描文档的数据集上达到了94%的准确率,比ChatGPT-4o高出18.5个百分点。

英文摘要:

For decades, corporations and governments have relied on scanned documents to record vast amounts of information. However, extracting this information is a slow and tedious process due to the sheer volume and complexity of these records. The rise of Vision Language Models (VLMs) presents a way to efficiently and accurately extract the information out of these documents. The current automated workflow often requires a two-step approach involving the extraction of information using optical character recognition software and subsequent usage of large language models for processing this information. Unfortunately, these methods encounter significant challenges when dealing with noisy scanned documents, often requiring computationally expensive language models to handle high information density effectively. In this study, we propose PatchFinder, an algorithm that builds upon VLMs to improve information extraction. First, we devise a confidence-based score, called Patch Confidence, based on the Maximum Softmax Probability of the VLMs' output to measure the model's confidence in its predictions. Using this metric, PatchFinder determines a suitable patch size, partitions the input document into overlapping patches, and generates confidence-based predictions for the target information. Our experimental results show that PatchFinder, leveraging Phi-3v, a 4.2-billion-parameter VLM, achieves an accuracy of 94% on our dataset of 190 noisy scanned documents, outperforming ChatGPT-4o by 18.5 percentage points.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑