Home Knowledge Base Graph Neural Networks (GNNs)

Graph Neural Networks (GNNs) are the deep learning architectures designed to operate on graph-structured data — where entities (nodes) and their relationships (edges) form irregular, non-Euclidean structures that cannot be processed by standard CNNs or sequence models, enabling learned representations for molecular property prediction, social network analysis, recommendation systems, circuit design, and combinatorial optimization.

Why Graphs Need Specialized Architectures

Images have regular grid structure; text has sequential structure. Graphs have arbitrary topology — varying node degrees, no natural ordering, and permutation invariance requirements. A 2D convolution kernel has no meaning on a graph. GNNs define operations that respect graph structure through message passing between connected nodes.

Message Passing Framework

All GNNs follow the message-passing paradigm: 1. Message: Each node aggregates information from its neighbors: mᵢ = AGG({hⱼ : j ∈ N(i)}) 2. Update: Each node updates its representation by combining its current state with the aggregated message: hᵢ' = UPDATE(hᵢ, mᵢ) 3. Repeat: K rounds of message passing allow information to propagate K hops through the graph.

The choice of AGG and UPDATE functions defines different GNN variants:

Common Tasks

Over-Squashing and Depth Limitations

GNNs suffer from over-squashing: information from distant nodes is compressed into fixed-size vectors through repeated aggregation. This limits the effective receptive field to 3-5 hops for most architectures. Graph Transformers (e.g., GPS, Graphormer) add global attention to supplement local message passing.

Graph Neural Networks are the deep learning paradigm that extends neural computation beyond grids and sequences — bringing the power of learned representations to the rich, irregular relational structures that describe molecules, networks, and systems.

graph neural network gnnmessage passing neuralnode classification graphgraph attention networkgraph convolution

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.