PE-DER: a dynamic entity-relation interaction method based on multi-prompts enhancement for continual few-shot relation extraction
摘要
Continual few-shot relation extraction aims to incrementally learn new relations from limited samples while avoiding forgetting old ones. However, current methods fail to fully leverage entity information, making it difficult for the model to capture the correlation between relations and entities. This correlation becomes increasingly chaotic during continual learning process, leading to severe catastrophic forgetting. Furthermore, the challenge of overfitting caused by limited data has long hindered this task. In this paper, we propose a Dynamic Entity-Relation Interaction (DERI) module aimed at modeling the entity-relation correlation. DERI performs adaptive fusion on cross-attention of relations and entities to capture correlation of both. In this process, the fusion weights are dynamically adjusted to obtain stable entity-relation correlation and adapt to the emergence of new relations during continual learning procedure, which alleviates catastrophic forgetting. To address the issue of overfitting, we propose a Multi-Prompts Enhancement strategy that combines prompts containing different levels of information, helping the model capture relation feature from multiple dimensions. Experimental results on two public datasets show that our method outperforms other competitive baselines.