Zero- and Few-Shot Event Detection via Prompt-Based Meta Learning

Zhenrui Yue, Huimin Zeng, Mengfei Lan, Heng Ji, Dong Wang
5/27/2023
cs.CLcs.AI

No official code found. Best implementation: Yueeeeeeee/MetaEvent (17 stars, last commit 2023-06-06).

Abstract

With emerging online topics as a source for numerous new events, detecting unseen / rare event types presents an elusive challenge for existing event detection methods, where only limited data access is provided for training. To address the data scarcity problem in event detection, we propose MetaEvent, a meta learning-based framework for zero- and few-shot event detection. Specifically, we sample training tasks from existing event types and perform meta training to search for optimal parameters that quickly adapt to unseen tasks. In our framework, we propose to use the cloze-based prompt and a trigger-aware soft verbalizer to efficiently project output to unseen event types. Moreover, we design a contrastive meta objective based on maximum mean discrepancy (MMD) to learn class-separating features. As such, the proposed MetaEvent can perform zero-shot event detection by mapping features to event types without any prior knowledge. In our experiments, we demonstrate the effectiveness of MetaEvent in both zero-shot and few-shot scenarios, where the proposed method achieves state-of-the-art performance in extensive experiments on benchmark datasets FewEvent and MAVEN.

View on arXivView PDF

Code Implementations(1)

[ACL 2023] PyTorch Implementation of Zero-and Few-Shot Event Detection via Prompt-Based Meta Learning

172PythonJun 6, 20233 years ago

Similar Papers

Cite this paper

@article{yue2023zero,
  title  = {Zero- and Few-Shot Event Detection via Prompt-Based Meta Learning},
  author = {Zhenrui Yue and Huimin Zeng and Mengfei Lan and Heng Ji and Dong Wang},
  year   = {2023},
  eprint = {2305.17373},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.17373v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.17373.svg)](https://codeofpaper.com/paper/2305.17373)

Discussion