Papers › zrLLM: Zero-Shot Relational Learning on Temporal Knowledge Graphs with Large Language Models

zrLLM: Zero-Shot Relational Learning on Temporal Knowledge Graphs with Large Language Models

15 Nov 2023arXiv:2311.10112archive 2025-07-28

Zifeng Ding, Heling Cai, Jingpei Wu, Yunpu Ma, Ruotong Liao, Bo Xiong, Volker Tresp

Modeling evolving knowledge over temporal knowledge graphs (TKGs) has become a heated topic. Various methods have been proposed to forecast links on TKGs. Most of them are embedding-based, where hidden representations are learned to represent knowledge graph (KG) entities and relations based on the observed graph contexts. Although these methods show strong performance on traditional TKG forecasting (TKGF) benchmarks, they face a strong challenge in modeling the unseen zero-shot relations that have no prior graph context. In this paper, we try to mitigate this problem as follows. We first input the text descriptions of KG relations into large language models (LLMs) for generating relation representations, and then introduce them into embedding-based TKGF methods. LLM-empowered representations can capture the semantic information in the relation descriptions. This makes the relations, whether seen or unseen, with similar semantic meanings stay close in the embedding space, enabling TKGF models to recognize zero-shot relations even without any observed graph context. Experimental results show that our approach helps TKGF models to achieve much better performance in forecasting the facts with previously unseen relations, while still maintaining their ability in link forecasting regarding seen relations.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2311.10112")

Code

Syntology Ran 11 of 11 code samples harvested from 1 repository linked to this paper; 0 have no recorded run. Of those that ran: 11 ran with no contract checked.

By repository: official repository: 11 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

zifengding/zrllm officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 11 ran; 0 honoured the contract we drafted; 0 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

11ran

Licence: 11 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from zifengding/zrllm. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

calc_raw_mrr zifengding/zrllm/software/CyGNet/evaluation.py official repository ran no licence file found · pointer only · ac02a5cb96629cc2 · report
filter_h zifengding/zrllm/software/CyGNet/evaluation.py official repository ran no licence file found · pointer only · 4175e6794e473325 · report
get_data_with_t zifengding/zrllm/software/CyGNet/get_historical_vocabulary.py official repository ran no licence file found · pointer only · 4c868c173599ffc7 · report
get_total_number zifengding/zrllm/software/CENET/utils.py official repository ran no licence file found · pointer only · 6a6bb1dd9e002ad8 · report
get_total_number zifengding/zrllm/software/CyGNet/get_historical_vocabulary.py official repository ran no licence file found · pointer only · 7934062f0dbb24d1 · report
load_all_quadruples zifengding/zrllm/software/CyGNet/get_history.py official repository ran no licence file found · pointer only · f1a37efd32284c2b · report
load_quadruples zifengding/zrllm/software/CENET/utils.py official repository ran no licence file found · pointer only · ab676c2c496b5776 · report
load_quadruples zifengding/zrllm/software/CyGNet/get_historical_vocabulary.py official repository ran no licence file found · pointer only · 0468cd8066e95cd3 · report
load_quadruples zifengding/zrllm/software/CyGNet/utils.py official repository ran no licence file found · pointer only · df9a2791f05449ed · report
sort_and_rank zifengding/zrllm/software/CyGNet/evaluation.py official repository ran no licence file found · pointer only · f5e395388b1f6fb5 · report
to_device zifengding/zrllm/software/CENET/utils.py official repository ran fingerprinted no licence file found · pointer only · 3983ee41067a2826 · report

Tasks

Knowledge GraphsRelational Reasoning

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections