CALENDAR+: in-context contrastive learning for temporal knowledge graph reasoning

Temporal Knowledge Graph (TKG) reasoning aims to infer future events from historical facts. Recent advances in large language models (LLMs) have shown that in-context learning can effectively enhance temporal reasoning. While existing approaches over-rely on historical information and overlook crucial non-historical factors, which CALENDAR addresses. However, CALENDAR overlooks event recency and relies heavily on global principles, which leads to inaccuracies in TKG reasoning. To address this limitation, we propose CALENDAR+ (i.e., in-context ContrAstive Learning tEmporal kNowleDge grAph Reasoning), a novel approach that integrates contrastive demonstrations to improve in-context reasoning. In CALENDAR+, we propose a demonstration candidate generation with high-order information method, which generates demonstration candidates from both historical and non-historical information. Moreover, we devise a time-aware contrastive importance based demonstration selection method to emphasize the most informative examples across time. Furthermore, we design a global–local chain-of-history based demonstration format which provides explicit negative principles that guide the model to avoid over-reliance on global and local histories. Extensive experiments show that CALENDAR+ achieves consistent improvements of over 1% across multiple TKG datasets, including Hits@10 of 60.10% on ICEWS14, 53.30% on ICEWS18, and 69.95% on ICEWS05-15, with an MRR gain of 5.67% over the strongest baseline.

Authors

Institutions

Publication Details

Journal
Complex & Intelligent Systems
Published
2026-02-26
DOI
https://doi.org/10.1007/s40747-026-02237-z
Primary Topic
Advanced Graph Neural Networks
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

CALENDAR+: in-context contrastive learning for temporal knowledge graph reasoning

Jiapeng Wang, Boyuan Jia, Sen Su, Xingyi Li et al.
Complex & Intelligent Systems
Advanced Graph Neural Networks
article

CALENDAR+: in-context contrastive learning for temporal knowledge graph reasoning

Jiapeng Wang, Boyuan Jia, Sen Su, Xingyi Li, Xiang Cheng
article en

Abstract

Temporal Knowledge Graph (TKG) reasoning aims to infer future events from historical facts. Recent advances in large language models (LLMs) have shown that in-context learning can effectively enhance temporal reasoning. While existing approaches over-rely on historical information and overlook crucial non-historical factors, which CALENDAR addresses. However, CALENDAR overlooks event recency and relies heavily on global principles, which leads to inaccuracies in TKG reasoning. To address this limitation, we propose CALENDAR+ (i.e., in-context ContrAstive Learning tEmporal kNowleDge grAph Reasoning), a novel approach that integrates contrastive demonstrations to improve in-context reasoning. In CALENDAR+, we propose a demonstration candidate generation with high-order information method, which generates demonstration candidates from both historical and non-historical information. Moreover, we devise a time-aware contrastive importance based demonstration selection method to emphasize the most informative examples across time. Furthermore, we design a global–local chain-of-history based demonstration format which provides explicit negative principles that guide the model to avoid over-reliance on global and local histories. Extensive experiments show that CALENDAR+ achieves consistent improvements of over 1% across multiple TKG datasets, including Hits@10 of 60.10% on ICEWS14, 53.30% on ICEWS18, and 69.95% on ICEWS05-15, with an MRR gain of 5.67% over the strongest baseline.

Complex & Intelligent SystemsVol. 12(4)
Beijing University of Posts and Telecommunications (CN)
Quality Education
Openalex Percentile: Top 46%
Advanced Graph Neural Networks
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.