Extending Complex Logical Queries on Uncertain Knowledge Graphs
Weizhi Fei, Zihao Wang, Hang Yin, Yang Duan, Yangqiu Song
TL;DR
This work extends complex logical query answering to uncertain knowledge graphs by introducing Soft Queries on Uncertain KGs (SQUK). It presents a neural-symbolic framework called SRC that combines forward inference over uncertain knowledge graph embeddings with backward calibration to mitigate prediction errors, supported by theoretical error bounds. The authors construct the SQUK dataset and show through experiments that SRC and its calibration variants outperform baseline query embeddings and symbolic methods, while LLMs struggle with uncertain soft constraints. The approach promises improved reasoning under uncertainty with practical implications for applications requiring nuanced, confidence-aware decision making over large KGs.
Abstract
The study of machine learning-based logical query answering enables reasoning with large-scale and incomplete knowledge graphs. This paper advances this area of research by addressing the uncertainty inherent in knowledge. While the uncertain nature of knowledge is widely recognized in the real world, it does not align seamlessly with the first-order logic that underpins existing studies. To bridge this gap, we explore the soft queries on uncertain knowledge, inspired by the framework of soft constraint programming. We propose a neural symbolic approach that incorporates both forward inference and backward calibration to answer soft queries on large-scale, incomplete, and uncertain knowledge graphs. Theoretical discussions demonstrate that our method avoids catastrophic cascading errors in the forward inference while maintaining the same complexity as state-of-the-art symbolic methods for complex logical queries. Empirical results validate the superior performance of our backward calibration compared to extended query embedding methods and neural symbolic approaches.
