Lifelong Event Detection with Embedding Space Separation and Compaction

Chengwei Qin, Ruirui Chen, Ruochen Zhao, Wenhan Xia, Shafiq Joty

Introduction

In the dynamic landscape of real-world information, AI models must continuously adapt to new data. Lifelong Event Detection (LED) is a critical task where a model learns to identify new event types (e.g., "protests," "mergers") sequentially. However, these models often suffer from "catastrophic forgetting," where learning new information causes them to lose previously acquired knowledge. Researchers have introduced ESCO (Embedding space Separation and COmpaction), a novel framework designed to mitigate this issue by actively managing the geometry of the model's embedding space.

The Challenge: Catastrophic Forgetting and Feature Overlap

Existing LED methods typically employ a small memory buffer to replay old examples during new training phases. Despite this, two primary obstacles remain:

  1. Feature Overlap: New event types often encroach upon the mathematical space (embedding space) occupied by older event types, leading to classification confusion.
  2. Overfitting on Memory: Due to the limited size of the memory buffer, models tend to memorize specific instances rather than learning the generalized patterns of past event categories.

The ESCO Framework

ESCO addresses these challenges through three integrated mechanisms that focus on the spatial organization of event features:

  • Embedding Space Separation: Utilizing a margin-based loss function ($L_{sim}$), ESCO enforces a "keep-away" rule. It pushes the features of new event types away from the centers (prototypes) of previously learned categories, effectively preventing feature overlap.
  • Embedding Space Compaction (Memory Calibration): To prevent overfitting on sparse memory samples, a calibration mechanism encourages replayed data to cluster tightly around their respective class prototypes. This ensures the model retains the essence of the category rather than just specific sentences.
  • Forward Knowledge Transfer: ESCO initializes parameters for new tasks using knowledge from previous ones, allowing the model to build upon existing foundations rather than starting from scratch.
t-SNE visualization illustrating the separation and compaction of event clusters in the embedding space.

Experimental Evaluation

The researchers evaluated ESCO on two standard benchmarks: ACE05 (classic information extraction) and MAVEN (large-scale general-domain event detection). Both datasets were structured into five sequential tasks, each introducing a new set of event types.

Key Results

ESCO demonstrated superior performance over the previous state-of-the-art model, EMP, across both datasets. In the MAVEN benchmark, ESCO achieved a final F1 score of 57.35%, outperforming EMP’s 54.39%. The performance gap was even more pronounced on ACE05, where ESCO reached 55.20% compared to EMP’s 47.19%.

Comparison of F1 scores across sequential tasks for ESCO and baseline models on MAVEN and ACE05.

Qualitative analysis using t-SNE visualizations confirmed that ESCO produces cleaner, more distinct clusters of event types. This spatial clarity directly correlates with the model's improved ability to distinguish between old and new event types without significant performance degradation.

Conclusion and Future Work

ESCO represents a significant step forward in lifelong learning for NLP by emphasizing the importance of embedding space geometry. While highly effective, future research could explore ESCO's performance in extreme few-shot scenarios or its integration with Large Language Models (LLMs) like Llama or GPT-4. Additionally, applying meta-learning techniques could further enhance the model's efficiency in acquiring new knowledge.

Summary updated

BibTeX
@inproceedings{qin2024lifelong,
  author = {Chengwei Qin and Ruirui Chen and Ruochen Zhao and Wenhan Xia and Shafiq Joty},
  title = {{Lifelong Event Detection with Embedding Space Separation and Compaction}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.naacl-short.50},
}
Figure