arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.01923cs.CL
收藏

从上下文或名称中学习?神经关系抽取的实验研究

Learning from Context or Names? An Empirical Study on Neural Relation Extraction

Tsinghua University(清华大学);Tencent Inc(腾讯公司);Princeton University(普林斯顿大学)

Hao Peng, Tianyu Gao, Xu Han, Yankai Lin, Peng Li, Zhiyuan Liu, Maosong Sun, Jie Zhou

摘要:

神经模型在关系抽取(RE)基准测试中取得了显著的成功。然而,目前还没有明确的理解,哪种类型的信息影响现有的RE模型做出决策,以及如何进一步提高这些模型的性能。为此,我们实证研究了两个主要的信息源在文本中的效果:文本上下文和实体提及(名称)。我们发现,(i)虽然上下文是支持预测的主要来源,但RE模型也严重依赖于实体提及的信息,其中大部分是类型信息,以及(ii)现有数据集可能会通过实体提及泄漏浅层语义,从而有助于RE基准测试的高性能。在此基础上,我们提出了一个实体屏蔽的对比预训练框架,以避免对实体的死记硬背或在提及中使用表面线索,从而更深入地理解文本上下文和类型信息。我们进行了大量的实验来支持我们的观点,并表明我们的框架可以提高神经模型在不同RE场景中的有效性和鲁棒性。所有代码和数据集都在https://github.com/thunlp/RE-Context-or-Names上发布。

英文摘要:

Neural models have achieved remarkable success on relation extraction (RE) benchmarks. However, there is no clear understanding which type of information affects existing RE models to make decisions and how to further improve the performance of these models. To this end, we empirically study the effect of two main information sources in text: textual context and entity mentions (names). We find that (i) while context is the main source to support the predictions, RE models also heavily rely on the information from entity mentions, most of which is type information, and (ii) existing datasets may leak shallow heuristics via entity mentions and thus contribute to the high performance on RE benchmarks. Based on the analyses, we propose an entity-masked contrastive pre-training framework for RE to gain a deeper understanding on both textual context and type information while avoiding rote memorization of entities or use of superficial cues in mentions. We carry out extensive experiments to support our views, and show that our framework can improve the effectiveness and robustness of neural models in different RE scenarios. All the code and datasets are released at https://github.com/thunlp/RE-Context-or-Names.

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

↑