Bridging Time Gaps: Temporal Logic Relations for Enhancing Temporal Reasoning in Large Language Models
The understanding and cognition of time are the basis for large language models to understand the world. Although large language models (LLMs) have demonstrated strong capabilities in multiple reasoning tasks, they still have significant deficiencies in temporal reasoning, mainly due to the diversity of temporal expressions and the lack of temporal logic reasoning capabilities. In this study, we propose a novel Temporal Chain of Thought framework(TempCoT) to improve the performance of LLM in temporal reasoning tasks through a three-stage reasoning strategy. First, TempCoT explicitly extracts time constraints to ensure the accuracy of time references during reasoning. Second, a semantic retrieval mechanism is introduced to dynamically obtain key temporal facts to enhance the integrity and reliability of information. Finally, an explicit temporal logic reasoning module is constructed based on point algebra to improve the consistency and interpretability of reasoning. Experimental results show that TempCoT significantly improves the temporal reasoning performance of five different LLMs and shows stronger robustness on complex temporal tasks.
Authors
- B. Wang (ORCID: https://orcid.org/0000-0002-0283-8400)
- Ruifeng Xu (ORCID: https://orcid.org/0000-0001-9885-2364)
- Bin Liang (ORCID: https://orcid.org/0000-0001-7234-1347)
- Xintong Song
- Yang Sun (ORCID: https://orcid.org/0000-0002-8661-100X)
- Chenhua Zhang
Institutions
- Chinese University of Hong Kong (HK)
- Harbin Institute of Technology (CN)
- Peng Cheng Laboratory (CN)
Publication Details
- Published
- 2025-07-13
- DOI
- https://doi.org/10.1145/3726302.3730173
- Primary Topic
- Constraint Satisfaction and Optimization
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Natural Science Foundation of Guangdong Province