Mathematics (Apr 2024)

Learning Event Representations for Zero-Shot Detection via Dual-Contrastive Prompting

  • Jiaxu Li,
  • Bin Ge,
  • Hao Xu,
  • Peixin Huang,
  • Hongbin Huang

DOI
https://doi.org/10.3390/math12091372
Journal volume & issue
Vol. 12, no. 9
p. 1372

Abstract

Read online

Zero-shot event detection aims to involve the automatic discovery and classification of new events within unstructured text. Current zero-shot event detection methods have not considered addressing the problem more effectively from the perspective of improving event representations. In this paper, we propose dual-contrastive prompting (COPE) model for learning event representations to address zero-shot event detection, which leverages prompts to assist in generating event embeddings using a pretrained language model, and employs a contrastive fusion approach to capture complex interaction information between trigger representations and sentence embeddings to obtain enhanced event representations. Firstly, we introduce a sample generator to create ordered contrastive sample sequences with varying degrees of similarity for each event instance, aiding the model in better distinguishing different types of events. Secondly, we design two distinct prompts to obtain trigger representations and event sentence embeddings separately. Thirdly, we employ a contrastive fusion module, where trigger representations and event sentence embeddings interactively fuse in vector space to generate the final event representations. Experiments show that our model is more effective than the most advanced methods.

Keywords