LTLBench: Towards Benchmarks for Evaluating Temporal Reasoning in Large Language Models

Weizhi Tang, Kwabena Nuamah, Vaishak Belle
7/7/2024
cs.CLcs.AI

No official code found. Best implementation: RutaTang/LTLBench (2 stars, last commit 2026-01-05).

Abstract

Temporal Reasoning (TR) is a critical ability for LLMs to understand and reason over temporal information and relationships between events. To study the TR ability in LLMs, prior works provide different ways for evaluating various aspects of TR ability. In this work, we propose an alternative perspective for evaluating TR ability by leveraging Linear Temporal Logic (LTL), and develop a pipeline to automatically synthesize challenges for assessing the TR ability of LLMs. Based on this pipeline, we construct a dataset, namely LTLBench, consisting of $2000$ TR challenges, and benchmark 12 LLMs across 5 different methods. Furthermore, we conduct additional experiments to investigate the impact of increasing the number of formula operators and events on both LLM performance and the complexity of TR problems. We also perform qualitative analyses of their reasoning processes and the effects of varying the number of events and formula operators, which reveal 3 main issues in their temporal reasoning processes and the unexpected performance changes observed as problem complexity increases. We expect this work to provide valuable insights into the TR ability of LLMs.

View on arXivView PDF

Code Implementations(1)

RutaTang/LTLBenchCommunity100%

A Pipeline for Constructing Complex Temporal Reasoning Challenges

21Python, Jupyter NotebookJun 19, 20249 months ago

Similar Papers

Cite this paper

@article{tang2024ltlbench,
  title  = {LTLBench: Towards Benchmarks for Evaluating Temporal Reasoning in Large Language Models},
  author = {Weizhi Tang and Kwabena Nuamah and Vaishak Belle},
  year   = {2024},
  eprint = {2407.05434},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.05434v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.05434.svg)](https://codeofpaper.com/paper/2407.05434)

Discussion