Entity, Relation, and Event Extraction with Contextualized Span Representations

David Wadden, Ulme Wennberg, Yi Luan, Hannaneh Hajishirzi

Abstract

We examine the capabilities of a unified, multi-task framework for three information extraction tasks: named entity recognition, relation extraction, and event extraction. Our framework (called DyGIE++) accomplishes all tasks by enumerating, refining, and scoring text spans designed to capture local (within-sentence) and global (cross-sentence) context. Our framework achieves state-of-the-art results across all tasks, on four datasets from a variety of domains. We perform experiments comparing different techniques to construct span representations. Contextualized embeddings like BERT perform well at capturing relationships among entities in the same or adjacent sentences, while dynamic span graph updates model long-range cross-sentence relationships. For instance, propagating span representations via predicted coreference links can enable the model to disambiguate challenging entity mentions.

Introduction

Information Extraction (IE) is the critical process of transforming unstructured text into structured data. Traditionally, this involves three distinct sub-tasks: Named Entity Recognition (NER), Relation Extraction, and Event Extraction. These tasks are deeply interdependent; for example, identifying that two spans are coreferent or that a span serves as an argument in an event can clarify its entity type.

Most previous systems relied on rigid pipelines where errors in early stages propagated downstream, or they struggled to incorporate "global context"—information residing in sentences far from the current mention. To address these challenges, we introduce DYGIE++, a unified multi-task framework that extracts entities, relations, and events by combining BERT-based contextualized embeddings with dynamic graph propagation.

Methodology

DYGIE++ treats IE as a span-based labeling problem, considering all possible sequences of words (spans) up to a maximum length. The architecture consists of four primary stages:

  1. Token Encoding: The model utilizes BERT to generate initial word representations. A sliding window approach is employed, feeding BERT the target sentence along with its neighbors to capture immediate cross-sentence context.
  2. Span Enumeration: Representations for every possible text span are created by concatenating the embeddings of the span's endpoints with a learned width feature.
  3. Span Graph Propagation: This core innovation builds a dynamic graph where spans are nodes. Information is propagated along three types of edges: Coreference (linking spans referring to the same entity), Relation (linking entities within a sentence), and Event (linking triggers to potential arguments). This allows a span's representation to be refined by its neighbors.
  4. Multi-task Classification: Refined representations are passed to simple feed-forward neural networks to predict entity types, relations, and event roles simultaneously.
The DYGIE++ architecture overview, showing the flow from BERT encoding to multi-task graph propagation.

Experimental Setup and Datasets

The model was evaluated on four datasets representing diverse linguistic styles and domains:

  • ACE05: General IE benchmark (news, weblogs).
  • SciERC: 500 abstracts from AI papers, focusing on scientific entities.
  • GENIA: Biomedical research literature.
  • WLPC: Wet lab protocols (step-by-step instructions).

Results and Discussion

DYGIE++ achieved state-of-the-art (SOTA) results on nearly every task across all four datasets, with relative error reductions ranging from 0.2% to 27.9% compared to previous best-in-class models.

Comparison of DYGIE++ (Ours) against previous SOTA models across four benchmark datasets.

Key Insights

  • The Coreference Bridge: Coreference propagation proved highly effective. For example, if the model encounters an acronym like "CCRs" in one sentence, it can "borrow" confidence from a full mention like "Category Cooccurrence Restrictions" elsewhere in the document to ensure correct labeling.
  • Local vs. Global Context: While BERT is excellent at capturing local context (within 1-3 sentences), dynamic graph propagation is superior at capturing structural, long-range dependencies.
  • Domain Adaptation: For scientific tasks, utilizing SciBERT (pre-trained on scientific corpora) provided a significant performance boost over standard BERT, highlighting the importance of domain-specific pre-training.

Conclusion and Future Work

While DYGIE++ sets a new standard for unified IE, some components offer room for improvement. Specifically, the "event propagation" mechanism did not provide the same clear boost as coreference or relation propagation, likely due to the inherent asymmetry between triggers and arguments. Future work will explore more sophisticated higher-order modeling for events and attempt to reduce the computational intensity required for fine-tuning the full BERT-based architecture. The code is publicly available to facilitate adaptation to new tasks and datasets.

Summary updated

BibTeX
@inproceedings{wadden2019entity,
  author = {David Wadden and Ulme Wennberg and Yi Luan and Hannaneh Hajishirzi},
  title = {{Entity, Relation, and Event Extraction with Contextualized Span Representations}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2019},
  url = {https://openreview.net/forum?id=hLqI1ze-HI_},
}
Figure