Query node High-attention neighbor Low-attention / other edges
drag to pan · scroll to zoom · click a node to select

Attention distribution α (query's neighbors, sorted)

Entropy gauge (peaked ↔ uniform)

Graph Attention Networks 2D: Attention Coefficient Visualizer

Graph Neural Networks that use a fixed sum, mean or max to combine neighbor information treat every neighbor as equally important — Graph Attention Networks (GAT) instead learn, per edge, exactly how much weight each neighbor deserves. This simulator computes real GAT attention coefficients on a small graph laid out in 2D: pick a query node and watch a live LeakyReLU-scored, softmax-normalized attention distribution light up its incoming edges and populate a sorted bar chart, switch between independently-learned attention heads, and drag the LeakyReLU slope and softmax sharpness controls to see the distribution sharpen or flatten in real time, backed by a sum-check and entropy gauge that confirm the softmax normalization on every recompute.