TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Adapting Neural Link Predictors for Data-Efficient Complex...

Adapting Neural Link Predictors for Data-Efficient Complex Query Answering

2023-01-29NeurIPS 2023 11Knowledge GraphsComplex Query AnsweringLink Prediction
PaperPDF

Abstract

Answering complex queries on incomplete knowledge graphs is a challenging task where a model needs to answer complex logical queries in the presence of missing knowledge. Prior work in the literature has proposed to address this problem by designing architectures trained end-to-end for the complex query answering task with a reasoning process that is hard to interpret while requiring data and resource-intensive training. Other lines of research have proposed re-using simple neural link predictors to answer complex queries, reducing the amount of training data by orders of magnitude while providing interpretable answers. The neural link predictor used in such approaches is not explicitly optimised for the complex query answering task, implying that its scores are not calibrated to interact together. We propose to address these problems via CQD$^{\mathcal{A}}$, a parameter-efficient score \emph{adaptation} model optimised to re-calibrate neural link prediction scores for the complex query answering task. While the neural link predictor is frozen, the adaptation component -- which only increases the number of model parameters by $0.03\%$ -- is trained on the downstream complex query answering task. Furthermore, the calibration component enables us to support reasoning over queries that include atomic negations, which was previously impossible with link predictors. In our experiments, CQD$^{\mathcal{A}}$ produces significantly more accurate results than current state-of-the-art methods, improving from $34.4$ to $35.1$ Mean Reciprocal Rank values averaged across all datasets and query types while using $\leq 30\%$ of the available training query types. We further show that CQD$^{\mathcal{A}}$ is data-efficient, achieving competitive results with only $1\%$ of the training complex queries, and robust in out-of-domain evaluations.

Results

TaskDatasetMetricValueModel
Knowledge GraphsFB15kMRR 1p0.892CQDA
Knowledge GraphsFB15kMRR 2i0.761CQDA
Knowledge GraphsFB15kMRR 2p0.645CQDA
Knowledge GraphsFB15kMRR 2u0.684CQDA
Knowledge GraphsFB15kMRR 3i0.794CQDA
Knowledge GraphsFB15kMRR 3p0.579CQDA
Knowledge GraphsFB15kMRR ip0.706CQDA
Knowledge GraphsFB15kMRR pi0.701CQDA
Knowledge GraphsFB15kMRR up0.579CQDA
Knowledge GraphsNELL-995MRR 1p0.604CQDA
Knowledge GraphsNELL-995MRR 2i0.434CQDA
Knowledge GraphsNELL-995MRR 2p0.229CQDA
Knowledge GraphsNELL-995MRR 2u0.2CQDA
Knowledge GraphsNELL-995MRR 3i0.526CQDA
Knowledge GraphsNELL-995MRR 3p0.167CQDA
Knowledge GraphsNELL-995MRR ip0.264CQDA
Knowledge GraphsNELL-995MRR pi0.321CQDA
Knowledge GraphsNELL-995MRR up0.17CQDA
Knowledge GraphsFB15k-237MRR 1p0.467CQDA
Knowledge GraphsFB15k-237MRR 2i0.345CQDA
Knowledge GraphsFB15k-237MRR 2p0.136CQDA
Knowledge GraphsFB15k-237MRR 2u0.176CQDA
Knowledge GraphsFB15k-237MRR 3i0.483CQDA
Knowledge GraphsFB15k-237MRR 3p0.114CQDA
Knowledge GraphsFB15k-237MRR ip0.209CQDA
Knowledge GraphsFB15k-237MRR pi0.274CQDA
Knowledge GraphsFB15k-237MRR up0.114CQDA
Knowledge Graph CompletionFB15kMRR 1p0.892CQDA
Knowledge Graph CompletionFB15kMRR 2i0.761CQDA
Knowledge Graph CompletionFB15kMRR 2p0.645CQDA
Knowledge Graph CompletionFB15kMRR 2u0.684CQDA
Knowledge Graph CompletionFB15kMRR 3i0.794CQDA
Knowledge Graph CompletionFB15kMRR 3p0.579CQDA
Knowledge Graph CompletionFB15kMRR ip0.706CQDA
Knowledge Graph CompletionFB15kMRR pi0.701CQDA
Knowledge Graph CompletionFB15kMRR up0.579CQDA
Knowledge Graph CompletionNELL-995MRR 1p0.604CQDA
Knowledge Graph CompletionNELL-995MRR 2i0.434CQDA
Knowledge Graph CompletionNELL-995MRR 2p0.229CQDA
Knowledge Graph CompletionNELL-995MRR 2u0.2CQDA
Knowledge Graph CompletionNELL-995MRR 3i0.526CQDA
Knowledge Graph CompletionNELL-995MRR 3p0.167CQDA
Knowledge Graph CompletionNELL-995MRR ip0.264CQDA
Knowledge Graph CompletionNELL-995MRR pi0.321CQDA
Knowledge Graph CompletionNELL-995MRR up0.17CQDA
Knowledge Graph CompletionFB15k-237MRR 1p0.467CQDA
Knowledge Graph CompletionFB15k-237MRR 2i0.345CQDA
Knowledge Graph CompletionFB15k-237MRR 2p0.136CQDA
Knowledge Graph CompletionFB15k-237MRR 2u0.176CQDA
Knowledge Graph CompletionFB15k-237MRR 3i0.483CQDA
Knowledge Graph CompletionFB15k-237MRR 3p0.114CQDA
Knowledge Graph CompletionFB15k-237MRR ip0.209CQDA
Knowledge Graph CompletionFB15k-237MRR pi0.274CQDA
Knowledge Graph CompletionFB15k-237MRR up0.114CQDA
Large Language ModelFB15kMRR 1p0.892CQDA
Large Language ModelFB15kMRR 2i0.761CQDA
Large Language ModelFB15kMRR 2p0.645CQDA
Large Language ModelFB15kMRR 2u0.684CQDA
Large Language ModelFB15kMRR 3i0.794CQDA
Large Language ModelFB15kMRR 3p0.579CQDA
Large Language ModelFB15kMRR ip0.706CQDA
Large Language ModelFB15kMRR pi0.701CQDA
Large Language ModelFB15kMRR up0.579CQDA
Large Language ModelNELL-995MRR 1p0.604CQDA
Large Language ModelNELL-995MRR 2i0.434CQDA
Large Language ModelNELL-995MRR 2p0.229CQDA
Large Language ModelNELL-995MRR 2u0.2CQDA
Large Language ModelNELL-995MRR 3i0.526CQDA
Large Language ModelNELL-995MRR 3p0.167CQDA
Large Language ModelNELL-995MRR ip0.264CQDA
Large Language ModelNELL-995MRR pi0.321CQDA
Large Language ModelNELL-995MRR up0.17CQDA
Large Language ModelFB15k-237MRR 1p0.467CQDA
Large Language ModelFB15k-237MRR 2i0.345CQDA
Large Language ModelFB15k-237MRR 2p0.136CQDA
Large Language ModelFB15k-237MRR 2u0.176CQDA
Large Language ModelFB15k-237MRR 3i0.483CQDA
Large Language ModelFB15k-237MRR 3p0.114CQDA
Large Language ModelFB15k-237MRR ip0.209CQDA
Large Language ModelFB15k-237MRR pi0.274CQDA
Large Language ModelFB15k-237MRR up0.114CQDA
Inductive knowledge graph completionFB15kMRR 1p0.892CQDA
Inductive knowledge graph completionFB15kMRR 2i0.761CQDA
Inductive knowledge graph completionFB15kMRR 2p0.645CQDA
Inductive knowledge graph completionFB15kMRR 2u0.684CQDA
Inductive knowledge graph completionFB15kMRR 3i0.794CQDA
Inductive knowledge graph completionFB15kMRR 3p0.579CQDA
Inductive knowledge graph completionFB15kMRR ip0.706CQDA
Inductive knowledge graph completionFB15kMRR pi0.701CQDA
Inductive knowledge graph completionFB15kMRR up0.579CQDA
Inductive knowledge graph completionNELL-995MRR 1p0.604CQDA
Inductive knowledge graph completionNELL-995MRR 2i0.434CQDA
Inductive knowledge graph completionNELL-995MRR 2p0.229CQDA
Inductive knowledge graph completionNELL-995MRR 2u0.2CQDA
Inductive knowledge graph completionNELL-995MRR 3i0.526CQDA
Inductive knowledge graph completionNELL-995MRR 3p0.167CQDA
Inductive knowledge graph completionNELL-995MRR ip0.264CQDA
Inductive knowledge graph completionNELL-995MRR pi0.321CQDA
Inductive knowledge graph completionNELL-995MRR up0.17CQDA
Inductive knowledge graph completionFB15k-237MRR 1p0.467CQDA
Inductive knowledge graph completionFB15k-237MRR 2i0.345CQDA
Inductive knowledge graph completionFB15k-237MRR 2p0.136CQDA
Inductive knowledge graph completionFB15k-237MRR 2u0.176CQDA
Inductive knowledge graph completionFB15k-237MRR 3i0.483CQDA
Inductive knowledge graph completionFB15k-237MRR 3p0.114CQDA
Inductive knowledge graph completionFB15k-237MRR ip0.209CQDA
Inductive knowledge graph completionFB15k-237MRR pi0.274CQDA
Inductive knowledge graph completionFB15k-237MRR up0.114CQDA

Related Papers

SMART: Relation-Aware Learning of Geometric Representations for Knowledge Graphs2025-07-17Topic Modeling and Link-Prediction for Material Property Discovery2025-07-08Graph Collaborative Attention Network for Link Prediction in Knowledge Graphs2025-07-05Understanding Generalization in Node and Link Prediction2025-07-01Context-Driven Knowledge Graph Completion with Semantic-Aware Relational Message Passing2025-06-29Active Inference AI Systems for Scientific Discovery2025-06-26Enhancing LLM Tool Use with High-quality Instruction Data from Knowledge Graph2025-06-26Generating Reliable Adverse event Profiles for Health through Automated Integrated Data (GRAPH-AID): A Semi-Automated Ontology Building Approach2025-06-25