Abstract
Knowledge Graph Embeddings (KGEs) are widely used for link prediction but often lack reliable uncertainty estimates. While Conformal Prediction (CP) can provide statistical guarantees, existing methods typically offer only marginal coverage, which fails to account for the high imbalance of predicates in real-world graphs. We present CONDKGCP, a framework designed to provide predicate-conditional coverage. By employing predicate merging based on embedding similarity and a dual-calibration schema involving both scores and ranks, CONDKGCP generates compact prediction sets with rigorous per-predicate guarantees.
Introduction
Knowledge Graph Embeddings (KGEs) map entities and relations into continuous vector spaces to predict missing facts. Despite their success, these models are often "black boxes" that provide plausibility scores without inherent confidence measures. In high-stakes domains like medicine or finance, understanding the reliability of a specific prediction (e.g., a specific relation type) is as important as the prediction itself.
Current uncertainty quantification methods, such as standard Conformal Prediction (CP), provide marginal coverage. This ensures that, on average, the true answer is within the prediction set at a target confidence level (e.g., 90%). However, this average can mask poor performance on rare or difficult predicates. Achieving conditional coverage—where the guarantee holds for every specific predicate—is challenging due to the long-tail distribution of relations in Knowledge Graphs (KGs).
Methodology: The CONDKGCP Framework
CONDKGCP introduces two primary innovations to achieve stable and efficient conditional coverage:
1. Predicate Merging
To address the data sparsity of rare relations, CONDKGCP groups predicates with similar vector representations. Predicates that are close in the embedding space are assumed to share similar error distributions. By "borrowing" calibration data from neighbors, the framework creates robust statistical thresholds even for predicates with few examples.
2. Dual Calibration Schema
Traditional CP methods rely solely on model scores. CONDKGCP incorporates a Rank Calibration layer. By using the rank of the true answer during calibration to set a "rank ceiling," the method can prune low-ranked, noisy entities. This dual approach (score + rank) prevents the explosion of prediction set sizes while maintaining the desired coverage.
Experimental Evaluation
The framework was evaluated across six KGE architectures (TransE, RotatE, RESCAL, DistMult, ComplEx, and ConvE) using the WN18 and FB15k benchmarks.
As shown in Figure 1, CONDKGCP maintains a consistently low "Coverage Gap" (the difference between desired and actual coverage) while keeping the "Average Size" of the prediction sets significantly smaller than baseline methods like MCP or APS, especially as the desired coverage increases toward 0.95.
Comparative Performance
The main results across all tested models and datasets are summarized in the table below.
CONDKGCP consistently achieves a superior balance between reliability and efficiency. It frequently yields the lowest Efficiency Factor (EF), a metric introduced to measure the cost of reducing the coverage gap. In many cases, CONDKGCP produces prediction sets that are orders of magnitude smaller than those of marginal CP methods while providing stronger conditional guarantees.
Conclusion
CONDKGCP represents a significant advancement in bringing rigorous, conditional uncertainty guarantees to Knowledge Graph Embeddings. By leveraging the geometric properties of KGEs for predicate merging and introducing rank-based regularization, the framework provides a practical path toward reliable and interpretable reasoning in large-scale relational data. Future work may explore incorporating semantic information to further refine the predicate merging process.
Summary updated