Meta-Learning with Dynamic-Memory-Based Prototypical Network for Few-Shot Event Detection

Shumin Deng, Ningyu Zhang, Jiaojian Kang, Yichi Zhang, Wei Zhang, Huajun ChenWSDM 2019 · DOI

Abstract

Event detection (ED), a sub-task of event extraction, involves identifying triggers and categorizing event mentions. Existing methods primarily rely upon supervised learning and require large-scale labeled event datasets which are unfortunately not readily available in many real-life applications. In this paper, we consider and reformulate the ED task with limited labeled data as a Few-Shot Learning problem. We propose a Dynamic-Memory-Based Prototypical Network (DMB-PN), which exploits Dynamic Memory Network (DMN) to not only learn better prototypes for event types, but also produce more robust sentence encodings for event mentions. Differing from vanilla prototypical networks simply computing event prototypes by averaging, which only consume event mentions once, our model is more robust and is capable of distilling contextual information from event mentions for multiple times due to the multi-hop mechanism of DMNs. The experiments show that DMB-PN not only deals with sample scarcity better than a series of baseline models but also performs more robustly when the variety of event types is relatively large and the instance quantity is extremely small.

TL;DR

The authors introduce the Dynamic-Memory-Based Prototypical Network (DMB-PN) to tackle event detection when labeled data is scarce. By integrating a multi-hop Dynamic Memory Network into a prototypical learning framework, the model can "reason" over limited examples to distill robust contextual information, significantly outperforming standard few-shot learning baselines.

What Problem Does This Paper Address?

Event Detection (ED) is the task of identifying "triggers" (the words that signify an event, like "married" for a Marry event) and categorizing them into specific types. Traditional models are data-hungry, requiring thousands of labeled examples to perform well.

However, in the real world, new event types emerge constantly, and many existing types are naturally rare. For instance, in the widely used ACE-2005 dataset, roughly 25% of event types have fewer than 20 examples. This creates a "few-shot" challenge: how can a model learn to recognize a new event type after seeing only a handful of examples? Standard few-shot techniques often struggle with linguistic noise, where simple averaging of examples (the standard Prototypical Network approach) fails to capture the nuanced context needed for accurate detection.

Methods

The core innovation is the DMB-PN framework, which breaks the problem into two sub-tasks: Trigger Identification (TI) and Few-Shot Event Classification (EC).

The overall architecture of DMB-PN, showing the flow from sentence encoding to trigger identification and final classification using memory-augmented prototypes.
  1. Dynamic Memory Network (DMN) Integration: Instead of encoding a sentence once, the model uses a DMN with a "multi-hop" mechanism. It treats the trigger word as a "question" and the sentence as "facts." By iterating over the facts multiple times, the model progressively filters out irrelevant words and focuses on the context that defines the event.
  2. Prototypical Learning: The model maps event mentions into a high-dimensional space to calculate a "prototype" (a representative vector) for each event type. Classification is performed by finding the prototype closest to a new, unseen sentence.
  3. Memory-Based Prototypes: Unlike vanilla Prototypical Networks that average examples in a support set, DMB-PN uses the memory module to interactively refine these prototypes, making them more robust to diverse phrasing and outliers.

Datasets and Evaluation

The authors introduced FewEvent, a large-scale benchmark specifically tailored for few-shot learning. It contains 70,852 instances covering 100 event subtypes, built by scaling up ACE-2005 and TAC-KBP 2017 data and augmenting it with automatically labeled data from Freebase and Wikipedia. Evaluation was conducted using standard N-way K-shot settings.

Key Results and Insights

The DMB-PN model consistently outperformed 12 different baseline combinations (using encoders like CNN, Bi-LSTM, and Self-Attention paired with Matching or Prototypical Networks).

Performance comparison of DMB-PN against various baselines across different N-way settings for both 5-shot and 15-shot scenarios.
  • Quantitative Performance: In a 5-way 5-shot setting, DMB-PN achieved an accuracy of 73.86%, a significant jump over the CNN-based Matching Network baseline (~60.04%).
  • Scalability and Robustness: As shown in Figure 5, DMB-PN maintains a significant lead over baselines as the number of event types (N-way) increases, confirming that its memory-refined prototypes are more discriminative.
  • Multi-hop Advantage: The multi-hop memory allows the model to "re-read" the sentence with the trigger in mind, effectively distilling scattered contextual information that single-pass encoders might miss.

Limitations and Future Work

While DMB-PN performs well at the sentence level, the authors suggest that future work could incorporate entity-level context (relationships between people, places, and objects) to further refine detection. Additionally, they plan to apply this memory-augmented prototypical approach to other few-shot NLP tasks, such as Relation Extraction.

Summary updated

BibTeX
@inproceedings{deng2019meta,
  author = {Shumin Deng and Ningyu Zhang and Jiaojian Kang and Yichi Zhang and Wei Zhang and Huajun Chen},
  title = {{Meta-Learning with Dynamic-Memory-Based Prototypical Network for Few-Shot Event Detection}},
  booktitle = {WSDM},
  year = {2019},
  doi = {10.1145/3336191.3371796},
}
Figure