GraphSAGE
What it is
Samples a fixed number of neighbours and concatenates self with aggregated neighbours — inductive, so new nodes work.
When to use it
Large graphs and production recommenders where nodes keep appearing after training.
Caveats
Neighbour sampling adds variance to training and predictions, and the number of sampled nodes still grows exponentially with depth. Mean and max aggregators lose information about neighbourhood structure.
Key ideas
- Samples a fixed number of neighbours per node instead of using all of them
- Learns an aggregation function, so it generalises to unseen nodes and graphs (inductive)
- Mini-batch training makes it practical on very large graphs
Related architectures
Original paper
Inductive Representation Learning on Large Graphs (2017, arXiv)