Recently, interest has grown in applying machine learning to the problem of table structure inference and extraction from unstructured documents. However, progress in this area has been challenging both to make and to measure, due to several issues that arise in training and evaluating models from labeled data. This includes challenges as fundamental as the lack of a single definitive ground truth output for each input sample and the lack of an ideal metric for measuring partial correctness for this task. To address these issues we propose a new dataset, PubMed Tables One Million (PubTables-1M), and a new class of metric, grid table similarity (GriTS). PubTables-1M is nearly twice as large as the previous largest comparable dataset, contains highly-detailed structure annotations, and can be used for models across multiple architectures and modalities. Further, it addresses issues such as ambiguity and lack of consistency in the annotations via a novel canonicalization and quality control procedure. We apply DETR to table extraction for the first time and show that object detection models trained on PubTables-1M produce excellent results out-of-the-box for all three tasks of detection, structure recognition, and functional analysis. It is our hope that PubTables-1M and GriTS can further progress in this area by creating data and metrics suitable for training and evaluating a wide variety of models for table extraction. Data and code will be released at https://github.com/microsoft/table-transformer.
翻译:最近,人们对应用机器学习来解决表格结构推断和从非结构化文件中提取文件的问题越来越感兴趣,然而,由于在培训和评价来自标签数据模型方面出现若干问题,这一领域的进展在制作和计量两方面都具有挑战性,这包括各种根本性挑战,如每个输入样本缺乏单一的确定地面真象输出,以及缺乏衡量这项任务部分正确性的理想衡量标准等。为了解决这些问题,我们提出了一个新的数据集,即PubMed表一百万(PubTables-1M),和一个新的标准、网格表类似(GriTS)类别。PubTables-1M几乎是以前最大的可比数据集的两倍,包含非常详细的结构说明,可用于多种结构和模式的模型。此外,它解决了诸如通过新颖的罐体化和质量控制程序测量说明的模糊性和不一致性等问题。 我们首次将DETR用于表格提取,并显示在Pubtasks-1M上培训的物体探测模型将产生出色的结果,在Pubtals-bral-bbb箱中,用于所有三个功能性测试领域,通过数据库的升级和数据库数据库数据库数据库的升级,可以进一步认识和数据库的版本,从而建立数据库将进一步认识和数据库的版本。