Formula

Graph-Level Equation for Neural Message Passing

Neural message passing operations can be implemented efficiently using sparse matrix multiplications. The graph-level equation for a basic Graph Neural Network (GNN) is:

H(k)=σ(AH(k1)Wneigh(k)+H(k1)Wself(k))H^{(k)} = \sigma(A H^{(k-1)} W^{(k)}_{neigh} + H^{(k-1)} W^{(k)}_{self})

where H(k)H^{(k)} is a matrix containing the layer-kk embeddings of all the nodes, and AA is the adjacency matrix. This formulation avoids redundant computations.

0

1

Updated 2026-05-18

Tags

Data Science