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

MERIT:基于关系Transformer扩展知识图谱基础模型

MERIT: Scaling KG Foundation Models with Relation Transformers

Institute for Artificial Intelligence, University of Stuttgart(斯图加特大学人工智能研究所);School of Informatics, University of Edinburgh(爱丁堡大学信息学院);University of Southampton(南安普顿大学)

Cosimo Gregucci, Daniel Hernandez, Antonio Vergari, Steffen Staab

AI总结:

该研究提出首个采用Transformer关系编码器的KGFM——MERIT,在56个基准测试中零样本MRR与最优模型相当,推理速度远快于同类模型,微调后的MERITQuery在复杂查询回答任务中性能更优。

摘要:

知识图谱(KG)基础模型(KGFM)可对未见图谱进行零样本链接预测。KGFM由ULTRA率先提出,该模型从匹配基元模板的共现关系构建关系图,并在其上传递消息以获取关系表示。后续的KGFM如MOTIF和TRIX增大了该关系图的规模,FLOCK则用概率随机游走集成替代了消息传递。然而,更大的关系图意味着更多消息,更多游走意味着更多待编码序列,因此这些模型在提升性能的同时,训练和推理成本也随之升高。该成本阻碍了它们在更复杂的推理任务(如复杂查询回答)中的应用。为扭转这一趋势,我们设计了MERIT,这是首个采用Transformer关系编码器的KGFM:每个关系名称都能关注到其他所有关系,基元以软先验形式而非边的形式引入。在56个基准测试中,MERIT的零样本MRR与当前最优KGFM相当,推理速度比TRIX快6倍,比FLOCK快100倍以上。针对UltraQuery这类复杂查询回答任务进行微调后,MERITQuery在成本相当的情况下性能优于UltraQuery。

英文摘要:

Knowledge graph (KG) foundation models (KGFMs) predict links on unseen graphs zero-shot. KGFMs have been pioneered by ULTRA which builds a relation graph from co-occurrences that match motif templates, and passes messages over it to obtain relation representations. More recent KGFMs such as MOTIF and TRIX increase the size of this relation graph, and FLOCK replaces message-passing with probabilistic random-walk ensembles. However, larger relation graphs mean more messages, and more walks mean more sequences to encode, so they improve performance at higher training and inference cost. This cost hinders their use in more complex reasoning tasks, such as complex query answering. To reverse this trend, we design MERIT, the first KGFM with a transformer relation encoder: every relation name attends to every other, and the motifs enter as a soft prior rather than as edges. Over 56 benchmarks, MERIT matches the zero-shot MRR of SoTA KGFMs while being 6x faster than TRIX and over 100x faster than FLOCK at inference. Fine-tuned for complex query answering like UltraQuery, MERITQuery improves over it at matched cost.

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

↑