Introduction
Event Relation Extraction (ERE) is a critical task in natural language processing that involves identifying various relationships between events, such as causality, temporal ordering, coreference, and sub-event structures. Despite its importance, existing approaches face a trade-off between flexibility and efficiency. Classification-based models are often rigid and schema-dependent, while standard instruction-based Large Language Models (LLMs) suffer from $O(n^2)$ inference complexity, requiring a query for every possible event pair in a document.
The MAQInstruct Framework
To address these challenges, we introduce MAQInstruct, a framework that reframes ERE as a multiple-answer selection problem. This shift reduces the inference complexity from $O(n^2)$ to $O(n)$ by asking the model to list all events related to a specific anchor event via a given relation type.
Bipartite Matching Loss
A significant hurdle in training LLMs for list-based extraction is their sensitivity to output order. Standard Cross-Entropy loss penalizes models for generating correct answers in a different sequence than the ground truth. MAQInstruct implements a Bipartite Matching Loss using the Hungarian Algorithm to find the optimal match between predicted and target event sets. This ensures the model focuses on relational logic rather than rote sequence memorization.
Dependency Parsing Chain
To further enhance reasoning, MAQInstruct incorporates a "dependency parsing chain." Before predicting relations, the model is trained to output a syntactic path showing the grammatical links between events. This structural scaffold acts as a "Chain of Thought," helping the LLM navigate complex sentence structures before committing to a relational judgment.
Key Results
The framework was evaluated on four major ERE benchmarks: MAVEN-ERE (unified), HiEve (hierarchical), MATRES (temporal), and MECI (causal). MAQInstruct achieves state-of-the-art performance across multiple base models, including Llama2, Qwen, and ChatGLM3.
Beyond accuracy, the framework offers a massive efficiency gain. On the MAVEN-ERE dataset, MAQInstruct demonstrated an inference speed 32.5 times faster than previous instruction-based methods like InstructERE. The model also showed strong zero-shot generalization, outperforming base LLMs like GPT-4 in identifying complex event hierarchies without specific training. Ablation studies confirmed the necessity of its core components; removing the bipartite matching loss or the dependency chain resulted in significant F1 score drops (up to 5.14% in causal tasks).
Limitations and Future Work
While highly effective, MAQInstruct currently relies on external dependency parsers (like Stanford CoreNLP) for training, which can introduce errors. Additionally, the current implementation focuses primarily on sentence-level relations. Future research will explore capturing more complex, document-level discourse structures and distilling the knowledge of these LLMs into smaller, even faster encoders.
Summary updated