arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2506.06367cs.AI
收藏

迈向时序知识图谱推理的基础模型

Towards Foundation Model on Temporal Knowledge Graph Reasoning

University of Stuttgart(斯图加特大学);University of Southampton(南安普顿大学)

Jiaxin Pan, Mojtaba Nayyeri, Osama Mohammed, Daniel Hernandez, Rongchuan Zhang, Cheng Cheng, Steffen Staab

AI总结:

针对现有 TKGE 依赖训练期已见实体、关系与时间戳的问题,本文提出全归纳预训练模型 POSTRA,通过正弦时间编码和上下文消息传递实现跨 TKG 的零样本时序推理。

摘要:

时序知识图谱(Temporal Knowledge Graphs,TKGs)以四元组格式(s, p, o, t)存储时序事实。现有的时序知识图谱嵌入(Temporal Knowledge Graph Embedding,TKGE)模型在直推式或半归纳设置下执行链接预测任务,这意味着测试图谱中的实体、关系和时序信息在训练期间会被全部或部分观测到。推理过程中对已见元素的这种依赖限制了模型迁移到新领域并泛化到真实世界场景的能力。一个核心限制在于,难以学习可迁移且不绑定于特定数据集词汇表的实体、关系和时间戳表示。为克服这些限制,我们提出首个用于时序知识图谱链接预测的全归纳方法。我们的模型采用正弦位置编码来捕获细粒度时序模式,并利用以局部和全局时序上下文为条件的消息传递生成自适应的实体与关系表示。模型设计与时序粒度和时间跨度无关,可有效解决跨 TKG 的时序差异,并促进具备时间感知能力的结构信息迁移。作为一种预训练、可扩展且可迁移的模型,POSTRA 在未见过的时序知识图谱上展现出强大的零样本性能,可有效泛化到新的实体、关系和时间戳。大量理论分析和实证结果表明,单一预训练模型能够在多种归纳时序推理场景中提升零样本性能,标志着迈向时序 KG 基础模型的重要一步。

英文摘要:

Temporal Knowledge Graphs (TKGs) store temporal facts with quadruple formats (s, p, o, t). Existing Temporal Knowledge Graph Embedding (TKGE) models perform link prediction tasks in transductive or semi-inductive settings, which means the entities, relations, and temporal information in the test graph are fully or partially observed during training. Such reliance on seen elements during inference limits the models' ability to transfer to new domains and generalize to real-world scenarios. A central limitation is the difficulty in learning representations for entities, relations, and timestamps that are transferable and not tied to dataset-specific vocabularies. To overcome these limitations, we introduce the first fully-inductive approach to temporal knowledge graph link prediction. Our model employs sinusoidal positional encodings to capture fine-grained temporal patterns and generates adaptive entity and relation representations using message passing conditioned on both local and global temporal contexts. Our model design is agnostic to temporal granularity and time span, effectively addressing temporal discrepancies across TKGs and facilitating time-aware structural information transfer. As a pretrained, scalable, and transferable model, POSTRA demonstrates strong zero-shot performance on unseen temporal knowledge graphs, effectively generalizing to novel entities, relations, and timestamps. Extensive theoretical analysis and empirical results show that a single pretrained model can improve zero-shot performance on various inductive temporal reasoning scenarios, marking a significant step toward a foundation model for temporal KGs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑