Similarity-Constrained Reweighting for Complex Query Answering on Knowledge Graphs
Daniel Daza, Alberto Bernardi, Luca Costabello, Christophe Gueret, Michael Cochez, Martijn Schut
Abstract
Machine learning models for Complex Query Answering (CQA) on knowledge graphs estimate the likelihood of answers that are not reachable via direct traversal. Recent work has proposed extending such queries with soft entity constraints, which require the target variable to be similar or dissimilar to specified sets of entities. We study a more general formulation where similarity constraints are specified on an arbitrary variable in a query, and introduce SCORE: a computationally efficient and interpretable method for incorporating similarity constraints on an arbitrary variable of a query. SCORE is based on a lightweight and interpretable score adjustment function that only requires tuning two hyperparameters on a validation set. Our experiments show that SCORE effectively incorporates preferences while maintaining strong query answering performance. It significantly improves ranking quality when constraints apply to the target variable and performs effectively in the more general case involving constraints on intermediate variables, and its performance remains robust when applied to several existing methods for CQA. Our implementation is available at https://github.com/dfdazac/score.
Create a lesson
Related papers
Auditable Financial Knowledge Graphs: Schema-Driven Construction and Intrinsic Quality Evaluation
Shared title terminology · Samarth Sarin, Lovepreet Singh, Dhagash Mehta
DermKG: A Concept-Centric Knowledge Graph for Interpretable Skin Disease Diagnosis from Dermatological Morphology
Shared title terminology · Cheng Huang, Yanmei Li, Mao Lin
Rethinking Closed-Ended Medical VLM Evaluation: From Stable Wrongness to Counterfactual Answer Sensitivity
Shared title terminology · Qi Wu, Xiaoyu Liu, Ao Wang et al.
NoeVera: Can Knowledge Guide Experiments and Experiments Refine Knowledge?
Shared title terminology · Pinaki Prasad Guha Neogi, Spyros Mastorakis, Ankur Mallick et al.
When Wrong Answers Remain Unsettled: Failure Dynamics in Recurrent Reasoners
Shared title terminology · Jiucheng Zang, Congkai Peng, Yankai Wei
EvoViM: Recursively Self-Evolving Visual Agents for Exploration with Deferred Queries
Shared title terminology · Xinyu Cao, Tianjie Ju, Zhuosheng Zhang