Entity types and textual context are essential properties for sentence-level relation extraction (RE). Existing work only encodes these properties within individual instances, which limits the performance of RE given the insufficient features in a single sentence. In contrast, we model these properties from the whole dataset and use the dataset-level information to enrich the semantics of every instance. We propose the GRAPHCACHE (Graph Neural Network as Caching) module, that propagates the features across sentences to learn better representations for RE. GRAPHCACHE aggregates the features from sentences in the whole dataset to learn global representations of properties, and use them to augment the local features within individual sentences. The global property features act as dataset-level prior knowledge for RE, and a complement to the sentence-level features. Inspired by the classical caching technique in computer systems, we develop GRAPHCACHE to update the property representations in an online manner. Overall, GRAPHCACHE yields significant effectiveness gains on RE and enables efficient message passing across all sentences in the dataset.
翻译:实体类型和文字背景是判决一级关系提取(RE)的基本属性。现有工作仅在个别情况下对这些属性进行编码,这限制了RE的性能,因为单个句子的功能不足。相反,我们从整个数据集中模拟这些属性,并使用数据集级信息来丰富每个实例的语义。我们提议GRAPCHACACCHE(GRAPHCACHE)模块,在各句中宣传这些特征,以学习RE更好的表述。GRAPHCACCHE将整个数据集中各句子的特征汇总起来,以学习属性的全球表述,并利用这些特征来增强单个句子中的本地特征。全球属性特征作为数据集级先前的RE级知识,是对判决级特征的补充。在计算机系统中经典的缓冲技术的启发下,我们开发GAPHCACECHE(GAPCHE)模块,以在线方式更新财产表述。总的来说,GRAPHCACCHE在RE上取得了显著的效益收益,并能够有效地传递到数据集中的所有句子。