Peng Li, Hao Peng, Maosong Sun, Zhiyuan Liu, Jie Zhou, Xu Han, Yankai Lin, Tianyu Gao
We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
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.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2010.01923")
get_code_for_paper("2010.01923")
have("2010.01923")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2010.01923.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2010.01923)
Connect an agent — have() is free.