arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.13755cs.CLcs.AI
收藏

面向长句关系抽取增强的实体感知自注意力与上下文化GCN

Entity-Aware Self-Attention and Contextualized GCN for Enhanced Relation Extraction in Long Sentences

Henan Institute of Technology(河南科技学院)

Xin Wang, Xinyi Bai

AI总结:

提出ESC-GCN模型,通过融合实体感知自注意力与上下文化GCN,有效结合句法结构与语义上下文以减少依存树噪声,显著提升了长句关系抽取性能。

摘要:

关系抽取作为一项重要的自然语言处理(NLP)任务,旨在识别文本中命名实体之间的关系。近期,基于依存树的图卷积网络被广泛用于捕获句法特征,并取得了极具吸引力的性能。然而,大多数现有的基于依存树的方法忽略了依存树外词汇的积极影响,而这些词汇有时传达了对关系抽取丰富且有用的信息。在本文中,我们提出了一种新颖的模型——实体感知自注意力上下文化GCN(ESC-GCN),该模型有效地融合了输入句子的句法结构和序列的语义上下文。具体而言,相对位置自注意力获取与词位置相关的整体语义成对相关性,上下文化图卷积网络通过充分的剪枝操作捕获词与词之间丰富的句内依赖关系。此外,实体感知注意力层动态选择哪个token对做出最终关系预测更具决定性。通过这种方式,我们提出的模型不仅减少了来自依存树的噪声影响,还获得了容易被忽略的实体相关语义表示。在多种任务上的大量实验表明,与现有的基于依存树和基于序列的模型相比,我们的模型取得了令人鼓舞的性能。特别是,我们的模型在提取长句中实体之间的关系方面表现出色。

英文摘要:

Relation extraction as an important natural Language processing (NLP) task is to identify relations between named entities in text. Recently, graph convolutional networks over dependency trees have been widely used to capture syntactic features and achieved attractive performance. However, most existing dependency-based approaches ignore the positive influence of the words outside the dependency trees, sometimes conveying rich and useful information on relation extraction. In this paper, we propose a novel model, Entity-aware Self-attention Contextualized GCN (ESC-GCN), which efficiently incorporates syntactic structure of input sentences and semantic context of sequences. To be specific, relative position self-attention obtains the overall semantic pairwise correlation related to word position, and contextualized graph convolutional networks capture rich intra-sentence dependencies between words by adequately pruning operations. Furthermore, entity-aware attention layer dynamically selects which token is more decisive to make final relation prediction. In this way, our proposed model not only reduces the noisy impact from dependency trees, but also obtains easily-ignored entity-related semantic representation. Extensive experiments on various tasks demonstrate that our model achieves encouraging performance as compared to existing dependency-based and sequence-based models. Specially, our model excels in extracting relations between entities of long sentences.

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

↑