Counterfactual-Consistency Prompting for Relative Temporal Understanding in Large Language Models

Jongho Kim, Seung-won Hwang
2/17/2025
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Despite the advanced capabilities of large language models (LLMs), their temporal reasoning ability remains underdeveloped. Prior works have highlighted this limitation, particularly in maintaining temporal consistency when understanding events.

Show full abstract

For example, models often confuse mutually exclusive temporal relations like ``before'' and ``after'' between events and make inconsistent predictions. In this work, we tackle the issue of temporal inconsistency in LLMs by proposing a novel counterfactual prompting approach. Our method generates counterfactual questions and enforces collective constraints, enhancing the model's consistency. We evaluate our method on multiple datasets, demonstrating significant improvements in event ordering for explicit and implicit events and temporal commonsense understanding by effectively addressing temporal inconsistencies.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kim2025counterfactualconsistency,
  title  = {Counterfactual-Consistency Prompting for Relative Temporal Understanding in Large Language Models},
  author = {Jongho Kim and Seung-won Hwang},
  year   = {2025},
  eprint = {2502.11425},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.11425v2}
}

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/2502.11425.svg)](https://codeofpaper.com/paper/2502.11425)

Discussion