Test of Time: A Benchmark for Evaluating LLMs on Temporal Reasoning
Bahare Fatemi, Mehran Kazemi, Anton Tsitsulin, Karishma Malkan, Jinyeong Yim, John Palowitch, Sungyong Seo, Jonathan Halcrow, Bryan Perozzi
TL;DR
This paper introduces ToT (Test of Time), a benchmark designed to rigorously evaluate LLM temporal reasoning by decoupling semantic/temporal logic from temporal arithmetic. It presents two synthetic datasets, ToT-Semantic and ToT-Arithmetic, to isolate reasoning from prior knowledge and enable controlled analyses of problem structure, size, question type, and fact ordering. Through experiments with Claude-3-Sonnet, GPT-4, and Gemini 1.5 Pro, the authors show that graph structure and prompt organization significantly affect performance, with timeline and duration tasks revealing notable weaknesses. By open-sourcing the datasets and framework, the work aims to standardize evaluation and spur further research into robust temporal reasoning in LLMs.
Abstract
Large language models (LLMs) have showcased remarkable reasoning capabilities, yet they remain susceptible to errors, particularly in temporal reasoning tasks involving complex temporal logic. Existing research has explored LLM performance on temporal reasoning using diverse datasets and benchmarks. However, these studies often rely on real-world data that LLMs may have encountered during pre-training or employ anonymization techniques that can inadvertently introduce factual inconsistencies. In this work, we address these limitations by introducing novel synthetic datasets specifically designed to assess LLM temporal reasoning abilities in various scenarios. The diversity of question types across these datasets enables systematic investigation into the impact of the problem structure, size, question type, fact order, and other factors on LLM performance. Our findings provide valuable insights into the strengths and weaknesses of current LLMs in temporal reasoning tasks. To foster further research in this area, we are open-sourcing the datasets and evaluation framework used in our experiments: https://huggingface.co/datasets/baharef/ToT.
