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

Text2Event: Controllable Sequence-to-Structure Generation for End-to-end Event Extraction

Yaojie Lu, Hongyu Lin, Jin Xu, Xianpei Han, Jialong Tang, Annan Li, Le Sun, Meng Liao, Shaoyi Chen

Abstract

Event Extraction (EE) has traditionally been approached as a pipeline of classification subtasks, which often suffers from error propagation and high annotation costs. We present Text2Event, a novel end-to-end framework that treats event extraction as a direct "translation" from raw text to structured data. By combining a sequence-to-structure generation model with constrained decoding and curriculum learning, Text2Event achieves state-of-the-art performance using only record-level annotations. Our results demonstrate that this generative paradigm is significantly more data-efficient and robust in transfer learning scenarios compared to traditional decomposition-based methods.

Introduction

Event Extraction (EE) aims to identify "who did what to whom, when, and where" within unstructured text. This involves identifying event triggers, classifying event types, and extracting arguments with specific roles. Traditionally, this is handled via a multi-step pipeline: first, identifying trigger words; second, recognizing entity mentions; and third, classifying the roles of these entities relative to the triggers.

This "decomposition-based" approach faces three critical challenges:

  1. Error Propagation: Failures in early stages (e.g., missing a trigger) inevitably lead to failures in subsequent argument extraction.
  2. Data Inefficiency: Most models require "fine-grained" token-level labels, where every word must be explicitly tagged with its specific role.
  3. Inflexibility: Different event schemas (e.g., "Business Merger" vs. "Personnel Attack") have distinct structures, making it difficult to design a unified architecture that handles them all gracefully.

Text2Event addresses these issues by framing EE as a sequence-to-structure generation task, mapping input text directly to a structured output in a single pass.

Methodology: The Sequence-to-Structure Paradigm

The core of Text2Event is a sequence-to-structure generation model based on the T5 transformer architecture. Instead of tagging individual tokens, the model is trained to "write out" the event structure as a linearized string.

The Text2Event framework overview, showing the flow from raw text to structured event records via a controllable sequence-to-structure network.

1. Structure Linearization

To bridge the gap between natural language and structured data, the authors convert complex event records into a linearized, bracketed format. This format preserves the hierarchical nature of events while allowing a standard sequence-to-sequence model to process them.

Comparison of event representation formats: (a) the original record, (b) the intermediate tree structure, and (c) the final linearized format used for model training.

As shown in Figure 4, a "Transport" event is represented as a nested sequence: ((Transport returned (Artifact The man) (Destination Los Angeles) (Origin Mexico))). This representation allows the model to leverage the semantic knowledge of event types and roles (e.g., "Transport", "Artifact") already present in pre-trained language models.

2. Controllable Generation via Constrained Decoding

Generative models are prone to "hallucination"—generating content that is factually incorrect or structurally invalid. To mitigate this, Text2Event employs a trie-based constrained decoding algorithm. During inference, the model's output vocabulary is dynamically restricted at each step based on the event schema and the input text. This ensures that:

  • The model only generates valid event types and roles defined in the schema.
  • Arguments are extracted directly from the source text, preventing the generation of non-existent entities.

3. Curriculum Learning

Learning to generate complex, nested structures from scratch is a difficult optimization problem. The authors utilize a two-stage curriculum learning strategy:

  • Stage 1: Substructure Learning: The model first learns to generate simple, atomic pairs such as (Event Type, Trigger) or (Role, Argument).
  • Stage 2: Full Structure Learning: Once the model masters these basic components, it is trained on the complete, nested event records.

Evaluation and Results

Text2Event was evaluated on standard benchmarks including ACE 2005-EN, ACE 2005-EN+, and ERE-EN.

Key Performance Metrics

Despite using only record-level supervision (which is "weaker" than traditional token-level tagging), Text2Event achieved competitive results:

  • ACE05-EN: F1 scores of 71.9 for trigger detection and 53.8 for argument extraction, outperforming several complex pipeline-based baselines.
  • Transfer Learning: In zero-shot and transfer settings, Text2Event showed a significant improvement (+3.7 F1 on triggers) over traditional models. This suggests that the model learns a generalized understanding of event structures rather than just memorizing specific patterns.
  • Low-Resource Robustness: The constrained decoding mechanism proved particularly effective when training data was limited (e.g., 1% or 5% of the full dataset), maintaining structural integrity where unconstrained models failed.

Conclusion

Text2Event demonstrates that event extraction can be effectively unified into a single generative task. By treating labels as natural language and enforcing structural constraints during decoding, the model achieves high performance with reduced annotation requirements. Future work will explore extending this paradigm to document-level extraction and more complex N-ary relation tasks.

Summary updated

BibTeX
@inproceedings{lu2021text,
  author = {Yaojie Lu and Hongyu Lin and Jin Xu and Xianpei Han and Jialong Tang and Annan Li and Le Sun and Meng Liao and Shaoyi Chen},
  title = {{Text2Event: Controllable Sequence-to-Structure Generation for End-to-end Event Extraction}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.acl-long.217},
}
Figure