Abstract
Entities and events are crucial to natural language reasoning and common in procedural texts. Existing work has focused either exclusively on entity state tracking (e.g., whether a pan is hot) or on event reasoning (e.g., whether one would burn themselves by touching the pan), while these two tasks are often causally related. We propose CREPE, the first benchmark on causal reasoning of event plausibility and entity states. We show that most language models, including GPT-3, perform close to chance at .35 F1, lagging far behind human at .87 F1. We boost model performance to .59 F1 by creatively representing events as programming languages while prompting language models pretrained on code. By injecting the causal relations between entities and events as intermediate reasoning steps in our representation, we further boost the performance to .67 F1. Our findings indicate not only the challenge that CREPE brings for language models, but also the efficacy of code-like prompting combined with chain-of-thought prompting for multihop event reasoning.
Introduction
Understanding procedural text—such as recipes, "how-to" guides, or scientific protocols—requires more than just following a sequence of steps. It necessitates an internal model of how the world changes in response to actions. For instance, if a chef adds water to a pan of hot oil, a "sizzling sound" becomes highly probable. Conversely, if the pan is cold, that event is unlikely.
Historically, Natural Language Processing (NLP) research has treated these dynamics in isolation, focusing either on Entity State Tracking (e.g., "Is the pan hot?") or Event Reasoning (e.g., "Is a sizzling sound likely?"). However, these two domains are fundamentally linked by causality. This paper introduces CREPE (Causal Reasoning of Entities and Events), a benchmark designed to bridge this gap by requiring models to reason about entity states as intermediate steps toward predicting event outcomes.
The CREPE Benchmark
The CREPE benchmark is designed to evaluate a model's ability to navigate the causal links between actions and outcomes. The dataset consists of:
- 183 procedures containing 1,219 individual steps.
- 324 annotated changes in event likelihood.
- Causal Tuples: Each event change is explicitly paired with a (entity, attribute, change) tuple that explains the underlying cause.
- Diverse Domains: The dataset spans household chores, technology, sports, and culinary arts.
To ensure high quality and minimize distribution bias, the development set was created by the authors, while the test set was annotated by university students.
Methodology: Code as a Reasoning Scaffold
Standard Large Language Models (LLMs) often struggle with the "multihop" reasoning required for procedural understanding, particularly when environment configurations are implicit. To address this, the researchers explored three primary strategies:
1. Code-like Representation
Instead of standard natural language prompts, procedures were represented as Python classes. In this framework, procedural steps are treated as member functions, and hypothetical events are represented as object attributes (e.g., self.event0.change = "more likely"). This approach leverages the structured logic inherent in models like Codex, which are pretrained on code and naturally handle state transitions better than raw text.
2. Chain-of-Thought (CoT) Prompting
The researchers implemented a causal bridge by prompting the model to first predict the change in an entity’s attribute (the "cause") before predicting the change in the event’s likelihood (the "effect"). This forces the model to acknowledge the physical state of the world before making a prediction about an event.
3. Entity Representation
The study compared "soft" entity representations (simple string descriptions) against "hard" representations (explicit variable assignments within the Python class) to determine how structured the internal state needs to be for effective reasoning.
Results and Discussion
The experimental results highlight a significant "reasoning gap" in current AI models:
- Baseline Performance: Random and majority-class baselines hover around .29 - .30 F1.
- Standard LLMs: GPT-3 and ChatGPT achieved scores between .42 and .47 F1, demonstrating that standard text-based prompting is insufficient for complex causal logic.
- The Power of Code: Simply switching to a Python-style prompt boosted Codex's performance to .59 F1.
- Causal Integration: By combining the code-like representation with CoT prompting for entity states, the authors achieved a peak performance of .67 F1.
Despite these improvements, human performance remains significantly higher at .87 F1. This suggests that while representing logic as code provides a powerful scaffold, current models still struggle with the implicit inferences required to understand how actions transform the physical world.
Conclusion
The CREPE benchmark reveals that standard LLMs are often "blind" to the causal dynamics of procedural text. However, by representing instructions as structured code and utilizing Chain-of-Thought reasoning to track entity states, model performance can be significantly improved. Future work will look toward scaling the dataset and exploring more complex logic, such as first-order logic, to further close the gap between machine and human reasoning in dynamic environments.
Summary updated