SharpSeq: Empowering Continual Event Detection through Sharpness-Aware Sequential-task Learning

Thanh-Thien Le, Viet Dao, Linh Nguyen, Thi-Nhung Nguyen, Linh Ngo Van, Thien Huu NguyenNAACL 2024

Abstract

Continual Event Detection (CED) is a critical task in Natural Language Processing that requires models to learn new event types incrementally without losing performance on previously learned ones. This paper introduces SharpSeq, a novel framework designed to mitigate catastrophic forgetting. SharpSeq integrates Representation Generation (RG) to balance training distributions with Selective Sharpness-Aware Minimization (SAM) to identify robust, flat regions in the loss landscape. Experimental results on the MAVEN and ACE 2005 benchmarks demonstrate that SharpSeq achieves state-of-the-art performance, significantly outperforming existing baselines by leveraging latent space synthesis and multi-objective optimization.

Introduction

Event Detection (ED) involves identifying event triggers in text and classifying them into specific categories. In dynamic real-world environments, new event types emerge continuously, necessitating a Continual Event Detection (CED) approach. However, standard models suffer from catastrophic forgetting, where learning new tasks leads to a sharp decline in performance on old ones.

While replay buffers—storing a subset of old examples—are commonly used, they face two primary challenges: data imbalance between new and old samples, and optimization sensitivity, where models converge to "sharp" minima that are fragile during subsequent task adaptation. SharpSeq addresses these issues by synthesizing latent data and optimizing for flatter loss landscapes.

Methods

SharpSeq introduces three core components to the continual learning pipeline:

  1. Representation Generation (RG): Rather than generating complex natural language text, SharpSeq utilizes generative models like Gaussian Mixture Models (GMMs) or Variational Autoencoders (VAEs) to synthesize latent representations of historical events. This approach balances the training data distribution efficiently.
  2. Selective Sharpness-Aware Minimization (SAM): SAM is an optimization technique that seeks "flat minima" where small parameter perturbations do not significantly increase loss. SharpSeq employs a selective strategy, applying SAM only to the current task and knowledge transfer objectives, which prevents the introduction of noise into previously solidified knowledge.
  3. Multi-Objective Optimization (MOO): To manage the trade-off between learning new information and retaining the old, SharpSeq uses the Nash-MTL framework. This treats the various training losses as a bargaining game to find a solution that satisfies all objectives fairly.
Table 2: Performance comparison of different generative models for representation generation.

Experimental Results

The framework was evaluated on two major datasets: ACE 2005 and the large-scale MAVEN dataset. SharpSeq consistently outperformed state-of-the-art (SOTA) methods such as EMP and KT.

Performance Highlights

  • MAVEN: SharpSeq achieved a final F1 score of 60.27%, a substantial improvement over previous baselines which typically ranged between 54% and 56%.
  • ACE 2005: The model reached a final F1 score of 62.60%, surpassing the EMP baseline by over 4.5 percentage points.
Table 1: Main results on MAVEN and ACE datasets across five incremental steps.

Ablation studies confirmed the necessity of both components. Removing Representation Generation (RG) led to a performance drop, proving that synthesized data is vital for keeping the multi-objective optimizer balanced. Similarly, the selective application of SAM was found to be more effective than applying it globally.

Conclusion

SharpSeq demonstrates that finding robust, flat regions in the loss landscape is a powerful defense against catastrophic forgetting in CED. By combining latent space synthesis with selective sharpness-aware optimization, the model achieves superior retention and adaptation. Future work will focus on reducing the computational overhead associated with multi-gradient calculations and improving the quality of generated latent representations to further minimize noise sensitivity.

Summary updated

BibTeX
@inproceedings{le2024sharpseq,
  author = {Thanh-Thien Le and Viet Dao and Linh Nguyen and Thi-Nhung Nguyen and Linh Ngo Van and Thien Huu Nguyen},
  title = {{SharpSeq: Empowering Continual Event Detection through Sharpness-Aware Sequential-task Learning}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.naacl-long.200},
}
Figure