Abstract
We propose P4E, an identify-and-localize event detection framework that integrates the best of few-shot prompting and structured prediction. Our framework decomposes event detection into an identification task and a localization task. For the identification task, which we formulate as multi-label classification, we leverage cloze-based prompting to align our objective with the pre-training task of language models, allowing our model to quickly adapt to new event types. We then employ an event type-agnostic sequence labeling model to localize the event trigger conditioned on the identification output. This heterogeneous model design allows P4E to quickly learn new event types without sacrificing the ability to make structured predictions. Our experiments demonstrate the effectiveness of our proposed design, and P4E shows superior performance for few-shot event detection on benchmark datasets FewEvent and MAVEN and comparable performance to SOTA for fully-supervised event detection on ACE.
Introduction
Event Detection (ED) is a fundamental task in information extraction that involves identifying "triggers"—specific words or phrases that signify an event—and classifying them into predefined types. For instance, in the sentence "The company fired the CEO," the word "fired" serves as a trigger for a Personnel:End-Position event. While modern deep learning models achieve high accuracy when provided with large-scale labeled datasets, they often falter in "few-shot" scenarios where only a handful of examples are available for a new domain or event type.
The core difficulty in few-shot ED is two-fold. First, triggers are highly context-dependent; the word "covered" might indicate a financial transaction in one sentence and a physical action in another. Second, ED is a structural prediction task, requiring the model to pinpoint a specific text span. Traditional sequence labeling architectures, such as CRFs, typically require significant amounts of data to learn these structures effectively.
The P4E Framework
To address these challenges, we introduce P4E (Prompt-Guided Identification and Localization), a novel framework that decouples the event detection process into two distinct stages: identification and localization.
1. Event Type Identification
The first stage focuses on determining what event occurred. We formulate this as a multi-label classification task using cloze-style prompting. By appending a template like "This sentence describes a [MASK] event" to the input, we leverage the pre-existing knowledge of Masked Language Models (MLMs) like BERT.
To handle sentences with multiple events or no events at all, we introduce a "NULL" verbalizer (the token none). An event type is predicted as present if its score exceeds that of the none token. Furthermore, P4E can automatically select verbalizers by ranking candidate words from the training set that best fit the mask, reducing the need for manual prompt engineering.
2. Trigger Localization
Once the event types are identified, the second stage determines where the triggers are located. We employ a Type-Agnostic Conditional Random Field (CRF) for this task. Unlike traditional models that have type-specific parameters, our CRF is shared across all event types. It takes the original sentence, a "filled prompt" (e.g., "This sentence describes a trial event"), and additional information like event definitions as input. This design allows the model to learn the general structural characteristics of triggers, enabling it to generalize to new types with minimal data.
Experimental Results
We evaluated P4E on three major benchmarks: FewEvent (a dedicated few-shot benchmark), MAVEN (a large-scale general-domain dataset), and ACE2005 (the standard for fully-supervised ED).
Few-Shot Performance
P4E demonstrates significant gains in few-shot settings. On the FewEvent dataset (10-shot), P4E achieved an F1 score of 85.50, a substantial improvement over the previous state-of-the-art (PA-CRF) at 70.69. As shown in the learning curves, P4E's 10-shot performance is comparable to a standard BERT-CRF model trained on 40 examples, representing a 75% reduction in the required human annotation effort.
Supervised and Large-Scale Performance
On the MAVEN dataset, which features 168 event types, P4E reached a 69.51 F1 score, outperforming baselines by approximately 4%. Even in fully-supervised settings on ACE+, P4E remains competitive, achieving 73.4 F1 and slightly outperforming recent SOTA models like DEGREE and Text2Event. This suggests that the identify-and-localize decomposition is a robust architectural choice regardless of data scale.
Discussion and Conclusion
The success of P4E highlights the power of decoupling semantic identification from structural localization. By using prompting for semantics and a shared structural model for localization, P4E effectively bridges the gap between pre-training objectives and the requirements of event detection.
However, limitations remain. The identification stage acts as a bottleneck; if an event type is missed initially, it cannot be localized. Future work will focus on scaling the framework to even larger ontologies and exploring document-level context to further improve identification accuracy. In summary, P4E provides a highly efficient and effective framework for adapting event detection models to new domains with minimal supervision.
Summary updated