In this paper, we present a novel neural graph matching approach applied to document comparison. Document comparison is a common task in the legal and financial industries. In some cases, the most important differences may be the addition or omission of words, sentences, clauses, or paragraphs. However, it is a challenging task without recording or tracing whole edited process. Under many temporal uncertainties, we explore the potentiality of our approach to proximate the accurate comparison to make sure which element blocks have a relation of edition with others. In beginning, we apply a document layout analysis that combining traditional and modern technics to segment layout in blocks of various types appropriately. Then we transform this issue to a problem of layout graph matching with textual awareness. About graph matching, it is a long-studied problem with a broad range of applications. However, different from previous works focusing on visual images or structural layout, we also bring textual features into our model for adapting this domain. Specifically, based on the electronic document, we introduce an encoder to deal with the visual presentation decoding from PDF. Additionally, because the modifications can cause the inconsistency of document layout analysis between modified documents and the blocks can be merged and split, Sinkhorn divergence is adopted in our graph neural approach, which tries to overcome both these issues with many-to-many block matching. We demonstrate this on two categories of layouts, as follows., legal agreement and scientific articles, collected from our real-case datasets.
翻译:在本文中,我们展示了用于文档比较的新型神经图表匹配方法。文档比较是法律和金融行业的一个共同任务。在某些情况下,最重要的差异可能是文字、句、条款或段落的添加或遗漏。然而,这是一项艰巨的任务,没有记录或跟踪整个编辑过程。然而,在很多时间不确定的情况下,我们探索了我们接近准确比较的方法的可能性,以确保哪个元素块与其它元素的版本有关系。一开始,我们应用了一种文件布局分析,将传统和现代技术与各种类型区块的区块布局适当地结合起来。然后,我们将这一问题转换成布局图与文本意识相匹配的问题。关于图形匹配,这是一个长期研究的问题,涉及广泛的应用程序。然而,与以往侧重于视觉图像或结构布局的工作不同,我们还将文字特征引入了我们用于调整这个域的模型。具体基于电子文件,我们引入了一种编码,以处理从PDFD的视觉显示解码。此外,由于我们修改的文件布局分析会造成文件布局与布局问题之间的不一致,关于图形匹配的问题是一个长期的难题,我们通过两种格式的方式可以进行合并和分解。