Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Towards Benchmarking and Improving the Temporal Reasoning Capability of Large Language Models

About

Reasoning about time is of fundamental importance. Many facts are time-dependent. For example, athletes change teams from time to time, and different government officials are elected periodically. Previous time-dependent question answering (QA) datasets tend to be biased in either their coverage of time spans or question types. In this paper, we introduce a comprehensive probing dataset \tempreason to evaluate the temporal reasoning capability of large language models. Our dataset includes questions of three temporal reasoning levels. In addition, we also propose a novel learning framework to improve the temporal reasoning capability of large language models, based on temporal span extraction and time-sensitive reinforcement learning. We conducted experiments in closed book QA, open book QA, and reasoning QA settings and demonstrated the effectiveness of our approach. Our code and data are released on https://github.com/DAMO-NLP-SG/TempReason.

Qingyu Tan, Hwee Tou Ng, Lidong Bing• 2023

Related benchmarks

TaskDatasetResultRank
Temporal Knowledge Graph Question AnsweringTimeQuestions (test)
Hits@1 (Overall)45.9
38
Temporal Question AnsweringTimeQA Hard
EM60.5
25
Temporal ReasoningTempReason-L2 in-domain (test)
EM31.8
20
Temporal ReasoningTempReason-L3 in-domain (test)
EM0.261
20
Temporal Question AnsweringTimeQA Easy-mode
Exact Match (EM)63.7
18
Temporal Question AnsweringTempReason OBQA-L2
EM37.4
17
Temporal Question AnsweringTempReason OBQA-L3
Exact Match (EM)33.4
17
Temporal Knowledge Graph Question AnsweringCronQuestions
Hits@1 (Overall)91.8
16
Event-Event Temporal Reasoning (L3)TEMPREASON 1.0 (test)
EM8.11e+3
12
Time-Event Temporal Reasoning (L2)TEMPREASON 1.0 (test)
EM8.48e+3
12
Showing 10 of 12 rows

Other info

Code

Follow for update