arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2405.06701cs.CLcs.AI
收藏

面向文档组合式信息抽取的轻量级空间建模

Lightweight Spatial Modeling for Combinatorial Information Extraction From Documents

Singapore University of Technology and Design(新加坡科技设计大学);PayPal(贝宝);National University of Singapore(新加坡国立大学)

Yanfei Dong, Lambert Deng, Jiazheng Zhang, Xiaodong Yu, Ting Lin, Francesco Gelli, Soujanya Poria, Wee Sun Lee

AI总结:

提出轻量级 KNN-former,通过 KNN 图空间注意力偏置与组合匹配建模文档结构,在参数高效的同时提升实体分类性能,并发布多语言身份证件数据集及增强标注。

摘要:

由多样化模板构成并呈现复杂空间结构的文档,给文档实体分类带来了挑战。我们提出 KNN-former,它基于文档实体的 K-近邻(KNN)图,在注意力计算中引入一种新型空间偏置。我们将实体的注意力限制在由 KNN 图定义的局部半径内。我们还使用组合匹配来处理许多文档中存在的一对一映射属性,即一个字段仅有一个对应实体。此外,就可训练参数数量而言,与现有方法相比,我们的方法具有很高的参数效率。尽管如此,在多个数据集上的实验表明,我们的方法在大多数实体类型上优于基线。许多真实世界文档表现出组合属性,这些属性可作为归纳偏置来提高抽取准确率,但现有数据集并未覆盖这些文档。为促进未来对此类文档的研究,我们发布了一个覆盖多样化模板和语言的新身份证件数据集。我们还为一个现有数据集发布了增强标注。

英文摘要:

Documents that consist of diverse templates and exhibit complex spatial structures pose a challenge for document entity classification. We propose KNN-former, which incorporates a new kind of spatial bias in attention calculation based on the K-nearest-neighbor (KNN) graph of document entities. We limit entities' attention only to their local radius defined by the KNN graph. We also use combinatorial matching to address the one-to-one mapping property that exists in many documents, where one field has only one corresponding entity. Moreover, our method is highly parameter-efficient compared to existing approaches in terms of the number of trainable parameters. Despite this, experiments across various datasets show our method outperforms baselines in most entity types. Many real-world documents exhibit combinatorial properties which can be leveraged as inductive biases to improve extraction accuracy, but existing datasets do not cover these documents. To facilitate future research into these types of documents, we release a new ID document dataset that covers diverse templates and languages. We also release enhanced annotations for an existing dataset.

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

↑