Abstract
Document-level event extraction requires identifying entities that fill specific roles across multiple sentences, a task complicated by coreference and long-range dependencies. We present GRIT (Generative Role-filler Transformer), which frames Role-filler Entity Extraction (REE) as a sequence-to-sequence task using a single BERT model. By employing a novel partially causal masking strategy and a pointer network, GRIT extracts unique role-fillers sequentially. This approach allows the model to implicitly handle coreference and leverage cross-role dependencies. GRIT achieves state-of-the-art results on the MUC-4 dataset, demonstrating significant improvements in precision and training efficiency compared to traditional span-enumeration baselines.
Introduction
In Information Extraction (IE), traditional models often operate at the sentence level, identifying event triggers and their immediate arguments. However, real-world events are typically described across entire documents. For instance, a news report might mention a weapon in the lead paragraph but only identify the perpetrator several paragraphs later.
This paper addresses Role-filler Entity Extraction (REE), the task of identifying the specific entities that fill roles in an event template (e.g., perpetrator, weapon, target) across a whole document. REE is inherently entity-based rather than mention-based. If a document refers to a group as "two men," "they," and "Shining Path members," an ideal system should extract only one representative entity. Existing models often struggle with this, either extracting redundant mentions or failing to capture the relationships between different roles.
The GRIT Model
To overcome these challenges, the authors propose GRIT (Generative Role-filler Transformer). Unlike standard encoder-decoder architectures that use separate models, GRIT utilizes a single pre-trained BERT model to perform both encoding and decoding.
Partially Causal Masking
The key to using a single BERT model for sequence generation is a specialized attention masking strategy. In GRIT, source document tokens are allowed to attend to all other source tokens bidirectionally, functioning as a standard encoder. However, target tokens (the generated extractions) are subject to causal masking: they can attend to all source tokens but only to preceding target tokens. This ensures the model generates the extraction sequence autoregressively.
Pointer Selection and Sequential Decoding
Instead of generating text from a fixed vocabulary, GRIT uses a pointer network. The decoder calculates a dot product between its current state and the encoded representations of the source tokens to identify the start and end indices of the entity span in the original text.
Entities are extracted for roles in a fixed, predefined order, with roles separated by a [SEP] token. This sequential nature is crucial; it allows the extraction of a later role (e.g., "Weapon") to be conditioned on the context of previously extracted roles (e.g., "Perpetrator").
Experimental Setup
The model was evaluated on the MUC-4 dataset, a benchmark containing roughly 1,700 documents regarding terrorist activities. The authors also introduced a new metric, CEAF-REE, to address the limitations of mention-based evaluation. CEAF-REE uses maximum bipartite matching to align predicted entities with gold-standard entities one-to-one. This strictly penalizes models that fail to resolve coreferences and extract the same entity multiple times for a single role.
Results and Discussion
GRIT demonstrated superior performance over strong baselines, including DyGIE++ and neural sequence taggers.
- Performance and Precision: GRIT achieved a micro-average F1 score of 54.50% on the MUC-4 test set. Notably, it showed a massive gain in precision (64.19% vs. 57.04% for DyGIE++), confirming its ability to avoid redundant extractions.
- Coreference Handling: In "stress tests" on documents with many coreferent mentions, GRIT maintained a significant precision advantage, validating the hypothesis that sequential generation helps the model "remember" what it has already extracted.
- Efficiency: One of GRIT's most practical advantages is its speed. Because it avoids the exhaustive enumeration and classification of all possible text spans, it trains in under 40 minutes on a single GPU—a fraction of the 20 hours required by DyGIE++.
Conclusion
GRIT represents a shift in document-level IE by framing extraction as a generative task. By leveraging a shared BERT architecture with pointer networks and causal masking, it effectively handles the complexities of coreference and cross-role dependencies. While currently limited to single-event templates, future work aims to extend this generative approach to multi-event scenarios through template recognition.
Summary updated