Abstract
Event detection is one of the fundamental tasks in information extraction and knowledge graph. However, a realistic event detection system often needs to deal with new event classes constantly. These new classes usually have only a few labeled instances as it is time-consuming and labor-intensive to annotate a large number of unlabeled instances. Therefore, this paper proposes a new task, called class-incremental few-shot event detection. Nevertheless, there are two problems (i.e., old knowledge forgetting and new class overfitting) in this task. To solve these problems, this paper further presents a novel knowledge distillation and prompt learning based method, called Prompt-KD. Specifically, to reduce the forgetting issue about old knowledge, Prompt-KD develops an attention based multi-teacher knowledge distillation framework, where the ancestor teacher model pre-trained on base classes is reused in all learning sessions, and the father teacher model derives the current student model via adaptation. On the other hand, in order to cope with the few-shot learning scenario and alleviate the corresponding new class overfitting problem, Prompt-KD is also equipped with a prompt learning mechanism. Extensive experiments on two benchmark datasets, i.e., FewEvent and MAVEN, demonstrate the state-of-the-art performance of Prompt-KD.
Introduction
Event detection (ED) involves identifying event triggers in text and categorizing them into predefined event types. While traditional ED models perform well on static datasets, real-world applications require systems that can evolve. This leads to the challenge of Class-Incremental Few-Shot Event Detection (CIFSED). In this setting, a model must learn new event classes sequentially, often with only a handful of labeled examples per class.
This task presents two primary obstacles:
- Catastrophic Forgetting: Updating a model with new data often causes it to lose its ability to recognize previously learned classes.
- New Class Overfitting: With limited "few-shot" data, models risk memorizing specific training instances instead of learning generalizable features for new event types.
The Prompt-KD Framework
To address these challenges, the authors propose Prompt-KD, a framework that integrates multi-teacher knowledge distillation with semantic prompt learning.
Attention-Based Multi-Teacher Knowledge Distillation
Prompt-KD employs a dual-teacher strategy to guide the student model ($S^m$) during each incremental learning session $m$:
- Ancestor Teacher ($T^0$): This model is pre-trained on the initial large-scale "base" dataset and remains fixed. It serves as a permanent anchor for foundational knowledge.
- Father Teacher ($T^m$): This is the student model from the previous session ($S^{m-1}$). It provides continuity for recently learned classes.
An attention mechanism dynamically computes weights for these teachers. As the number of sessions increases, the model tends to rely more on the Ancestor teacher to mitigate the cumulative effects of forgetting.
Prompt Learning with Curriculum
To handle the few-shot nature of new classes, Prompt-KD utilizes cloze prompts. By framing event detection as a fill-in-the-blank task (e.g., "This is a [mask] event. Its trigger words are [mask]."), the model leverages the semantic knowledge embedded in pre-trained language models.
The framework also introduces a three-stage curriculum for prompts. Initially, simple prompts are used. As learning progresses, the prompts become more complex, incorporating information about whether a class was part of the base set or learned in a recent incremental session. This structured approach helps the model distinguish between old and new knowledge more effectively.
Experimental Setup
The researchers evaluated Prompt-KD on two major benchmarks:
- FewEvent: A dataset with 100 event subclasses.
- MAVEN: A large-scale general domain dataset, from which 100 classes were selected.
The experimental protocol involved 50 base classes followed by 50 incremental classes introduced in batches of 5 (10 sessions) or 10 (5 sessions). Performance was measured using the F1 score.
Experimental Results
Prompt-KD was compared against several baselines, including PA-CRF-CIL and PA-CRF-Meta.
The results demonstrate that Prompt-KD consistently achieves state-of-the-art performance:
- Superior Accuracy: On FewEvent, Prompt-KD outperformed the strongest baseline by 5-8% in average F1 score.
- Enhanced Stability: While baseline models showed sharp performance declines as more sessions were added, Prompt-KD maintained a significantly more stable trajectory, proving its effectiveness in mitigating catastrophic forgetting.
- Ablation Insights: Analysis confirmed that both the Ancestor teacher and the prompt learning module are critical. The Ancestor teacher provides a vital reference point that prevents the model from drifting too far from its original training.
Conclusion
Prompt-KD effectively addresses the dual challenges of CIFSED by combining the long-term memory of an Ancestor teacher with the semantic guidance of prompt learning. While the method shows significant promise, future work may focus on automating prompt generation and reducing the computational overhead associated with maintaining multiple teacher models.
Summary updated