ERICA: Improving Entity and Relation Understanding for Pre-trained Language Models via Contrastive Learning
Yujia Qin, Yankai Lin, Ryuichi Takanobu, Zhiyuan Liu, Peng Li, Heng Ji, Minlie Huang, Maosong Sun, Jie Zhou
Abstract
Pre-trained Language Models (PLMs) have shown superior performance on various downstream Natural Language Processing (NLP) tasks. However, conventional pre-training objectives do not explicitly model relational facts in text, which are crucial for textual understanding. To address this issue, we propose a novel contrastive learning framework ERICA to obtain a deep understanding of the entities and their relations in text. Specifically, we define two novel pre-training tasks to better understand entities and relations: (1) the entity discrimination task to distinguish which tail entity can be inferred by the given head entity and relation; (2) the relation discrimination task to distinguish whether two relations are close or not semantically, which involves complex relational reasoning. Experimental results demonstrate that ERICA can improve typical PLMs (BERT and RoBERTa) on several language understanding tasks, including relation extraction, entity typing and question answering, especially under low-resource settings. 1 1 Our code and data are publicly available at https:// github.com/thunlp/ERICA . [1] Culiacán is a city in northwestern Mexico. [2] Culiacán is the capital of the state of Sinaloa. [3] Culiacán is also the seat of Culiacán Municipality. [4] It had an urban population of 785,800 in 2015 while 905,660 lived in the entire municipality. [5] While Culiacán Municipality has a total area of 4,758 k! ! , Culiacán itself is considerably smaller, measuring only. [6] Culiacán is a rail junction and is located on the Panamerican Highway that runs south to Guadalajara and Mexico City. [7] Culiacán is connected to the north with Los Mochis, and to the south with Mazatlán, Tepic.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
28 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Relational World Knowledge Representation in Contextual Language Models: A Review cites Pretrained Encyclopedia: Weakly Supervised Knowledge-Pretrained Language Model
- Relational World Knowledge Representation in Contextual Language Models: A Review cites LUKE: Deep Contextualized Entity Representations with Entity-aware Self-attention
- Relational World Knowledge Representation in Contextual Language Models: A Review cites K-Adapter: Infusing Knowledge into Pre-Trained Models with Adapters
- KnowLog: Knowledge Enhanced Pre-trained Language Model for Log Understanding cites Pretrained Encyclopedia: Weakly Supervised Knowledge-Pretrained Language Model
- KnowLog: Knowledge Enhanced Pre-trained Language Model for Log Understanding cites LUKE: Deep Contextualized Entity Representations with Entity-aware Self-attention
- KnowLog: Knowledge Enhanced Pre-trained Language Model for Log Understanding cites K-Adapter: Infusing Knowledge into Pre-Trained Models with Adapters
- LUKE: Deep Contextualized Entity Representations with Entity-aware Self-attention cites ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
- LUKE: Deep Contextualized Entity Representations with Entity-aware Self-attention cites Pretrained Encyclopedia: Weakly Supervised Knowledge-Pretrained Language Model
- K-Adapter: Infusing Knowledge into Pre-Trained Models with Adapters cites Pretrained Encyclopedia: Weakly Supervised Knowledge-Pretrained Language Model
Cited by top-tier papers28
- JointCL: A Joint Contrastive Learning Framework for Zero-Shot Stance DetectionBin Liang, Qinglin Zhu, Xiang Li, Min Yang et al.ACL 2022 · 117 citations
- Zero-Shot Stance Detection via Contrastive LearningBin Liang, Zixiao Chen, Lin Gui, Yulan He et al.WWW 2022 · 89 citations
- Relational World Knowledge Representation in Contextual Language Models: A ReviewTara Safavi, Danai KoutraEMNLP 2021 · 31 citations
- KnowLog: Knowledge Enhanced Pre-trained Language Model for Log UnderstandingLipeng Ma, Weidong Yang, Bo Xu, Sihang Jiang et al.ICSE 2024 · 26 citations
- Contrastive Learning with Hard Negative Entities for Entity Set ExpansionYinghui Li, Yangning Li, Yuxin He, Tianyu Yu et al.SIGIR 2022 · 22 citations
Builds on8
- ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel et al.ICLR 2020 · 7,418 citations
- LUKE: Deep Contextualized Entity Representations with Entity-aware Self-attentionIkuya Yamada, Akari Asai, Hiroyuki Shindo, Hideaki Takeda et al.EMNLP 2020 · 562 citations
- K-Adapter: Infusing Knowledge into Pre-Trained Models with AdaptersRuize Wang, Duyu Tang, Nan Duan, Zhongyu Wei et al.ACL Findings 2021 · 473 citations
- Pretrained Encyclopedia: Weakly Supervised Knowledge-Pretrained Language ModelWenhan Xiong, Jingfei Du, William Yang Wang, Veselin StoyanovICLR 2020 · 215 citations
- Learning from Context or Names? An Empirical Study on Neural Relation ExtractionHao Peng, Tianyu Gao, Xu Han, Yankai Lin et al.EMNLP 2020 · 185 citations
Related papers
- CONICA: A Contrastive Image Captioning Framework with Robust Similarity LearningLin Deng, Yuzhong Zhong, Maoning Wang, Jianwei ZhangACM MM 2023 · 4 citations
- Probing Relational Knowledge in Language Models via Word AnalogiesKiamehr Rezaee, José Camacho-ColladosEMNLP Findings 2022 · 2 citations
- Are Multilingual Models the Best Choice for Moderately Under-resourced Languages? A Comprehensive Assessment for CatalanJordi Armengol-Estapé, Casimiro Pio Carrino, Carlos Rodríguez Penagos, Ona De Gibert Bonet et al.ACL Findings 2021 · 21 citations
- Retrieval over Classification: Integrating Relation Semantics for Multimodal Relation ExtractionLei Hei, Tingjing Liao, Peiyingxin, Yiyang Qi et al.EMNLP 2025
- Compositional and Lexical Semantics in RoBERTa, BERT and DistilBERT: A Case Study on CoQAIeva Staliunaite, Ignacio IacobacciEMNLP 2020 · 2 citations
