Enhancing Logical Expressiveness in Graph Neural Networks via Path-Neighbor Aggregation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yu, Han, Zhao, Xiaojuan, Li, Aiping, Chen, Kai, Liu, Ziniu, Peng, Zhichao
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911408144252928
author Yu, Han
Zhao, Xiaojuan
Li, Aiping
Chen, Kai
Liu, Ziniu
Peng, Zhichao
author_facet Yu, Han
Zhao, Xiaojuan
Li, Aiping
Chen, Kai
Liu, Ziniu
Peng, Zhichao
contents Graph neural networks (GNNs) can effectively model structural information of graphs, making them widely used in knowledge graph (KG) reasoning. However, existing studies on the expressive power of GNNs mainly focuses on simple single-relation graphs, and there is still insufficient discussion on the power of GNN to express logical rules in KGs. How to enhance the logical expressive power of GNNs is still a key issue. Motivated by this, we propose Path-Neighbor enhanced GNN (PN-GNN), a method to enhance the logical expressive power of GNN by aggregating node-neighbor embeddings on the reasoning path. First, we analyze the logical expressive power of existing GNN-based methods and point out the shortcomings of the expressive power of these methods. Then, we theoretically investigate the logical expressive power of PN-GNN, showing that it not only has strictly stronger expressive power than C-GNN but also that its $(k+1)$-hop logical expressiveness is strictly superior to that of $k$-hop. Finally, we evaluate the logical expressive power of PN-GNN on six synthetic datasets and two real-world datasets. Both theoretical analysis and extensive experiments confirm that PN-GNN enhances the expressive power of logical rules without compromising generalization, as evidenced by its competitive performance in KG reasoning tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2511_07994
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Enhancing Logical Expressiveness in Graph Neural Networks via Path-Neighbor Aggregation
Yu, Han
Zhao, Xiaojuan
Li, Aiping
Chen, Kai
Liu, Ziniu
Peng, Zhichao
Artificial Intelligence
Graph neural networks (GNNs) can effectively model structural information of graphs, making them widely used in knowledge graph (KG) reasoning. However, existing studies on the expressive power of GNNs mainly focuses on simple single-relation graphs, and there is still insufficient discussion on the power of GNN to express logical rules in KGs. How to enhance the logical expressive power of GNNs is still a key issue. Motivated by this, we propose Path-Neighbor enhanced GNN (PN-GNN), a method to enhance the logical expressive power of GNN by aggregating node-neighbor embeddings on the reasoning path. First, we analyze the logical expressive power of existing GNN-based methods and point out the shortcomings of the expressive power of these methods. Then, we theoretically investigate the logical expressive power of PN-GNN, showing that it not only has strictly stronger expressive power than C-GNN but also that its $(k+1)$-hop logical expressiveness is strictly superior to that of $k$-hop. Finally, we evaluate the logical expressive power of PN-GNN on six synthetic datasets and two real-world datasets. Both theoretical analysis and extensive experiments confirm that PN-GNN enhances the expressive power of logical rules without compromising generalization, as evidenced by its competitive performance in KG reasoning tasks.
title Enhancing Logical Expressiveness in Graph Neural Networks via Path-Neighbor Aggregation
topic Artificial Intelligence
url https://arxiv.org/abs/2511.07994