What the model is trying to learn
A graph model learns by letting connected entities exchange information. Early layers capture immediate neighbours; deeper layers expand the receptive field, allowing a node or whole graph to encode increasingly broader structural context.
Mathematical lensCore logic
Most GNNs can be viewed as message passing: compute messages from neighbouring states and edge information, aggregate them with a permutation-invariant operator, then update each node representation. Architectures differ mainly in how messages are weighted, aggregated, propagated, or globally attended.