Entities and events have long been regarded as the crux of machine reasoning. Specifically, procedural texts have received increasing attention due to the dynamic nature of involved entities and events. Existing work has exclusively focused on entity state tracking (e.g., the temperature of a pan) or counterfactual event reasoning (e.g., how likely am I to burn myself by touching the pan), while these two tasks are tightly intertwined. In this work, we propose CREPE, the first benchmark on causal reasoning about event plausibility based on entity states. We experiment with strong large language models and show that most models including GPT3 perform close to chance of .30 F1, lagging far behind the human performance of .87 F1. Inspired by the finding that structured representations such as programming languages benefits event reasoning as a prompt to code language models such as Codex, we creatively inject the causal relations between entities and events through intermediate variables and boost the performance to .67 to .72 F1. Our proposed event representation not only allows for knowledge injection, but also marks the first successful attempt of chain-of-thought reasoning with code language models.
翻译:长期以来,实体和事件一直被视为机器推理的支柱。具体地说,由于所涉实体和事件的动态性质,程序文本日益受到越来越多的关注;现有工作完全侧重于实体国家跟踪(例如锅的温度)或反事实事件推理(例如,我通过触摸锅可能烧伤自己),而这两项任务则紧密交织在一起。在这项工作中,我们提议CREPE,这是基于实体国家的关于事件合理性的因果关系推理的第一个基准。我们试验了强大的大型语言模型,并表明包括GPT3在内的大多数模型都近于30F1的机会,远远落后于0.87 F1的人类表现。 受到以下结论的启发,即诸如编程语言事件等结构化的表述有利于迅速编程语言模型,例如代码代码x,我们创造性地通过中间变量引导实体和事件之间的因果关系,并将业绩提高到.67至.72 F1。我们提议的活动介绍不仅允许知识注入,而且标志着首次成功地尝试用代码模型进行连锁推理。