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 · DOI

Introduction

Event Detection (ED) is a fundamental task in information extraction, involving the identification and categorization of event mentions within text. For instance, in the sentence "The company fired the CEO," an ED system must recognize "fired" as a trigger for an Employment:Termination event. Traditionally, supervised learning models have dominated this field. However, these models often treat event types as arbitrary numerical labels, failing to exploit the rich semantic information inherent in event names. Consequently, they struggle with generalization to new domains or event types where labeled data is scarce (few-shot) or non-existent (zero-shot).

This paper introduces a unified framework that leverages "Type Specific Prompts" to bridge this semantic gap. By describing event types in natural language, the model can better understand the underlying concepts, leading to significant performance gains in low-resource scenarios.

Methodology: The APEX Prompt

The core of the proposed framework is the APEX prompt, a comprehensive textual description prepended to the input sentence. Unlike standard models that only process the context, this approach forces the model to attend to specific event characteristics.

The researchers explored several prompt components:

  1. Event Type Name: The basic label (e.g., "Attack").
  2. Definition: A formal description of the event.
  3. Seed Triggers: Prototypical words associated with the event (e.g., "invaded", "airstrikes").
  4. Type Structure: The expected participants or "argument roles" (e.g., "Attacker", "Target").
  5. Continuous Soft Prompt: Learnable vector parameters.

The APEX prompt integrates these elements into a single, structured string. As shown in Figure 1, the model uses a BERT-based encoder to generate contextual representations for both the prompt and the sentence. An attention mechanism then calculates the correlation between sentence tokens and prompt tokens to identify potential event triggers.

Figure 1: The APEX framework architecture and prompt construction.

Experimental Setup

The framework was evaluated on three major benchmarks: ACE05-E+, ERE (Entity Relation Event), and MAVEN. To test generalization, the datasets were split into "base" types for training and "novel" types for few-shot and zero-shot evaluation. This rigorous setup ensures that the model's ability to recognize unseen events is accurately measured.

Results and Key Insights

The APEX prompt consistently outperformed simpler prompt formats and previous state-of-the-art (SOTA) models across all evaluation settings.

Performance Gains

As detailed in Figure 4, the APEX prompt achieved a 74.9% F1 score in supervised settings on ACE05-E+. More impressively, in the few-shot setting, it reached 57.4% F1, a substantial improvement over the previous SOTA of 35.2%. In zero-shot experiments on the MAVEN dataset, the framework demonstrated a 24.3% F-score improvement, highlighting the power of semantic prompting for knowledge transfer.

Figure 4: Performance comparison of different prompt types and SOTA models on the ACE05-E+ dataset.

Why Prompting Works

Several key insights emerged from the study:

  • The "Kitchen Sink" Effect: Combining names, definitions, and triggers provides a multi-faceted view of the event, helping the model resolve ambiguities. For example, the word "get" is highly polysemous, but a comprehensive prompt for a Transport event helps the model correctly identify it as a movement trigger.
  • Hard vs. Soft Prompts: Manually crafted "hard" prompts (human-readable text) generally outperformed "soft" prompts (learned vectors). This suggests that the linguistic knowledge encoded in human language is more effective for low-resource event detection than abstract parameter tuning.
  • Structural Guidance: Including argument roles (e.g., "Victim", "Instrument") helps the model filter out false positives by ensuring the context matches the expected structure of the event.

Conclusion and Future Work

The use of Type Specific Prompts, particularly the comprehensive APEX prompt, represents a significant step forward in making Event Detection models more robust and generalizable. While the current method relies on high-quality manual definitions, future work will explore automated prompt generation using Large Language Models (LLMs) and cross-ontology mapping to further enhance the flexibility of ED systems.

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