NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

The Art of Prompting: Event Detection based on Type Specific Prompts

Sijia Wang, Mo Yu, Lifu Huang

Abstract

This paper introduces a unified framework for Event Detection (ED) that leverages type-specific prompts to bridge the gap between supervised, few-shot, and zero-shot learning. The authors demonstrate that a manually crafted, comprehensive prompt—dubbed the APEX prompt—which combines event names, definitions, and seed triggers, significantly outperforms existing methods. The proposed approach yields substantial F1-score improvements, particularly in low-resource settings, such as a 19.7% absolute gain in zero-shot scenarios on the MAVEN dataset.

Introduction

Event Detection (ED) is a fundamental task in information extraction, involving the identification of "event triggers" (words describing an event) and their categorization into specific types. For instance, in the sentence "He was fired yesterday," the word "fired" must be identified as a trigger for an End-Position event. Traditionally, ED models rely on extensive human-annotated data, which limits their generalizability to new domains or languages where data is scarce (few-shot) or non-existent (zero-shot).

While prompting has emerged as a technique to provide models with semantic hints, a systematic understanding of the optimal prompt structure for ED has been lacking. This research addresses three key questions: How does prompt choice impact performance across different data regimes? What is the most effective form for an ED prompt? And how can these prompts be integrated into a single, unified model?

Methodology: The Unified Framework

The authors developed a unified framework based on a pre-trained BERT encoder. Instead of processing a sentence in isolation, the model concatenates the input context with a type-specific prompt.

The unified framework architecture and the components of an Event Type Prompt.

The framework operates through several key stages:

  1. Prompt-Sentence Interaction: An attention mechanism is applied over the prompt tokens to generate an "event type aware" representation for every word in the input sentence.
  2. Binary Classification: For each word, the model performs a binary classification to determine if it serves as a trigger for the event type specified in the prompt.
  3. Prompt Engineering: The study evaluates six prompt variations, ranging from simple event names and definitions to prototype seed triggers and event structures (argument roles). The most effective is the APEX prompt, a comprehensive description merging names, triggers, and definitions into a single coherent string.

Experimental Setup

The framework was evaluated on three major public benchmarks: ACE05-E+, ERE (Entity Relation Event), and MAVEN. These datasets were tested across three distinct settings:

  • Supervised (SED): Abundant training data available.
  • Few-shot (FSED): Only 10 examples per event type.
  • Zero-shot (ZSED): No training examples for novel event types.

Key Results and Insights

The APEX prompt consistently achieved state-of-the-art (SOTA) results across nearly all categories and datasets.

Performance comparison on the MAVEN dataset across supervised, few-shot, and zero-shot settings.

Key findings include:

  • The APEX Advantage: By providing multiple semantic "hooks," the APEX prompt makes the model more robust. In the zero-shot setting on MAVEN, it achieved a 59.9% F1-score, a nearly 20% absolute improvement over the previous SOTA.
  • Disambiguation Capabilities: APEX prompts are particularly effective at resolving homonyms. For example, the word "get" can be correctly identified as a trigger for a Transaction event when paired with a descriptive prompt.
  • Knowledge vs. Learning: Interestingly, "Soft Prompts" (learnable vectors) underperformed compared to human-readable prompts. This suggests that explicit, human-encoded prior knowledge is more valuable for ED than abstract learnable parameters.
  • Structural Clues: "Structure" prompts, which list argument roles like 'victim' or 'target', were found to be uniquely helpful for specific event types like Life:Injure, where contextual roles are critical identifiers.

Conclusion and Future Work

While the APEX prompt significantly advances the state of the art, the authors acknowledge certain limitations. The quality of the underlying event ontology remains a bottleneck; poorly defined categories are difficult to capture even with high-quality prompts. Additionally, the manual curation of APEX prompts, while efficient (averaging under 20 tokens), still requires human effort.

Future research directions include using Large Language Models (LLMs) or automated mining techniques to generate these comprehensive descriptions from annotation guidelines, potentially eliminating the need for manual prompt engineering while maintaining high performance.

Summary updated

BibTeX
@inproceedings{wang2023art,
  author = {Sijia Wang and Mo Yu and Lifu Huang},
  title = {{The Art of Prompting: Event Detection based on Type Specific Prompts}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.acl-short.111},
}
Figure