HomeAI & Machine LearningGraph Neural Network Message Passing

Graph Neural Network Message Passing

Interactive 3D simulator of message passing in a Graph Neural Network: watch node embeddings diffuse across a graph hop by hop with real symmetric-normalized aggregation, and see over-smoothing emerge as a measurable collapse in embedding diversity.

AI & Machine Learning3DAdvanced60 FPS📱 Mobile-adapted⇄ 2D version
graph-neural-network-message-passing ↗ Open standalone

Every Graph Neural Network layer runs the same core operation: each node collects and aggregates the feature vectors of its neighbors, then updates its own vector from that aggregate. This simulator renders a real graph in 3D, gives every node a 3-dimensional feature vector displayed as its color, and lets you step through real message-passing rounds — sum, mean, or the symmetric-normalized rule from Kipf & Welling's GCN — while animated pulses travel along the edges to show information actually flowing between neighbors. Live readouts track the hop count, Dirichlet energy and embedding variance, making the well-known over-smoothing effect — where deep stacks of GNN layers wash every node toward the same indistinguishable vector — directly visible and measurable rather than just described.

⚙ Under the hood

Step through real message-passing rounds on a 3D graph, watching node embeddings diffuse via sum, mean, or symmetric-normalized (GCN) aggregation, and see over-smoothing emerge as Dirichlet energy and embedding variance collapse.

graph neural networkmessage passingGCNover-smoothingdeep learninggraph theory

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)