Credible Intervals for Knowledge Graph Accuracy Estimation
Stefano Marchesin, Gianmaria Silvello
TL;DR
This work tackles the challenge of estimating Knowledge Graph accuracy with statistical guarantees when annotating every triple is infeasible. It shifts from frequentist confidence intervals to Bayesian credible intervals, showing that Highest Posterior Density (HPD) CrIs provide shorter, more reliable intervals, especially for skewed posteriors, and introduces the adaptive aHPD algorithm to automatically combine multiple uninformative priors without manual tuning. The results demonstrate substantial annotation-cost reductions across real and synthetic KG datasets, with up to 47% savings in high-precision scenarios, and robust performance across sampling strategies and dataset scales. Overall, the approach offers interpretable, one-shot probabilistic guarantees and practical efficiency for KG quality evaluation in real-world settings.
Abstract
Knowledge Graphs (KGs) are widely used in data-driven applications and downstream tasks, such as virtual assistants, recommendation systems, and semantic search. The accuracy of KGs directly impacts the reliability of the inferred knowledge and outcomes. Therefore, assessing the accuracy of a KG is essential for ensuring the quality of facts used in these tasks. However, the large size of real-world KGs makes manual triple-by-triple annotation impractical, thereby requiring sampling strategies to provide accuracy estimates with statistical guarantees. The current state-of-the-art approaches rely on Confidence Intervals (CIs), derived from frequentist statistics. While efficient, CIs have notable limitations and can lead to interpretation fallacies. In this paper, we propose to overcome the limitations of CIs by using \emph{Credible Intervals} (CrIs), which are grounded in Bayesian statistics. These intervals are more suitable for reliable post-data inference, particularly in KG accuracy evaluation. We prove that CrIs offer greater reliability and stronger guarantees than frequentist approaches in this context. Additionally, we introduce \emph{a}HPD, an adaptive algorithm that is more efficient for real-world KGs and statistically robust, addressing the interpretive challenges of CIs.
