paper-with-me

홈 › Papers

Conditional Logical Message Passing Transformer for Complex Query Answering

2024-02-20 · Chongzhi Zhang, Zhiping Peng, Junhao Zheng, Qianli Ma

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.

📄 PDF Abstract BibTeX arXiv:2402.12954

Code (1)

qianlima-lab/clmpt 공식 구현 pytorch

Tasks

Complex Query AnsweringKnowledge GraphsLogical Reasoning

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Adam 설명 없음
Attention 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Multi-Head Attention 설명 없음

Similar Papers 제목 키워드 기반

Enhancing Topological Dependencies in Spatio-Temporal Graphs with Cycle Message Passing Blocks

2024-01-29 · Minho Lee, Yun Young Choi, Sun Woo Park, Seunghwan Lee 외

Graph Neural Networks (GNNs) and Transformer-based models have been increasingly adopted to learn the complex vector representations of spatio-temporal graphs, capturing intricate spatio-temporal dependencies crucial for…

Spatio-Temporal ForecastingTime Series PredictionTraffic Prediction

CIN++: Enhancing Topological Message Passing

2023-06-06 · Lorenzo Giusti, Teodora Reu, Francesco Ceccarelli, Cristian Bodnar 외

Graph Neural Networks (GNNs) have demonstrated remarkable success in learning from graph-structured data. However, they face significant limitations in expressive power, struggling with long-range interactions and lackin…

Graph ClassificationGraph Regression

PMP-Swin: Multi-Scale Patch Message Passing Swin Transformer for Retinal Disease Classification

2023-11-20 · Zhihan Yang, Zhiming Cheng, Tengjin Weng, Shucheng He 외

Retinal disease is one of the primary causes of visual impairment, and early diagnosis is essential for preventing further deterioration. Nowadays, many works have explored Transformers for diagnosing diseases due to the…

Multi-class Classification

Clifford Group Equivariant Simplicial Message Passing Networks

2024-02-15 · Cong Liu, David Ruhe, Floor Eijkelboom, Patrick Forré

We introduce Clifford Group Equivariant Simplicial Message Passing Networks, a method for steerable E(n)-equivariant message passing on simplicial complexes. Our method integrates the expressivity of Clifford group-equiv…

Graph Inductive Biases in Transformers without Message Passing

2023-05-27 · Liheng Ma, Chen Lin, Derek Lim, Adriana Romero-Soriano 외

Transformers for graph data are increasingly widely studied and successful in numerous learning tasks. Graph inductive biases are crucial for Graph Transformers, and previous works incorporate them using message-passing …

Graph ClassificationGraph RegressionInductive BiasNode Classification