Abstract
Event relations are crucial for narrative understanding and reasoning. Governed by nuanced logic, event relation extraction (ERE) is a challenging task that demands thorough semantic understanding and rigorous logical reasoning. In this paper, we conduct an in-depth investigation to systematically explore the capability of LLMs in understanding and applying event relation logic. More in detail, we first investigate the deficiencies of LLMs in logical reasoning across different tasks. Our study reveals that LLMs are not logically consistent reasoners, which results in their suboptimal performance on tasks that need rigorous reasoning. To address this, we explore three different approaches to endow LLMs with event relation logic, and thus enable them to generate more coherent answers across various scenarios. Based on our approach, we also contribute a synthesized dataset (LLM-ERL) involving high-order reasoning for evaluation and fine-tuning. Extensive quantitative and qualitative analyses on different tasks also validate the effectiveness of our approaches and provide insights for solving practical tasks with LLMs in future work.
The Logical Inconsistency Problem in ERE
In narrative understanding, identifying the relationships between events—known as Event Relation Extraction (ERE)—is a foundational challenge. We need to know if event A caused event B, if they happened simultaneously, or if one is a subevent of the other.
While LLMs like GPT-4 are excellent at understanding the semantics of a text, they often fail at the rigorous logic governing these relations. For example, an LLM might predict that an event "caused" another while simultaneously claiming they happened "at the same time"—a logical impossibility in most causal frameworks. The authors identify that LLMs are not "logically consistent reasoners" by default, leading to suboptimal performance in scenarios requiring multi-step deduction.
Methodology: Teaching Logic to LLMs
The researchers propose a multi-pronged approach to "teach" logic to LLMs:
- Logical Inconsistency (LI) Metric: They formalize a metric to quantify how often a model's predictions violate a set of 11 core logical constraints (e.g., "If A causes B, A cannot happen after B").
- Generative-based Approach: Using Chain-of-Thought (CoT) prompting, they encourage models to explicitly state logical constraints before providing an answer.
- Retrieval-based Approach: A system that detects potential conflicts in an initial LLM response, retrieves the relevant logical rules from a predefined set, and prompts the model to "try again" with those rules in mind.
- Finetuning-based Approach: They created a new dataset, LLM-ERL, containing multi-hop reasoning chains (2 to 5 steps). They fine-tuned models like Llama-2 and Vicuna on this data to bake logical transitivity directly into the model's parameters.
Datasets
The study utilizes several established benchmarks and introduces a new one:
- MAVEN-ERE: A large-scale dataset for identifying coreference, temporal, causal, and subevent relations.
- Causal-TimeBank: A specialized dataset focused on the intersection of time and causality.
- ProofWriter & FOLIO: Datasets used to test general deductive reasoning capabilities.
- LLM-ERL (New): A synthesized dataset of 6,776 instances involving high-order (multi-hop) event reasoning based on transitive dependencies.
Key Results and Insights
- The Consistency Gap: In a pilot study, over 60% of ChatGPT's answers on the MAVEN-ERE dataset were logically inconsistent. High semantic understanding does not guarantee logical coherence.
- Performance Boost: Integrating logical constraints improved the F1 score of GPT-3.5 (Turbo) on MAVEN-ERE from 18.0% to 25.3%. GPT-4 achieved the best results when provided with all logical constraints, reaching a 37.3% F1 score on MAVEN-ERE.
- Logic as a Double-Edged Sword: Providing relevant logic significantly boosts performance, but injecting irrelevant logic introduces "noise" that can degrade results. This highlights the need for precise retrieval mechanisms.
- Consistency Gains: The retrieval-based and post-processing methods were able to reduce the Logical Inconsistency (LI) metric to near 0% in several test cases.
Conclusion
While these methods significantly improve consistency, a performance gap still exists compared to "ideal" logic integration. Future research will focus on developing more efficient ways to embed complex logical information and exploring how these event-logic techniques can be generalized to other domains like legal or medical reasoning.
Summary updated