Serial Contrastive Knowledge Distillation for Continual Few-shot Relation Extraction

Xinyi Wang, Zitao Wang, Wei Hu
5/11/2023
cs.CL

No official code found. Best implementation: nju-websoft/SCKD (14 stars, GPL-3.0, last commit 2023-05-12).

Abstract

Continual few-shot relation extraction (RE) aims to continuously train a model for new relations with few labeled training data, of which the major challenges are the catastrophic forgetting of old relations and the overfitting caused by data sparsity. In this paper, we propose a new model, namely SCKD, to accomplish the continual few-shot RE task. Specifically, we design serial knowledge distillation to preserve the prior knowledge from previous models and conduct contrastive learning with pseudo samples to keep the representations of samples in different relations sufficiently distinguishable. Our experiments on two benchmark datasets validate the effectiveness of SCKD for continual few-shot RE and its superiority in knowledge transfer and memory utilization over state-of-the-art models.

View on arXivView PDF

Code Implementations(1)

nju-websoft/SCKDCommunity100%
GPL-3.0

Serial Contrastive Knowledge Distillation for Continual Few-shot Relation Extraction, Findings of ACL 2023

142PythonMay 5, 20233 years agoGPL-3.0

Cite this paper

@article{wang2023serial,
  title  = {Serial Contrastive Knowledge Distillation for Continual Few-shot Relation Extraction},
  author = {Xinyi Wang and Zitao Wang and Wei Hu},
  year   = {2023},
  eprint = {2305.06616},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.06616v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.06616.svg)](https://codeofpaper.com/paper/2305.06616)

Discussion