mlsanityData to 14 Oct 2026

Conditional Logical Message Passing Transformer for Complex Query Answering

arXiv 2402.12954 ↗First posted 20 Feb 2024cs.LG cs.AI cs.LOcited by 5

Not on the map. Why?

Abstract (arXiv)

Complex Query Answering (CQA) over Knowledge Graphs (KGs) is a challenging task. Given that KGs are usually incomplete, neural models are proposed to solve CQA by performing multi-hop logical reasoning. However, most of them cannot perform well on both one-hop and multi-hop queries simultaneously. Recent work proposes a logical message passing mechanism based on the pre-trained neural link predictors. While effective on both one-hop and multi-hop queries, it ignores the difference between the constant and variable nodes in a query graph. In addition, during the node embedding update stage, this mechanism cannot dynamically measure the importance of different messages, and whether it can capture the implicit logical dependencies related to a node and received messages remains unclear. In this paper, we propose Conditional Logical Message Passing Transformer (CLMPT), which considers the difference between constants and variables in the case of using pre-trained neural link predictors and performs message passing conditionally on the node type. We empirically verified that this approach can reduce computational costs without affecting performance. Furthermore, CLMPT uses the transformer to aggregate received messages and update the corresponding node embedding. Through the self-attention mechanism, CLMPT can assign adaptive weights to elements in an input set consisting of received messages and the corresponding node and explicitly model logical dependencies between various elements. Experimental results show that CLMPT is a new state-of-the-art neural CQA model. https://github.com/qianlima-lab/CLMPT.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 43 of its 76 references that are in the map. First posted on arXiv 20 Feb 2024.

Builds on

43 of 76 references.

References · 43

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018How Powerful are Graph Neural Networks?cited by 4,393
  3. 2017Neural Message Passing for Quantum Chemistrycited by 3,487
  4. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,446
  5. 2016Complex Embeddings for Simple Link Predictioncited by 902
  6. 2019RotatE: Knowledge Graph Embedding by Relational Rotation in Complex Spacecited by 898
  7. 2017Convolutional 2D Knowledge Graph Embeddingscited by 730
  8. 2020A Survey on Knowledge Graphs: Representation, Acquisition and Applicationscited by 643
  9. 2020Heterogeneous Graph Transformercited by 582
  10. 2019Composition-based Multi-Relational Graph Convolutional Networkscited by 396
  11. 2019KEPLER: A Unified Model for Knowledge Embedding and Pre-trained Language Representationcited by 356
  12. 2021Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Predictioncited by 275
31 more
  1. 2017DeepPath: A Reinforcement Learning Method for Knowledge Graph Reasoningcited by 266
  2. 2019DRUM: End-To-End Differentiable Rule Mining On Knowledge Graphscited by 175
  3. 2020Query2box: Reasoning over Knowledge Graphs in Vector Space using Box Embeddingscited by 171
  4. 2023Graph Inductive Biases in Transformers without Message Passingcited by 153
  5. 2020Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphscited by 129
  6. 2018Embedding Logical Queries on Knowledge Graphscited by 120
  7. 2018Noise Contrastive Estimation and Negative Sampling for Conditional Models: Consistency and Statistical Efficiencycited by 105
  8. 2020Complex Query Answering with Neural Link Predictorscited by 99
  9. 2021Learning Intents behind Interactions with Knowledge Graph for Recommendationcited by 94
  10. 2021Knowledge Graph Reasoning with Relational Digraphcited by 92
  11. 2021ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphscited by 78
  12. 2022Sequence-to-Sequence Knowledge Graph Completion and Question Answeringcited by 75
  13. 2019Iteratively Learning Embeddings and Rules for Knowledge Graph Reasoningcited by 63
  14. 2022Neural-Symbolic Models for Logical Queries on Knowledge Graphscited by 61
  15. 2022Mask and Reason: Pre-Training Knowledge Graph Transformers for Complex Logical Queriescited by 39
  16. 2020Self-Supervised Hyperboloid Representations from Logical Queries over Knowledge Graphscited by 35
  17. 2020Answering Complex Queries in Knowledge Graphs with Bidirectional Sequence Encoderscited by 28
  18. 2021Probabilistic Entity Representation Model for Reasoning over Knowledge Graphscited by 28
  19. 2023Logical Message Passing Networks with One-hop Inference on Atomic Formulascited by 28
  20. 2022Query2Particles: Knowledge Graph Reasoning with Particle Embeddingscited by 24
  21. 2021Query Embedding on Hyper-relational Knowledge Graphscited by 23
  22. 2022GammaE: Gamma Embeddings for Logical Queries on Knowledge Graphscited by 21
  23. 2022Rethinking Graph Convolutional Networks in Knowledge Graph Completioncited by 20
  24. 2022Neural-Symbolic Entangled Framework for Complex Query Answeringcited by 18
  25. 2021SMORE: Knowledge Graph Completion and Multi-hop Reasoning in Massive Knowledge Graphscited by 17
  26. 2023Wasserstein-Fisher-Rao Embedding: Logical Query Embeddings with Local Comparison and Global Transportcited by 16
  27. 2023Adapting Neural Link Predictors for Data-Efficient Complex Query Answeringcited by 13
  28. 2023EFOk-CQA: Towards Knowledge Graph Complex Query Answering beyond Set Operationcited by 12
  29. 2021Fuzzy Logic Based Logical Query Answering on Knowledge Graphscited by 11
  30. 2023Knowledge Graph Reasoning over Entities and Numerical Valuescited by 11
  31. 2023Query2Triple: Unified Query Encoding for Answering Diverse Complex Queries over Knowledge Graphscited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 0; 2026: 2.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Neural Graph Reasoning: Complex Logical Query Answering Meets Graph Databases
  2. 2025Neural-Symbolic Message Passing with Dynamic Pruning
  3. 2024Type-based Neural Link Prediction Adapter for Complex Query Answering
  4. 2025KGCompiler: Deep Learning Compilation Optimization for Knowledge Graph Complex Logical Query Answering
  5. 2022NQE: N-ary Query Embedding for Complex Query Answering over Hyper-Relational Knowledge Graphs
  6. 2023Query Structure Modeling for Inductive Logical Reasoning Over Knowledge Graphs
  7. 2022Inductive Logical Query Answering in Knowledge Graphs
  8. 2022Neural Methods for Logical Reasoning Over Knowledge Graphs