TL;DR
This paper introduces RALP, a prompt learning approach using chain-of-thought prompts with LLMs for knowledge graph completion, outperforming traditional embedding models especially on unseen data.
Contribution
It reformulates link prediction as a prompt learning problem, enabling effective reasoning on knowledge graphs with minimal training data and no gradient access.
Findings
RALP improves state-of-the-art KGE models by over 5% MRR.
It achieves over 88% Jaccard similarity on OWL reasoning tasks.
RALP effectively predicts missing entities, relations, and triples.
Abstract
Knowledge graph embedding (KGE) models perform well on link prediction but struggle with unseen entities, relations, and especially literals, limiting their use in dynamic, heterogeneous graphs. In contrast, pretrained large language models (LLMs) generalize effectively through prompting. We reformulate link prediction as a prompt learning problem and introduce RALP, which learns string-based chain-of-thought (CoT) prompts as scoring functions for triples. Using Bayesian Optimization through MIPRO algorithm, RALP identifies effective prompts from fewer than 30 training examples without gradient access. At inference, RALP predicts missing entities, relations or whole triples and assigns confidence scores based on the learned prompt. We evaluate on transductive, numerical, and OWL instance retrieval benchmarks. RALP improves state-of-the-art KGE models by over 5% MRR across datasets and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
