Abstract
Few-shot Continual Event Detection (FCED) requires models to learn new event types from minimal examples while retaining knowledge of previously learned tasks. Current approaches often suffer from catastrophic forgetting or struggle with data scarcity. We present LEAF (Low-rank Experts for Adaptive FCED), a framework that combines modular Low-Rank Adaptation (LoRA) experts with semantic-aware routing and LLM-enhanced label descriptions. LEAF achieves state-of-the-art performance on the MAVEN and ACE-2005 benchmarks, significantly reducing forgetting while excelling in low-resource scenarios.
Introduction
Event Detection (ED) is the task of identifying and classifying specific occurrences within text. In dynamic environments, new event types emerge constantly, necessitating a continual learning approach. However, this introduces two primary challenges: catastrophic forgetting, where learning new tasks degrades performance on old ones, and data scarcity, where new events must be learned from as few as 5 or 10 examples (few-shot learning).
Existing methods typically rely on full fine-tuning, which causes parameter interference, or aggressive data augmentation, which can introduce semantic noise. LEAF addresses these issues by isolating task-specific knowledge into modular "experts" and leveraging global semantic information to guide the learning process.
The LEAF Framework
LEAF introduces a novel architecture that integrates modularity with semantic supervision. The framework consists of three primary components: Adaptive LoRA Experts, Semantic-Aware Routing, and Contrastive Learning with Label Descriptions.
Adaptive LoRA Experts and Routing
Instead of updating the entire backbone model, LEAF utilizes a pool of trainable Low-Rank Adaptation (LoRA) matrices, referred to as "experts." This modularity ensures that knowledge for different event types is compartmentalized, preventing new tasks from corrupting the parameters used for prior knowledge.
As shown in Figure 1, LEAF employs a Semantic-Aware Router. Unlike traditional Mixture-of-Experts (MoE) models that route at the token level, LEAF uses the [CLS] token from a frozen BERT model to capture the entire sentence context. This instance-level routing selects the top-$K$ most relevant experts for each input, ensuring that the model leverages the most appropriate specialized knowledge for a given context.
Semantic Supervision and Distillation
To combat data scarcity, LEAF incorporates Label Descriptions generated by Gemini 2.0. These descriptions provide high-level semantic definitions for each event type. A contrastive loss is used to align sentence representations with these semantic anchors, helping the model generalize from very few examples.
To further mitigate forgetting, LEAF employs Two-Level Knowledge Distillation:
- Feature-level distillation: Ensures internal representations remain consistent with previous model versions.
- Prediction-level distillation: Preserves the probability distributions for previously learned classes, even when training on new tasks.
Experimental Results
LEAF was evaluated on two major benchmarks, MAVEN (168 event types) and ACE-2005 (33 event types), using 5-shot and 10-shot configurations.
- MAVEN: LEAF outperformed the previous state-of-the-art (HANet) by over 1% in F1-score and surpassed standard continual learning baselines by more than 10%.
- ACE-2005: The framework showed even stronger gains, outperforming HANet by 6% in the 5-shot setting.
Ablation studies confirmed that all components—LoRA experts, distillation, and label descriptions—are essential for performance. Removing any single element resulted in a significant drop in F1-score, highlighting the synergy between modularity and semantic guidance.
Conclusion and Future Work
LEAF demonstrates that combining modular parameter-efficient fine-tuning with semantic-aware routing is a powerful strategy for few-shot continual learning. While the current two-stage routing process introduces some computational overhead, the gains in robustness and accuracy are substantial. Future research will focus on making the routing process more efficient and exploring the scalability of expert pools for even larger task sequences.
Summary updated