Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
PCL-张晗 b36984aa61 | 1 year ago | |
---|---|---|
config_dir | 1 year ago | |
data | 1 year ago | |
model | 1 year ago | |
sh_dir | 1 year ago | |
KIP_frame.py | 1 year ago | |
config.py | 1 year ago | |
config_generator.py | 1 year ago | |
data_loader.py | 1 year ago | |
readme.md | 1 year ago | |
sampler.py | 1 year ago | |
utils.py | 1 year ago | |
view_log.py | 1 year ago |
Continual relation extraction (CRE) is an important task of continual learning, which aims to learn incessantly emerging new relations between entities from texts. To avoid catastrophically forgetting old relations, some existing research efforts have focused on exploring memory replayed methods by storing typical historical learned instances or embedding all observed relations as prototypes in the episodic memory and replaying them in the subsequent training process. However, they generally fail to exploit the relation knowledge contained in the pre-trained language model (PLM), which could provide enlightening information to the representations of new relations from the known ones. To this end, we investigate the CRE from a novel perspective by generating knowledge-infused relation prototypes to leverage the relational knowledge from PLM with prompt tuning. Specifically, based on the typical samples collected from the historical learned instances with K-means algorithm, we devise novel relational knowledge-infused prompts to elicit relational knowledge from PLM for generating knowledge-infused relation prototypes. Then the prototypes are used to refine the typical examples embedding and calculate the stability-plasticity balance score for adjusting the memory replayed progress. The experimental results show that our method outperforms the state-of-the-art baseline models in CRE. The further extensive analysis presents that the proposed method is robust to memory size, task order, length of the task sequence, and the number of training instances.
bash run_KIP.sh FewRel
bash run_KIP.sh TACRED
@ARTICLE{9860068,
author={Zhang, Han and Liang, Bin and Yang, Min and Wang, Hui and Xu, Ruifeng},
journal={IEEE/ACM Transactions on Audio, Speech, and Language Processing},
title={Prompt-Based Prototypical Framework for Continual Relation Extraction},
year={2022},
volume={30},
number={},
pages={2801-2813},
doi={10.1109/TASLP.2022.3199655}}
Code for KIP-Frame: "Prompt-Based Prototypical Framework for Continual Relation Extraction".
Python Shell
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》