Logical Message Passing Networks with One-hop Inference on Atomic Formulas
Zihao Wang, Yangqiu Song, Ginny Y. Wong, Simon See
Abstract
Complex Query Answering (CQA) over Knowledge Graphs (KGs) has attracted a lot of attention to potentially support many applications. Given that KGs are usually incomplete, neural models are proposed to answer the logical queries by parameterizing set operators with complex neural networks. However, such methods usually train neural set operators with a large number of entity and relation embeddings from the zero, where whether and how the embeddings or the neural set operators contribute to the performance remains not clear. In this paper, we propose a simple framework for complex query answering that decomposes the KG embeddings from neural set operators. We propose to represent the complex queries into the query graph. On top of the query graph, we propose the Logical Message Passing Neural Network (LMPNN) that connects the local one-hop inferences on atomic formulas to the global logical reasoning for complex query answering. We leverage existing effective KG embeddings to conduct one-hop inferences on atomic formulas, the results of which are regarded as the messages passed in LMPNN. The reasoning process over the overall logical formulas is turned into the forward pass of LMPNN that incrementally aggregates local information to finally predict the answers' embeddings. The complex logical inference across different types of queries will then be learned from training examples based on the LMPNN architecture. Theoretically, our query-graph representation is more general than the prevailing operator-tree formulation, so our approach applies to a broader range of complex KG queries. Empirically, our approach yields a new state-of-the-art neural CQA model. Our research bridges the gap between complex KG query answering tasks and the long-standing achievements of knowledge graph representation learning. Our implementation can be found at https://github.com/HKUST-KnowComp/LMPNN . Recently, neural models for Complex Query Answering (CQA) have been proposed to complete the unobserved knowledge graph and answer the complex query simultaneously. These models aim to address complex queries that belong to an important subset of the first-order queries. Formally speaking, the complex queries are Existentially quantified First Order queries and has a single free
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.
17 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
- Rethinking Complex Queries on Knowledge Graphs with Neural Link Predictors cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
- Rethinking Complex Queries on Knowledge Graphs with Neural Link Predictors cites ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphs
- Rethinking Complex Queries on Knowledge Graphs with Neural Link Predictors cites Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction
- Rethinking Complex Queries on Knowledge Graphs with Neural Link Predictors cites Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs
- ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphs cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
- ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphs cites Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs
- 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 Rethinking Complex Queries on Knowledge Graphs with Neural Link Predictors
- Improving Complex Reasoning over Knowledge Graph with Logic-Aware Curriculum Tuning cites ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphs
- 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
- Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
- Knowledge Graph Reasoning over Entities and Numerical Values cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
- Knowledge Graph Reasoning over Entities and Numerical Values cites ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphs
- Knowledge Graph Reasoning over Entities and Numerical Values cites Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs
- Knowledge Graph Reasoning over Entities and Numerical Values cites Complex Query Answering on Eventuality Knowledge Graph with Implicit Logical Constraints
- Complex Query Answering on Eventuality Knowledge Graph with Implicit Logical Constraints cites Knowledge Graph Reasoning over Entities and Numerical Values
- 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 Rethinking Complex Queries on Knowledge Graphs with Neural Link Predictors
- A Foundation Model for Zero-shot Logical Query Reasoning cites ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphs
- 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
- Complex Query Answering on Eventuality Knowledge Graph with Implicit Logical Constraints cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
- Complex Query Answering on Eventuality Knowledge Graph with Implicit Logical Constraints cites ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphs
- Complex Query Answering on Eventuality Knowledge Graph with Implicit Logical Constraints cites Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs
Cited by top-tier papers17
- Complex Query Answering on Eventuality Knowledge Graph with Implicit Logical ConstraintsJiaxin Bai, Xin Liu, Weiqi Wang, Chen Luo et al.NeurIPS 2023 · 46 citations
- Rethinking Complex Queries on Knowledge Graphs with Neural Link PredictorsHang Yin, Zihao Wang, Yangqiu SongICLR 2024 · 25 citations
- 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
- Knowledge Graph Reasoning over Entities and Numerical ValuesJiaxin Bai, Chen Luo, Zheng Li, Qingyu Yin et al.KDD 2023 · 12 citations
Builds on16
- 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
- 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
- You CAN Teach an Old Dog New Tricks! On Training Knowledge Graph EmbeddingsDaniel Ruffinelli, Samuel Broscheit, Rainer GemullaICLR 2020 · 238 citations
- ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge GraphsZhanqiu Zhang, Jie Wang, Jiajun Chen, Shuiwang Ji et al.NeurIPS 2021 · 161 citations
Related papers
- Conditional Logical Message Passing Transformer for Complex Query AnsweringChongzhi Zhang, Zhiping Peng, Junhao Zheng, Qianli MaKDD 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
- Neural-Symbolic Entangled Framework for Complex Query AnsweringZezhong Xu, Wen Zhang, Peng Ye, Hui Chen et al.NeurIPS 2022 · 31 citations
- Inductive Logical Query Answering in Knowledge GraphsMichael Galkin, Zhaocheng Zhu, Hongyu Ren, Jian TangNeurIPS 2022 · 36 citations
- Neural Methods for Logical Reasoning over Knowledge GraphsAlfonso Amayuelas, Shuai Zhang, Susie Xi Rao, Ce ZhangICLR 2022 · 27 citations
