Adapting Neural Link Predictors for Data-Efficient Complex Query Answering
Erik Arakelyan, Pasquale Minervini, Daniel Daza, Michael Cochez, Isabelle Augenstein
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, a parameter-efficient score 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 -- 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 produces significantly more accurate results than current state-of-the-art methods, improving from to Mean Reciprocal Rank values averaged across all datasets and query types while using of the available training query types. We further show that CQD is data-efficient, achieving competitive results with only of the training complex queries, and robust in out-of-domain evaluations.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
8 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- On the Theoretical Limitations of Embedding-based Link Prediction cites Composition-based Multi-Relational Graph Convolutional Networks
- Conditional Logical Message Passing Transformer for Complex Query Answering cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
- Conditional Logical Message Passing Transformer for Complex Query Answering cites Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction
- Conditional Logical Message Passing Transformer for Complex Query Answering cites Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs
- Conditional Logical Message Passing Transformer for Complex Query Answering cites Composition-based Multi-Relational Graph Convolutional Networks
- Improving Complex Reasoning over Knowledge Graph with Logic-Aware Curriculum Tuning cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
- Improving Complex Reasoning over Knowledge Graph with Logic-Aware Curriculum Tuning cites Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs
- Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
- Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction cites Inductive Relation Prediction by Subgraph Reasoning
- Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction cites Composition-based Multi-Relational Graph Convolutional Networks
- Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
- Scalable Feature Learning on Huge Knowledge Graphs for Downstream Machine Learning cites Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs
- Scalable Feature Learning on Huge Knowledge Graphs for Downstream Machine Learning cites Composition-based Multi-Relational Graph Convolutional Networks
- A Foundation Model for Zero-shot Logical Query Reasoning cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
- A Foundation Model for Zero-shot Logical Query Reasoning cites Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction
- A Foundation Model for Zero-shot Logical Query Reasoning cites Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs
- A Foundation Model for Zero-shot Logical Query Reasoning cites Inductive Relation Prediction by Subgraph Reasoning
- A Foundation Model for Zero-shot Logical Query Reasoning cites Composition-based Multi-Relational Graph Convolutional Networks
Cited by top-tier papers8
- A Foundation Model for Zero-shot Logical Query ReasoningMichael Galkin, Jincheng Zhou, Bruno Ribeiro, Jian Tang et al.NeurIPS 2024 · 20 citations
- Improving Complex Reasoning over Knowledge Graph with Logic-Aware Curriculum TuningTianle Xia, Liang Ding, Guojia Wan, Yibing Zhan et al.AAAI 2025 · 19 citations
- Conditional Logical Message Passing Transformer for Complex Query AnsweringChongzhi Zhang, Zhiping Peng, Junhao Zheng, Qianli MaKDD 2024 · 3 citations
- Scalable Feature Learning on Huge Knowledge Graphs for Downstream Machine LearningFélix Lefebvre, Gaël VaroquauxNeurIPS 2025 · 1 citation
- On the Theoretical Limitations of Embedding-based Link PredictionSamy Badreddine, Emile van Krieken, Luciano SerafiniICML 2026
Builds on14
- Composition-based Multi-Relational Graph Convolutional NetworksShikhar Vashishth, Soumya Sanyal, Vikram Nitin, Partha P. TalukdarICLR 2020 · 1,105 citations
- Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link PredictionZhaocheng Zhu, Zuobai Zhang, Louis-Pascal A. C. Xhonneux, Jian TangNeurIPS 2021 · 546 citations
- Inductive Relation Prediction by Subgraph ReasoningKomal K. Teru, Etienne G. Denis, William L. HamiltonICML 2020 · 493 citations
- Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box EmbeddingsHongyu Ren, Weihua Hu, Jure LeskovecICLR 2020 · 355 citations
- Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge GraphsHongyu Ren, Jure LeskovecNeurIPS 2020 · 267 citations
Related papers
- Complex Query Answering with Neural Link PredictorsErik Arakelyan, Daniel Daza, Pasquale Minervini, Michael CochezICLR 2021 · 29 citations
- Efficient Embeddings of Logical Variables for Query Answering over Incomplete Knowledge GraphsDingmin Wang, Yeyuan Chen, Bernardo Cuenca GrauAAAI 2023 · 16 citations
- Complex Logical Query Answering by Calibrating Knowledge Graph Completion ModelsChangyi Xiao, Yixin CaoACL Findings 2024 · 3 citations
- Query2Triple: Unified Query Encoding for Answering Diverse Complex Queries over Knowledge GraphsYao Xu, Shizhu He, Cunguang Wang, Li Cai et al.EMNLP Findings 2023 · 3 citations
- Inductive Logical Query Answering in Knowledge GraphsMichael Galkin, Zhaocheng Zhu, Hongyu Ren, Jian TangNeurIPS 2022 · 36 citations
