arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.05021cs.SEcs.IRcs.PL
收藏

地标和区域:一种稳健的数据提取方法

Landmarks and Regions: A Robust Approach to Data Extraction

Suresh Parthasarathy, Lincy Pattanaik, Anirudh Khatry, Arun Iyer, Arjun Radhakrishna, Sriram Rajamani, Mohammad Raza

摘要:

我们提出了一种新的方法来提取数据项或字段值的半结构化的文件。这样的问题的示例包括从旅行行程中提取乘客姓名、出发时间和出发机场,或者从购买收据中提取物品的价格。传统的数据提取方法使用机器学习或程序合成来处理整个文档以提取所需的字段。这样的方法对于文档中的格式改变是不鲁棒的,并且即使对文档的与所期望的感兴趣的字段无关的部分进行改变,提取过程通常也失败。我们提出了一种新的方法来提取数据的基础上的地标和区域的概念。人类通常在文档的手动处理中使用地标来放大并将其注意力集中在文档中感兴趣的小区域上。受这种人类直觉的启发,我们在程序合成中使用地标的概念来自动合成提取程序,该提取程序首先提取感兴趣的小区域,然后在后续步骤中从该区域自动提取所需的值。我们已经实现了我们的地标为基础的提取方法在一个工具LRSyn,并显示在HTML文档以及发票和收据的扫描图像的广泛评价。我们的研究结果表明,我们的方法是强大的各种类型的格式变化,经常发生在现实世界中的设置。

英文摘要:

We propose a new approach to extracting data items or field values from semi-structured documents. Examples of such problems include extracting passenger name, departure time and departure airport from a travel itinerary, or extracting price of an item from a purchase receipt. Traditional approaches to data extraction use machine learning or program synthesis to process the whole document to extract the desired fields. Such approaches are not robust to format changes in the document, and the extraction process typically fails even if changes are made to parts of the document that are unrelated to the desired fields of interest. We propose a new approach to data extraction based on the concepts of landmarks and regions. Humans routinely use landmarks in manual processing of documents to zoom in and focus their attention on small regions of interest in the document. Inspired by this human intuition, we use the notion of landmarks in program synthesis to automatically synthesize extraction programs that first extract a small region of interest, and then automatically extract the desired value from the region in a subsequent step. We have implemented our landmark-based extraction approach in a tool LRSyn, and show extensive evaluation on documents in HTML as well as scanned images of invoices and receipts. Our results show that our approach is robust to various types of format changes that routinely happen in real-world settings.

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

↑