HomeAI & Machine LearningGraph Attention Network: Node Classification

Graph Attention Network: Node Classification

Interactive 3D graph attention network: watch a GAT layer compute LeakyReLU attention scores, softmax-normalize them per neighborhood, and aggregate neighbor features into per-node class predictions.

AI & Machine Learning3DAdvanced60 FPS📱 Mobile-adapted⇄ 2D version
graph-attention-network-node-classification ↗ Open standalone

This simulator runs a real Graph Attention Network (GAT) layer over a 24-node graph laid out and rendered in 3D. Each node carries a feature vector drawn from one of three class centers; a directed k-nearest-neighbor graph connects it to its most feature-similar peers. On every parameter change the layer computes LeakyReLU attention scores for each edge, softmax-normalizes them per neighborhood exactly as in the GAT paper, aggregates neighbor features into a new representation, and classifies each node with a linear readout. Click any node to see the raw attention weights it places on its own neighbors and how concentrated (low-entropy) or diffuse (high-entropy) that attention is.

⚙ Under the hood

Interactive 3D Graph Attention Network: watch a GAT layer compute LeakyReLU attention scores, softmax-normalize them per neighborhood, and aggregate neighbor features into per-node class predictions on a live k-nearest-neighbor graph.

graph neural networkattention mechanismnode classificationGATsoftmaxmachine learning

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

What did you find?

Add reproduction steps (optional)